Java full text search engine Solr

Full text search Inverted index Create an index based on the document, and then query the index to get the document. Compared with sequential query: it doesn't need so many queries (one document needs to be indexed and matched when it is found, and all queries are needed, so the efficiency is very low), and it can locate on the index, which doc ...

Posted on Fri, 15 Nov 2019 01:24:39 -0500 by dlgilbert

java common service cluster building [8] solrcloud

Solrcloud is the cluster of solr. This paper will explain how to build solrcloud cluster. 1. Preconditions Three CentOS servers The ip addresses of the three CentOS servers are 192.168.100.134, 135 and 136 respectively, and they ping each other zookeeper cluster is installed on three machines https://www.jianshu.com/p/48f142f8 ...

Posted on Fri, 08 Nov 2019 09:43:53 -0500 by PDP11

The principle of Solr and its application in the project.

As mentioned earlier, if you have installed and configured the Solr server, now let's officially use Solr in the code.1. How is Solr mainly used here? When we search for the product name keyword on the front page, we search for the corresponding product information in the Solr library, and then highlight the search keyword. 2. How is the prod ...

Posted on Mon, 21 Oct 2019 07:05:57 -0400 by SnakeO

IK Analyzer word breaker configuration of Solr4.10.2

1. Preparation Solr4.10.2 has been configured in Tomcat. See the previous blog for details.   2. Download IK word breaker Address: http://code.google.com/p/ik-analyzer/downloads/list Download IK analyzer2012ff ﹣ hf1.zip and IK analyzer2012ff ﹣ src.rar.   3. Unzip IK Analyzer 2012FF_hf1.zip and copy the jar package to the previously con ...

Posted on Mon, 21 Oct 2019 06:55:47 -0400 by zild1221

Use web filters to increase solr background login validation

The Solr background comes with no login functionality. The default access address is http://localhost:8983/solr/#/(built-in jetty runs). To add login authentication methods to the sorl background: 1. Logon authentication using the web server (e.g. jetty, tomcat) The advantage of this approach is that you don't need to write any additional code, ...

Posted on Sat, 31 Aug 2019 00:39:48 -0400 by premiso

ElasticeSearch usage (using Transport to operate ES server), add, delete, check and batch operations

Elasticsearch Search for large websites Baidu, Taobao and Jingdong 1,Lucene Lucene alone needs a lot of work to develop in-site search, which is mainly manifested in index maintenance, index performance optimization, search performance optimization and so on. Therefore, it is not recommended to use ...

Posted on Tue, 23 Jul 2019 21:21:13 -0400 by Stingus

How to use solr in projects

I have written solr series articles before, including the learning of official documents and the use of solrj, but today I want to use solr in projects, but I find it difficult to connect all the knowledge points in series. solr series of articles So today, use solr throughout the project and record the steps. objective Implementing an ar ...

Posted on Wed, 03 Jul 2019 15:50:43 -0400 by Arl8

How to Develop Elastic Search of Our Search Empire

What is a search engine? Search engine refers to a system that collects information from the Internet by using specific computer programs according to certain strategies, organizes and processes information, provides retrieval services for users, and displays relevant information to users. Search engines include full-text index, directory inde ...

Posted on Thu, 06 Jun 2019 15:21:57 -0400 by BDabrowski

Solr 6.6 creates indexes and inserts data in two ways (2)

Refer to: http://www.cnblogs.com/xiao-zhang-blogs/p/7327814.html for the construction of solr environment. 1. Solr does not support searching for Chinese, there will always be ways to add Chinese word segmentation. Chinese word segmenter: IKAnalyr, mmseg4j, etc. Chinese word segmentation refers to the division of a sequence of Chinese chara ...

Posted on Wed, 05 Jun 2019 17:09:02 -0400 by cmp241

solr awareness, linux installation, java use (including download resources)

Catalog: I. General Understanding of solr II. solr Installation 3. Deep Understanding of solr IV. Use of solr (1) Because we use Chinese, we need a Chinese analyzer. Here I use IK Analyzer 2012 FF_hf1. (2) Specify the business domain field name in schema.xml at the same time... (3) Configure replication domains in schema.xml at the same time ...

Posted on Mon, 29 Apr 2019 10:40:35 -0400 by acook