MultiTermQuery has a TopTermsScoringBooleanRewrite, that uses a priority queue to expand the query to the top-N terms.
currently N is hardcoded at BooleanQuery.getMaxClauseCount(), but it would be nice to be able to set this for top-N MultiTermQueries: e.g. expand a fuzzy query to at most only the 50 closest terms.
at a glance it seems one way would be to expose TopTermsScoringBooleanRewrite (it is private right now) and add a ctor to it, so a MultiTermQuery can instantiate one with its own limit.
|Assignee||Robert Muir [ rcmuir ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||Flex Branch [ 12314439 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12498735 ]||Default workflow, editable Closed status [ 12564226 ]|
|Workflow||Default workflow, editable Closed status [ 12564226 ]||jira [ 12583995 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|9d 14h 56m||1||Robert Muir||21/Feb/10 07:28|
|1174d 3h 15m||1||Uwe Schindler||10/May/13 10:43|