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 2011/03/01 14:22:21 UTC

[Solr Wiki] Update of "SolrRelevancyFAQ" by JanHoydahl

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrRelevancyFAQ" page has been changed by JanHoydahl.
The comment on this change is: Rewritten from standard request handler into standard QParser.
http://wiki.apache.org/solr/SolrRelevancyFAQ?action=diff&rev1=17&rev2=18

--------------------------------------------------

  
  <<Anchor(standard_vs_dismax)>>
  
- == Should I use the standard or dismax request handler ==
+ == Should I use the standard or dismax Query Parser ==
- The [[StandardRequestHandler|standard]] request handler uses SolrQuerySyntax to specify the query via the '''q''' parameter, and it must be well formed or an error will be returned.  It's good for specifying exact, arbitrarily complex queries.
+ The [[SolrQuerySyntax#Default_QParserPlugin:_LuceneQParserPlugin|standard]] Query Parser uses SolrQuerySyntax to specify the query via the '''q''' parameter, and it must be well formed or an error will be returned.  It's good for specifying exact, arbitrarily complex queries.
  
- The [[DisMaxRequestHandler|dismax]] request handler has a more forgiving query parser for the '''q''' parameter, useful for directly passing in a user-supplied query string.  The other parameters make it easy to search across multiple fields using disjunctions and sloppy phrase queries to return highly relevant results.
+ The [[DisMaxQParserPlugin|dismax]] Query Parser has a more forgiving query parser for the '''q''' parameter, useful for directly passing in a user-supplied query string.  The other parameters make it easy to search across multiple fields using disjunctions and sloppy phrase queries to return highly relevant results.
  
  For servicing user-entered queries, start by using dismax.
+ 
+ <!> [[Solr3.1]] From Solr 3.1 we recommend starting with the new Extended Dismax parser enabled by '''defType=edismax'''
  
  <<Anchor(multiFieldQuery)>>