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

Adriano Crestani commented on LUCENE-3338:
------------------------------------------

Hi, I just reviewed the patch and it looks good.

However, I have one question. It seems (haven't tested yet) that the user can 
enter [* TO *], should we support it? If we support it, it basically means 
match all terms for that field. Isn't there any other query we could use to 
match all fields like (field:*)?

I personally vote for disallowing this kind of range query.

Thoughts?

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

Reply via email to