[
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: [email protected]
For additional commands, e-mail: [email protected]