On Thu, Aug 20, 2009 at 10:16 PM, Chris Hostetter<hossman_luc...@fucit.org> wrote: > coming in Lucene 2.9 (which is what Solr 1.4 will use) is a completley new > QueryParser framework, which (i'm told) is suppose to make it much easier > to create custom query parser syntaxs,
I've quickly looked, but haven't seen this to be the case. The new query parser framework uses the same JavaCC grammar and creates intermediate objects that eventually create Lucene Query objects. >From an IBM perspective (where this parser came from), it makes it easier to add a new syntax because they have multiple back-ends (Lucene being one, probably OmniFind or other proprietary search engines being others). But from the Lucene perspective, there is only Lucene as a back-end. So if you want to try and extend the syntax of the lucene query parser, it still seems to come down to hacking on the JavaCC grammar (the hard part). -Yonik http://www.lucidimagination.com