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 2009/06/22 21:03:53 UTC

[Solr Wiki] Update of "DisMaxRequestHandler" by HossMan

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

The comment on the change is:
query structure

------------------------------------------------------------------------------
  
  == Query Structure ==
  
+ For each "word" in the query string, dismax builds a !DisjunctionMaxQuery object for that word across all of the fields in the `qf` param (with the appropriate boost values and a tiebreaker value set from the `tie` param).  These !DisjunctionMaxQuery objects are then put in a !BooleanQuery with the minNumberShouldMatch option set according to the `mm` param.  If any other params are specified, a larger !BooleanQuery is wrapped arround the first !BooleanQuery from the `qf` options, and the other params (`bf`, `bq`, `pf`) are added as optional clauses.  The only complex clause comes from from the `pf` param, which is a single !DisjuntionMaxQuery containing the whole query 'phrase' against each of the `pf` fields.
+ 
- /!\ :TODO: /!\ Need more detail on the query structure generated based on input
+ /!\ :TODO: /!\ Need more detail on the query structure generated based on input ... a picture would be nice.
+ 
  ----
  CategorySolrRequestHandler