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

Mikhail Khludnev commented on LUCENE-9028:
------------------------------------------

I think it may go into. There are minor questions: do we need the second method 
defaulting 128? Should it accept Automaton or CompiledAutomaton? 

> Public method for MultiTermIntervalSource
> -----------------------------------------
>
>                 Key: LUCENE-9028
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9028
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>            Priority: Major
>         Attachments: LUCENE-9028.patch
>
>
> Right now we have prefix and widlcard for multiterm Intervals. Sometimes it's 
> necessary to provide terms set in a more generic way as automaton.
> {code:java}
> Intervals.multiterm(CompiledAutomaton automaton, int maxExpansions, String 
> pattern)
> {code}
> As a benefit we can handle it more efficient rather than or over terms. 
> What do you think? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to