RE: any documentation on creating a query without query language

2011-06-20 Thread Hiller, Dean x66079
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

Re: any documentation on creating a query without query language

2011-06-20 Thread Raf
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

any documentation on creating a query without query language

2011-06-20 Thread Hiller, Dean x66079
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