lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Dash Confusion in QueryParser - Bug? Feature?
Date Fri, 10 Oct 2003 11:30:34 GMT
Hello,

when I search for "MS-Word" I get all the documents that contain exactly 
that word, which is good. If, however, I search for MS-Word (without the 
quotes), then the MultiFieldQueryParser restructures the query to "MS 
-Word" and I consequently get all documents that contain "MS" and not 
"Word".

Why does the MultiFieldQueryParser insert the extra blank here? Are 
there use cases, where this would make sense? Or is it a bug?

Ulrich



---------------------------------------------------------------------
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