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/07/07 03:13:10 UTC

[Solr Wiki] Trivial Update of "LocalParams" by YonikSeeley

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

------------------------------------------------------------------------------
  LocalParams stands for local parameters... arguments in a Solr request that are localized and specific to a parameter.  They provide a way to add meta-data to certain argument types such as query strings.
  
  If localparams exist as prefixes to arguments.
- Assume have the existing query parameter
+ Assuming we have the existing query parameter
  {{{q=solr rocks
  }}}
  We can prefix this query string with localparams to provide more information to the query parser, for example changing the default operator type to "AND" and the default field to "title" for the lucene query parser.