You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/06/23 18:50:20 UTC

[jira] [Commented] (LUCENE-5074) Support open-ended NumericRangeQuery in XmlQueryParser

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

Uwe Schindler commented on LUCENE-5074:
---------------------------------------

TermRangeFilter also supports null ends! Maybe make it consistent?
                
> Support open-ended NumericRangeQuery in XmlQueryParser
> ------------------------------------------------------
>
>                 Key: LUCENE-5074
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5074
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/queryparser
>            Reporter: Mike Sokolov
>         Attachments: LUCENE-5074.patch
>
>
> There is no way to specify an open-ended numeric range query using the XML query parser syntax.  To be consistent with the usage in the NumericRangeQuery API, which accepts <code>null</code> as an indicator of a missing range endpoint, I propose interpreting an empty or missing <code>lower</code> or <code>upper</code> attribute in the XML syntax in the same way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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