Hi all,

  I've got my own query parser plugin defined thanks to the queryParser tag:

<queryParser name="myqueryparser" class="my.package.MyQueryParserPlugin" />

The QParserPlugin class has got an init method like this:
public void init(NamedList args);

Where and how do I put my args to be passed to init for my query parser plugin?

I'm trying

<queryParser name="myqueryparser" class="my.package.MyQueryParserPlugin" >
<lst name="defaults">
  <str name="param1">value1</str>
   <str name="param1">value1</str>
</lst>
</queryParser>

But I'm not sure if it's the right way.

Could we also update the wiki about this?
http://wiki.apache.org/solr/SolrPlugins#QParserPlugin

Jerome.

-- 
Jerome Eteve.
http://www.eteve.net
jer...@eteve.net

Reply via email to