lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Friedman <pfried...@macromedia.com>
Subject Do range queries work?
Date Thu, 01 Nov 2001 14:46:24 GMT
Is range searching working in RC2?

I have the following documents in my index (using StandardAnalyzer):

id:doc1
age:30
FirstName:John

id:doc2
age:40
FirstName:Wendy

The following queries do not return the expected results (using QueryParser
with StandardAnalyzer):

"age:[20-35]" finds 2 documents, should find 1
"age:[35-50]" finds 2 documents, should find 1

"FirstName:[a-k]" finds 0 documents, should find 1
"FirstName:[u-z]" finds 0 documents, should find 1
"FirstName:[adam-larry]" finds 0 documents, should find 1

Thanks.

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


Mime
View raw message