lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hadianto <>
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?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message