SOLR Project Process

Source: Internet
Author: User
Tags xsl xsl file

SOLR is a search application server (like servers such as Tomcat, which can publish projects and handle client requests) and can be embedded into servers such as Tomcat and jetty. SOLR provides many external interfaces, so we can use SOLR for full-text search and development. WhenThe user sends an HTTP request to the SOLR application deployed in the servlet container to start indexing and searching. SOLR accepts the request, determines to use the appropriate solrrequesthandler to process the request, and then returns the corresponding result through HTTP. The SOLR application parses. XmlCreate an index for a file. After a user searches for a request for processing, data in a specific format is returned (data in. XML format is configured by default, and can be defined as JSON or XSL/XML. Take Tomcat as an example:

(1) first, after an HTTP request arrives. solrhome is found in XML, and solrhome finds multiple library files under the database. Each database has the configuration files required to generate an index. Each database is independent of each other and does not affect each other.

(2) The conf file under each core file has two major configuration files: solrconfig. XML and skeam. XML, in which solrconfig. configure the HTTP request in XML to determine which requesthandler class is used for post-order logic processing.

(3) how to obtain the XML file required for index creation by SOLR, how to obtain the XML file in the output format, and how to use the XSL file.

(4) skeam. xml needs to be called When SOLR creates an index, and skeam. xml needs to be called during query.


SOLR Project Process

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.