[ https://issues.apache.org/jira/browse/LUCENE-10481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510809#comment-17510809 ]
Mike Drob commented on LUCENE-10481: ------------------------------------ I _think_ the use case would be to collect facets over only the top N documents that match a query and if we're doing that search without a TopDocsCollector? I'm not entirely certain what the motivation was. Our use case that is significantly improved by this was a boolean query with several filter clauses where we only want the facet counts and don't care about the documents themselves. > FacetsCollector does not need scores when not keeping them > ---------------------------------------------------------- > > Key: LUCENE-10481 > URL: https://issues.apache.org/jira/browse/LUCENE-10481 > Project: Lucene - Core > Issue Type: Improvement > Components: modules/facet > Reporter: Mike Drob > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > FacetsCollector currently always specifies ScoreMode.COMPLETE, we could get > better performance by not requesting scores when we don't need them. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org