Thank you!
It seems to me that I managed to get it work.
Just for future reference short I attach source code. The jar should be placed
under core/lib folder:
Please let me know if you have any comments or if I got sth incorrect...
public class PrecedenceQParserPlugin extends QParserPlugin {
> In order for Solr to use this parser,
> you'll need to wrap it with a QParser and QParserPlugin
> implementations, then wire your implementation into
> solrconfig.xml.
SurroundQParserPlugin.java (api-4_0_0-BETA) can be an example of such
implementation.
http://lucene.apache.org/solr/api-4_0
In order for Solr to use this parser, you'll need to wrap it with a QParser and
QParserPlugin implementations, then wire your implementation into
solrconfig.xml. There is no current built in support for this parser in Solr
at the moment.
Erik
On Sep 10, 2012, at 09:47 , Maciej Pestka