Swet, thanks,
Dean
-Original Message-
From: Raf [mailto:r.ventag...@gmail.com]
Sent: Monday, June 20, 2011 11:34 AM
To: java-user@lucene.apache.org
Subject: Re: any documentation on creating a query without query language
You can always "create" your query by hand, using t
You can always "create" your query by hand, using the various Query objects.
For example:
BooleanQuery bq = new BooleanQuery();
bq.add(new TermQuery(new Term("account", myAccount)), Occur.MUST);
bq.add(new TermQuery(new Term("strategy", myStrategy)), Occur.MUST);
bq.add(new TermQuery(n
I would like to skip creating the query using the query language. Our queries
are simple and fixed
Like account = :account and strategy=:strategy and date > :date
So I would prefer maybe not to use a parser in the future sometime and am
really just wondering how.
For now, I am just going to us