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 =
I. Building SOLR Services (standalone) simple, three-step solution1. Download solr-5.3.1.tgz, unzip the file2. Create a folder under the./SOLR-5.3.1/SERVER/SOLR directory as a place to store the core3. Copy the Conf under the./solr-5.3.1/server/solr/
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,
The order implementation has n forms, the lowest cost, the fastest response time is the targetAn index that supports n sort strategies and is considered for non-interference on-lineEach implementation, the processing of the scene is different, not
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.