You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/05/30 15:18:00 UTC

[jira] [Resolved] (LUCENE-8300) Add unordered-distinct IntervalsSource

     [ https://issues.apache.org/jira/browse/LUCENE-8300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward resolved LUCENE-8300.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 7.4

> Add unordered-distinct IntervalsSource
> --------------------------------------
>
>                 Key: LUCENE-8300
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8300
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>             Fix For: 7.4
>
>         Attachments: LUCENE-8300.patch, LUCENE-8300.patch
>
>
> [~mattweber] pointed out on LUCENE-8196 that {{Intervals.unordered()}} doesn't check to see if its subintervals overlap, which means that for example {{Intervals.unordered(Intervals.term("a"), Intervals.term("a"))}} would match a document with {{a}} appearing only once.  This ticket will introduce a new function, {{Intervals.unordered_distinct()}}, that ensures that all subintervals within an unordered interval do not overlap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org