Re: BooleanQuery Example

2008-06-03 Thread Ian Lea
Hi It's pretty straightforward. Create a BooleanQuery and add other queries to it e.g. BooleanQuery bq = new BooleanQuery(); TermQuery tq = new TermQuery(new Term(k, v)); RangeQuery rq = new RangeQuery(new Term(k1, v0), new Term(k1, v1),

RE: BooleanQuery Example

2008-06-03 Thread Aamir.Yaseen
Hi all, Sorry for bothering again, I am referring Lucene Documentation at http://lucene.apache.org/java/docs/queryparsersyntax.html that suggests >> If you are programmatically generating a query string and then parsing it with the query parser then you >>should seriously consider building your