In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces you what is the description of solr query parameters, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Notes on solr query parameters
Commonly used
Q-query string, required.
Fl-specifies which field contents are returned, separated by commas or spaces.
Start-returns the offset of the first record in the complete finding result, starting at 0, usually used for paging.
Rows-specifies the maximum number of records returned as a result, and works with start to achieve paging.
Sort-sort, format: sort=+ [, +]... . Example: (inStock desc, price asc) means "inStock" descending order, and then "price" ascending order. The default is correlation descending order.
Wt-(writer type) specifies the output format, which can be xml, json, php, phps. If solr 1.3 is added later, you need to notify us because it is not opened by default.
Fq-(filter query) worry query, function: in Q query match result is also fq query match, for example: q=mm&fq=date_time: [20081001 TO 20091031], find the keyword mm, and date_time is between 20081001 and 20091031. Official document: http://wiki.apache.org/solr/CommonQueryParameters#head-6522ef80f22d0e50d2f12ec487758577506d6002
Not commonly used
Q.op-overrides the defaultOperator of schema.xml (use "AND" or "OR" operation logic when there are spaces), which is generally specified by default
Df-default query field, which is generally specified by default
Qt-(query type) specifies which type to handle query requests, usually not specified, and defaults to standard.
Other
Indent-whether the returned result is indented. It is turned off by default and enabled with indent=true | on. This parameter is only necessary for debugging json,php,phps,ruby output.
Version-the version of the query syntax, which is not recommended, and the default value specified by the server.
On the solr query parameter description is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.