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

Alan Woodward commented on LUCENE-8845:
---------------------------------------

Thanks for the review!

1) Good idea
2) I think this is covered by the javadocs and the 'expert' marking.  Some 
users really do need to see all expansions, and if they're aware of the 
trade-offs involved then I don't think we need any further hard caps.
3) This is a general accuracy improvement, which was only picked up when I 
added specific tests for the expansion cap.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to