lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriano Crestani (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3338) Flexible query parser does not support open ranges and range queries with mixed inclusive and exclusive ranges
Date Sat, 30 Jul 2011 07:10:09 GMT

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

Adriano Crestani updated LUCENE-3338:
-------------------------------------

    Attachment: LUCENE_3338_and_3343_2011_07_30.patch

I merged this patch with LUCENE-3343, since this last one had a bug that the first one fixes.

- LUCENE-3343 only was making TestQPHelper fail, since it was passing null to ParametricQueryNode.
Instead, it's now passing "*", which is later being treated by OpenRangeQueryNodeProcessor
(from LUCENE-3338).

- I added extra tests to TestNumericQueryParser and TestQPHelper to make sure we cover all
possible cases.

I haven't changed changes.txt yet, since we are not sure whether these changes will be pushed
to 3.x, it's my next task, to investigate that.

I will wait one or two days before committing this patch.

Uwe, raise your hand if you want me to hold the commit and sorry for taking over your JIRA
:)

> 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
>            Assignee: Uwe Schindler
>             Fix For: 4.0
>
>         Attachments: LUCENE_3338_and_3343_2011_07_30.patch, week9-merged-nosurround.patch,
week9-merged-nosurround_with_failing_junit.patch, week9-merged.patch, 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