lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hadianto <vict...@nuix.com.au>
Subject QueryParser with stop/key words inside quotes
Date Sun, 13 Apr 2003 07:02:26 GMT

Lucene's QueryParsers seems to drop stop/key words even if they are enclosed 
in double quotes.

For example:

apple for tomato
--> +apple +tomato

Which is what I expected, however

"apple for tomato"
--> "apple tomato"

and "for" in between apple and tomato is conveniently dropped.

Is there a way to tell QueryParser not to drop those words if they are 
enclosed in double quotes?

Thanks,

victor


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message