I recently found a functional solution for searching in a knowledge management system and found a good reference application solution for analysis. I hope that similar applications can communicate with each other.
When talking about full-text retrieval, Lucene's famous name is estimated that people on earth know that after so many years of development, peripheral applications are rich and colorful. SOLR provides a web-based solution based on Lucene
The first two articles briefly introduce the application of lucid and the core extension of SOLR. Now we will briefly look at how the interface presented to the front-end based on SOLR is implemented. This part of lucid providesSource codeSo it looks more convenient.
Last twoArticleThe content is as follows:
Analysis of front-end application of full-text search
Reprint Please specify: http://blog.csdn.net/weijonathan/article/details/40504029Today is to write about the word segmentation query.Let's take a look at the picture below.It should be said that a lot of search system will be involved in a topic; Chinese abbreviation Search, when you enter the corresponding Chinese abbreviation, will give you the corresponding Chinese phrasesAnd now there are a variety of a
In Solr, there are 3 options for real-time search①soft commit, which is actually near real-time search, cannot be completely real-time. ②realtimeget, this is real-time, but only supports queries based on the document ID. ③ and the first one are similar, just trigger softcommit. In fact, both real-time (②) and near real-time (①③) are two kinds.solr4.0 using NRT me
SOLR schema.xml default configuration after word breaker condition take ORFor example: The Volkswagen 1.6T system will automatically segment the word "VW" "1.6T" (PS: Different word breakers) will search for the results containing "VW OR 1.6T".Want to make SOLR search default to "VW and 1.6T"You only need to modify the
Apache SOLR 1.1 is the first SOLR release since joining the Apache incubator.
SOLR is a high performance full-text search Server Based on Lucene, written in java5, and easily extensible through plugins written in Java. events are added to a search collection via XML over
There are a lot of webmaster in the process of optimizing the site is very afraid of search engine, feeling search engine is king Lao Tze, all day is hiding far away, beware of search engines. In fact, the search
recently is to use SOLR to do search engines, but because of the special search, do not need word after the search results, such as search " Wang Hanxiang " will come out include Wang, John, Xiang three morphemes results, but the demand only needs to match the results of "Wa
Chinese characters, and you need to consider numbers and special characters.
Need to maintain pinyin, abbreviated two trie trees.
Scenario Two SOLR comes with suggest smart tipsSOLR, as a widely used search engine system, has built-in smart hints, called suggest modules. The module can choose to do smart hints based on the text of the cue word, and also
SOLR provides a JSON-formatted search result, but how is it called in a cross-domain scenario? We can get the SOLR search results using the JSONP provided by jquery.Scripttype= "Text/javascript"src= "./resources/js/jquery-1.8.2.min.js">Script> inputtype= "text"size= " the"value=""ID= "keyword"name= "keyword" /> i
Configure schema. xml
The format for data submission is: (latitude, longitude: Submitted to SOLR in string Mode)
For example, to search for all buildings that meet the conditions 31.254982 from the latitude longitude (121.47501, 5km:
Http: // 192.168.181.140: 8487/SOLR/loupan/select /? Q = city_id: 11 FQ = {! Geofilt Pt = 31.254982, 121.47501 sfield = latlng d
Demand:1, obtains the target URL from the database, obtains the page title body with the crawler program, joins the SOLR server;2,SOLR Server provides the front desk to do the inquiry service;3,SOLRJ do the client submission data.Note: The SOLR search efficiency is higher than that of MySQL, which has been considered w
As a search, our traditional method (positive index) starts from the key point, and then finds the specific information that can meet the search conditions in the Key Point information, both search for value through key. Lucene uses inverted indexes to search for keys. In Chinese full-text
General steps for creating an index in solrj:
1) create a solrserver object, which is used to manage indexes.
2) create a solrinputdocument object, that is, a document object, and add fields to the Document Object.
3) use the Add method of the solrserver object to add the solrinputdocument object and create an index.
4) Call The COMMIT () method of the solrserver object to submit the index.
For example:
Httpsolrserver HSS = new httpsolrserver ("http: // localhost: 8080/
Search Engine Optimization Research method: Technical Research method
Do search engine optimization, if not understand the search engine technology is not a good seoer. Understand the search
Open source search engine Toolkit
1. Lucene
Lucene is currently the most popular open-source full-text search engine toolkit. It is affiliated to the Apache Foundation and initiated by Doug Cutting, a senior full-text indexing/retrieval expert, take the name of the project as the name of his wife. Lucene is not a full-
Solrcloud is a distributed search solution based on SOLR and zookeeper.
CodeLibrary to become the distributed Deployment Solution for the next release (estimated to be 4.0. Cloud uses zookeeper as the configuration center to store distributed node information. Each node still uses an HTTP connection to obtain query results. Premise: the index has been created and split into slices, that is, shard. The foll
Although the second generation search engine is better than the first generation in terms of search speed and the extension of multiple language information, it also makes some explorations in natural language as query language. However, with the strong development of the Internet, the contradiction between the huge digital information on the Internet and the abi
Inverted index is one of the most important technologies in search engine, which can be said to be the cornerstone of search engine. It can be said that with inverted index technology, the search engine can be efficient database
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.