Hi
How can I create a searcher which searcher for multiplequeries.
Example
assume that I store indexes in ramdirectory named 'rdir'
let my first query query1 = "name:pradeep";
second query query2 = "age:22";
Hits hits= indSe.search(the_quer);
I know the following will return no of hits for the query query1
Hits hits = indSe.search(query1);
But how can I get hits for a compination of queries query1 AND query2.
TIA
Pradeep
--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
How can I create a searcher which searcher for multiplequeries.
Example
assume that I store indexes in ramdirectory named 'rdir'
let my first query query1 = "name:pradeep";
second query query2 = "age:22";
Hits hits= indSe.search(the_quer);
I know the following will return no of hits for the query query1
Hits hits = indSe.search(query1);
But how can I get hits for a compination of queries query1 AND query2.
TIA
Pradeep
--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>