lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lingaraju" <lingaraju.shambulinga...@infactindia.com>
Subject search for and condition
Date Mon, 09 Aug 2004 11:44:34 GMT
Dear  all

String line="text1 text2";
Query q = MultiFieldQueryParser.parse(line,fields,analyzer);
Hits hits = searcher.search(q);

Here search will take "text1 OR text2" Condition
How  to make searh  "text1 and  text2" Condiation

Thanks and regards
Lingaraju.T.S

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message