At present, more suitable for Java search engine construction will generally choose SOLR, the underlying operation will use SOLRJ interaction, in fact, SOLR is based on Lucene. The implementation process found that many of the Web documents on Java
FL: A list separated by commas (,). It is used to specify the list to be returned in the document results.FieldSet. The default value is"*All fields.
Deftype: Specify query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype =
FL: A list separated by commas (,). It is used to specify the list to be returned in the document results.FieldSet. The default value is"*All fields.
Deftype: Specify query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype =
FL: A comma-separated list that specifies the field set to be returned in the document results. The default value is "*", indicating all fields.Deftype: Specify the query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype = edismaxQ:
Searching in the e-commerce platform is a very important function, mainly including searching word category navigation, automatic prompt and searching sorting.
Automatic prompt: If displayed, You can automatically prompt based on the search term,
I.Dismax
1. Tie : Query and init Param for tiebreaker Value2. QF : Query and init Param for query Fields3. PF : Query and init Param for phrase boost Fields4. Pf2 : Query and init Param for bigram phrase boost Fields5. PF3 : Query and init Param
The Deftype of Solr has dismax/edismax two species, the difference between the two, see: http://blog.csdn.net/duck_genuine/article/details/8060026The following example is used to demonstrate the following scenario:There is a Web site in which the
Not only does the search for individual fields in the index work in practice. A comprehensive query is required.For example, the Book table has id,name (title), Price,summary (abstract), content (contents), we want to find a books, query the keyword
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.