[
https://issues.apache.org/jira/browse/LUCENE-7092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190932#comment-15190932
]
Robert Muir commented on LUCENE-7092:
-------------------------------------
This explanation doesnt make sense. The range facets in lucene are also
inclusive too. This just sounds like more brain damage from the past.
Honestly, i dont see whats difficult about this. You just add/subtract 1 to
make something exclusive. If its float/double use Math.nextUp/nextDown.
> Point range factory methods for excluded bounds
> -----------------------------------------------
>
> Key: LUCENE-7092
> URL: https://issues.apache.org/jira/browse/LUCENE-7092
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
>
> I am playing with using the new points API with elasticsearch and one
> challenge is to generate range queries whose bounds are excluded, which is
> something that was very easy with the previous numerics implementation. It is
> easy to do externally with ints, but becomes tricky with floats or ip
> addresses. Maybe we should have factory methods that take 2 additional
> booleans to allow the bounds to be excluded?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]