1. Parameters of the Corequeryparam query
1) Q: query string, required.
2) Q.op: Overrides the Schema.xml defaultoperator (with "and" or "or" in the case of a space), which is usually specified by default.
3) DF: The default query field, typically
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:
Whether it's looking for the nearest café via a GPS-enabled smartphone, or finding friends near you through social networking sites, or looking at all the trucks that transport certain goods in a particular city, more and more people and businesses
Function
Through function query, we can use the value of the numeric domain or the function of a specific value related to the domain to score the document.How to Use
Here there are two main methods to use function query, both of which are through
RoleThe function query allows us to score the document by taking advantage of the value of the numeric field or a function of a specific value associated with the domain.How to useThere are two main ways to use function queries, both of which are
Reference:
Morelikethis
Morelikethishandler
There are two ways to implement morelikethis in SOLR:First, morelikethiscomponent and morelikethis in searchhandler appear as components and are suitable for simple applications.Second,
Online businesses are ready to use SOLR for data storage and indexing. Some of the fields must be stored in multiple words.Multivalue can implement this function.
Let's take a look at its implementation principles:Two classes related to writing
Function query can use the numeric field value or the function of a specific value related to the field to rate the document. 1. Method of Using function Query There are three main methods to use function query. All these three s methods use the
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.