Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by naomidushay: http://wiki.apache.org/solr/CommonQueryParameters The comment on the change is: copy editing: typos, etc. ------------------------------------------------------------------------------ "fq" stands for Filter Query. - This parameter can be used to specify a [:SolrQuerySyntax: query] that can be used to restrict the super set of documents that can be returned, without influence score. It can be very useful for speeding up complex queries since they queries specified with fq are cached independently from the main query. + This parameter can be used to specify a [:SolrQuerySyntax: query] that can be used to restrict the super set of documents that can be returned, without influencing score. It can be very useful for speeding up complex queries since the queries specified with fq are cached independently from the main query. NOTE: @@ -55, +55 @@ 1. Filter Queries can be complicated boolean queries, so the above example could also be written as a single fq with two mandatory clauses...{{{ fq=+popularity:[10 TO *] +section:0 }}} - 1. Because the document sets from each filter query are cached independently. Considering the previous examples: one would want to use a single fq containing two mandatory clauses if those clauses appeared together often, and two separate fq params if they were relatively independent. + 1. The document sets from each filter query are cached independently. Thus, concerning the previous examples: use a single fq containing two mandatory clauses if those clauses appear together often, and use two separate fq params if they are relatively independent. - 1. As will all parameters: when expressed in a URL, special characters need to be [:SolrQuerySyntax#urlescaping: properly URL escaped]. + 1. As with all parameters: when expressed in a URL, special characters need to be [:SolrQuerySyntax#urlescaping: properly URL escaped]. [[Anchor(fl)]] == fl == - This parameter can be used to specify a set of fields to use to limit the amount of information in the response. When returning the results to the client, only fields in this list will be included. + This parameter can be used to specify a set of fields to return, limiting the amount of information in the response. When returning the results to the client, only fields in this list will be included. - This list can be specified as a space (or comma) separated list of field names. The string "`score`" can be used to indicate that the score of each document for the particular query should be returned as a field, and the string "`*`" can be used to indicate all stored fields the document has. + The set of fields to be returned can be specified as a space (or comma) separated list of field names. The string "`score`" can be used to indicate that the score of each document for the particular query should be returned as a field, and the string "`*`" can be used to indicate all stored fields the document has. ||||'''Examples'''||
