[ 
https://issues.apache.org/jira/browse/LUCENE-3338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinicius Barros updated LUCENE-3338:
------------------------------------

    Attachment: week9.patch

The patch available includes week-8.patch attached to LUCENE-1768.

Open ranges now work on flexible standard query parser.

Mixed include and exclude bounds are now supported on flexible standard query 
parser.

Added junits to cover both problems.

Added the same junit tests to classic query parser.

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.

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to