lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "DisMaxRequestHandler" by HossMan
Date Mon, 22 Jun 2009 19:03:53 GMT
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
  

Mime
View raw message