lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik N S" <kart...@controlnet.co.in>
Subject DEFAULT_OPERATOR_AND
Date Wed, 17 Aug 2005 06:45:58 GMT


Hi  Lucener's

Apologies..........

I have seen forms using  'DEFAULT_OPERATOR_AND'  with  something like below

 > QueryParser parser = new QueryParser( "terms", analyzer);
 > parser.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
 > query = parser.parse(TextParameters);

How to use the DEFAULT_OPERATOR_AND  when using MultiFieldQueryParser  as
below

"query = MultiFieldQueryParser.parse("text",fields,analyzer);" ?

[ I also searched the other Form's for same but no answers.]

Thx in advance
Karthik




























WITH WARM REGARDS
HAVE A NICE DAY
[ N.S.KARTHIK]


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