[
https://issues.apache.org/jira/browse/LUCENE-8769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866782#comment-16866782
]
Adrien Grand commented on LUCENE-8769:
--------------------------------------
It feels a bit wrong to me to implement support for AND and NOT this way: the
next step I imagine will be support for OR, which shouldn't be any more
complicated than the current patch. And any combination of AND/NOT/OR clauses
can be rewritten to a combination of ranges that only have OR clauses? So it
would feel more natural to start with OR, and then possibly add support for AND
and NOT via rewrite rules.
Another thing is that this feature feels useful but maybe a bit too esoteric
for lucene/core, could we have it in the sandbox first? I suspect it'll make it
hard to reuse the packing logic but in such a case it'd probably be fine to
duplicate?
> Range Query Type With Logically Connected Ranges
> ------------------------------------------------
>
> Key: LUCENE-8769
> URL: https://issues.apache.org/jira/browse/LUCENE-8769
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Atri Sharma
> Priority: Major
> Attachments: LUCENE-8769.patch, LUCENE-8769.patch, LUCENE-8769.patch
>
>
> Today, we visit BKD tree for each range specified for PointRangeQuery. It
> would be good to have a range query type which can take multiple ranges
> logically ANDed or ORed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]