lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "SolrPlugins" by GrantIngersoll
Date Thu, 19 Nov 2009 15:15:55 GMT
Dear Wiki user,

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

The "SolrPlugins" page has been changed by GrantIngersoll.


  for more info, see: SearchComponent
  ==== QParserPlugin ====
- /!\ :TODO: /!\ NEED DOCS
can be used to define customized user query processing instances of [[|QParser]]
- First, implement a subclass of [[|QParserPlugin]]
and register it in [[SolrConfigXml|solrconfig.xml]] like this:
+ First, implement a subclass of [[|QParserPlugin]].
 This consists primarily of implementing the parse() method
+ to construct the appropriate Query objects.
+ Next register it in [[SolrConfigXml|solrconfig.xml]] like this:
    <queryParser name="myqueryparser" class="my.package.MyQueryParserPlugin" />
+ See SolrQuerySyntax and it's list of useful parser implementations for examples of writing
a !QParserPlugin.
  Having done this, you can choose to use your query parser on a one-time basis using the
defType query parameter, like this:

View raw message