7. Use Solr in Java, historical version (after 7.0.0, 5.0.0~6.6.6, before 4.10.4)

Table of Contents 1. Introduction, download and installation of Apache Solr 2. Core kernel instance, IK tokenizer, Solr (stand-alone, cluster) 3. Solr basic commands (start, stop, system information) 4. Solr’s solrconfig.xml configuration and managed.schema mode 5. Solr Admin UI operations (XML, JSON add|modify|delete|query index) 6. Solr configures DataImport to import index data and IK word […]

6. Solr configures DataImport to import index data and IK word segmentation query

Table of Contents 1. Introduction, download and installation of Apache Solr 2. Core kernel instance, IK tokenizer, Solr (stand-alone, cluster) 3. Solr basic commands (start, stop, system information) 4. Solr’s solrconfig.xml configuration and managed.schema mode 5. Solr Admin UI operations (XML, JSON add|modify|delete|query index) 6. Solr configures DataImport to import index data and IK word […]

4. Solr’s solrconfig.xml configuration and managed.schema mode

Table of Contents 1. Introduction, download and installation of Apache Solr 2. Core kernel instance, IK tokenizer, Solr (stand-alone, cluster) 3. Solr basic commands (start, stop, system information) 4. Solr’s solrconfig.xml configuration and managed.schema mode 5. Solr Admin UI operations (XML, JSON add|modify|delete|query index) 6. Solr configures DataImport to import index data and IK word […]

Detailed configuration of solr7.7 spatial query

Detailed configuration of solr7.7 spatial query Support POLYGON and MULTIPOLYGON Change solr’s default get submission to post submission, because the amount of data in the geometric polygon query may be large, make the following modifications in solrconfig.xml, find the requestDispatcher configuration section, which contains httpCaching never304=”true”. <lib dir=”${solr.install.dir:../../../..}/server/lib” regex=”jts-core-.*\.jar” /> <requestDispatcher handleSelect=”true”> <httpCaching never304=”true” /> […]

Apache Solr Velocity Template Injection RCE

Apache Solr Velocity Template Injection RCE 1. Introduction to Apache Solr Solr is an independent enterprise-level search application server. It provides an API interface similar to web-service. Users can submit XML files in a certain format to the search engine server through http requests to generate indexes, and they can also submit them through http […]

solr-8.5.1 installation and deployment

The operation of Solr requires a Java environment and needs to be deployed in a Servlet container. You can choose Jetty or Tomcat. Solr comes with a Jetty container by default, which can be easily deployed. The following will explain how to complete the deployment of Solr under Jetty and Tomcat. Preparation before deployment Go […]

Solr’s query page, index, SolrJ

Article directory 1 Solr query 1.1 Query page 1.1.1 Basic query 1.1.2 Solr search operators 1.1.3 Highlight 1.1.4 Grouping 1.1.4.1 Grouping (Field Facet) 1.1.4.2 Grouping (Date Facet) 1.2 Create index file 1.2.1 Upload files using Post 1.2.1.1 Use under Linux 1.2.1.1.1 Index XML 1.2.1.1.2 Indexing CSVs 1.2.1.1.3 Indexing JSON 1.2.1.1.4 Indexing rich documents (PDF, Word, […]

[Solved] Error log: solr failed to import data

Error log: solr failed to import data For ERROR 1045 (28000): Access denied for user [‘root’@’localhost’] When this type of error is returned, the keyword in (using password: ?) is YES or NO, the key is not whether the user exists, the password Whether it is correct or not depends on whether the user has […]

[Solved] 28. Mall – Search Solutions – Solr (16) [2]

Directory 1. Youle Selection-Highlight Display 1.1 Demand Analysis 1.2 Backend code 1.3 Front-end code 2. Analysis of search business rules 2.1 Demand Analysis 2.2 Implementation ideas 3. Query the classification list 3.1 Demand Analysis 3.2 Backend code 3.3 Front-end code 1. Youle Selection-Highlight 1.1 Requirements Analysis The keyword entered by the user is displayed in […]

[Solved] Start solr and report the error The stack size specified is too small, Specify at least 328k

solr version 8.6.3 Failed to start solr, error: Solution Modify the solr/bin/solr.in.sh file and add the following properties SOLR_JAVA_STACK_SIZE=”-Xss768k” Restart [root@dc6-80-283 solr]# bin/solr start -p 8983 -force *** [WARN] *** Your open file limit is currently 1024. It should be set to 65000 to avoid operational disruption. If you no longer wish to see this […]