Re: Custom Query Syntax/Parser

2013-01-28 Thread Trejkaz
On Tue, Jan 29, 2013 at 3:42 AM, Andrew Gilmartin wrote: > When I first started using Lucene, Lucene's Query classes where not suitable > for use with the Visitor pattern and so I created my own query class > equivalants and other more specialized ones. Lucene's classes might have > changed since

Re: Custom Query Syntax/Parser

2013-01-28 Thread Andrew Gilmartin
Uwe Schindler wrote: there is no need to extend Lucene's QueryParser. Lucene by itself does not need a Query Parser at all and it does not use it, it is just a convenience class. If you have worked with Antlr to generate a grammar, just use it and build the final org.apache.lucene.search.Quer

RE: Custom Query Syntax/Parser

2013-01-28 Thread Uwe Schindler
Hi, there is no need to extend Lucene's QueryParser. Lucene by itself does not need a Query Parser at all and it does not use it, it is just a convenience class. If you have worked with Antlr to generate a grammar, just use it and build the final org.apache.lucene.search.Query in your code. U