lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaëtan Kesteloot (JIRA) <j...@apache.org>
Subject [jira] Created: (LUCENENET-161) RangeQuery
Date Fri, 17 Oct 2008 13:17:44 GMT
RangeQuery
----------

                 Key: LUCENENET-161
                 URL: https://issues.apache.org/jira/browse/LUCENENET-161
             Project: Lucene.Net
          Issue Type: Bug
         Environment: Windows XP, Dotnet 2.0
            Reporter: Gaëtan Kesteloot


I create à range query on price.

Datas:
Document1 => Field    name=Price  Value=90.01
Document2 => Field    name=Price  Value=91.98
Document3 => Field    name=Price  Value=105.00
Document4 => Field    name=Price  Value=121.00
Document5 => Field    name=Price  Value=126.00

When I create the range Query with name=Price LowerTerm=90.02 UpperTerm=120.00
The result return no document

IF i modify data and range Query 


Document1 => Field    name=Price  Value=090.01
Document2 => Field    name=Price  Value=091.98
Document3 => Field    name=Price  Value=105.00
Document4 => Field    name=Price  Value=121.00
Document5 => Field    name=Price  Value=126.00

When I create the range Query with name=Price LowerTerm=090.02 UpperTerm=120.00
The result return Document2 and Document3

Why the range query class cannot accept lowerterm and upperterm with different length

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message