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