You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/09/24 18:25:06 UTC

[Solr Wiki] Update of "DisMaxRequestHandler" by ErikHatcher

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 ErikHatcher:
http://wiki.apache.org/solr/DisMaxRequestHandler

The comment on the change is:
add q.alt docs

------------------------------------------------------------------------------
  === q ===
  
  The guts of the search defining the main "query".  This is designed to be support raw input strings provided by users with no special escaping.   '+' and '-' characters are treated as "mandatory" and "prohibited" modifiers for the subsequent terms.  Text wrapped in balanced quote characters '"' are treated as phrases, any query containing an odd number of quote characters is evaluated as if there were no quote characters at all.  Wildcards in this "q" parameter are not supported.
+ 
+ === q.alt ===
+ 
+ If specified, this query will be used (and parsed by default using standard query parsing syntax) when the main q parameter is not specified or blank.  This comes in handy when you need something like a match-all-docs query (don't forget &rows=0 for that one!) in order to get collection-wise faceting counts.
  
  === qf (Query Fields) ===