[
https://issues.apache.org/jira/browse/LUCENE-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691527#comment-13691527
]
Mike Sokolov commented on LUCENE-5074:
--------------------------------------
Uwe, I believe RangeFilterBuilder already handles null ends. I have various
other local mods that I could submit if there is interest: RangeQueryBuilder
seems to be missing? Also I have a RegexpQueryBuilder I could contribute. In
the interests of consistency, I'm including similar null-accepting patches for
NumericRangeFilterBuilder (exactly like QueryBuilder), but I haven't added
RangeQueryBuilder or RegexpQueryBuilder here - seems like a separate issue.
> 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: [email protected]
For additional commands, e-mail: [email protected]