lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3338) Flexible query parser does not support open ranges and range queries with mixed inclusive and exclusive ranges
Date Mon, 25 Jul 2011 12:43:10 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070467#comment-13070467
] 

Uwe Schindler commented on LUCENE-3338:
---------------------------------------

bq. I found something while creating junits for the mixed include and exclude bounds. [1 TO
} will always return nothing. It seems the exclusive operator there will take precedence over
the inclusive operator. I double checked, and the NumericRangeQuery is correct, so I suppose
this is the expected behavour of NumericRangeQuery.

There is no such limitation in NRQ, can you show the issue with a NRQ-specific test case?
Maybe its a problem of the test setup?

I will for now commit the javadoc improvements and post a delta patch.

> Flexible query parser does not support open ranges and range queries with mixed inclusive
and exclusive ranges
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3338
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3338
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/queryparser
>    Affects Versions: 3.3
>            Reporter: Vinicius Barros
>             Fix For: 4.0
>
>         Attachments: week9.patch
>
>
> Flexible query parser does not support open ranges and range queries with mixed inclusive
and exclusive ranges.
> These two problems were found while developing LUCENE-1768.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message