lucene query (sql kind)

2005-01-28 Thread sunil goyal
Hello all, I want to run dynamic queries against the lucene index. Is there any native syntax available for Lucene so that I can query, by first generating the query in say an XML or SQL like format (cache this query) and then use this query over lucene index. e.g. So a lucene query syntax in

Re: lucene query (sql kind)

2005-01-28 Thread sunil goyal
:26:26 +0100, Morus Walter [EMAIL PROTECTED] wrote: sunil goyal writes: I was just trying that... QueryParser qp = new QueryParser(field AND field, new StandardAnalyzer()); Query query = qp.parse(name:\john\ AND age:[10 TO 16]); It works fine with this. Do I need to specify