[
https://issues.apache.org/jira/browse/LUCENE-7364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward reopened LUCENE-7364:
-----------------------------------
I think you meant to resolve LUCENE-6914 [~hossman]?
> Don't use BooleanScorer for small segments
> ------------------------------------------
>
> Key: LUCENE-7364
> URL: https://issues.apache.org/jira/browse/LUCENE-7364
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
>
> If a BooleanQuery meets certain criteria (only contains disjunctions, is
> likely to match large numbers of docs) then we use a BooleanScorer to score
> groups of 1024 docs at a time. This allocates arrays of 1024 Bucket objects
> up-front. On very small segments (for example, a MemoryIndex) this is very
> wasteful of memory, particularly if the query is large or deeply-nested. We
> should avoid using a bulk scorer on these segments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]