[
https://issues.apache.org/jira/browse/LUCENE-8845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860003#comment-16860003
]
Alan Woodward commented on LUCENE-8845:
---------------------------------------
Here is a patch that adds factory methods for both prefix() and wildcard(),
along with tests and some suitably apocalyptic warnings in the associated
javadocs.
> Allow maxExpansions to be set on multi-term Intervals
> -----------------------------------------------------
>
> Key: LUCENE-8845
> URL: https://issues.apache.org/jira/browse/LUCENE-8845
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8845.patch
>
>
> MultiTermIntervalsSource has a maxExpansions parameter which is always set to
> 128 by the factory methods Intervals.prefix() and Intervals.wildcard(). We
> should keep 128 as the default, but also add additional methods that take a
> configurable maximum.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]