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

Adrien Grand commented on LUCENE-10481:
---------------------------------------

I pushed an annotation to luceneutil, this triggered a good speedup for facets 
on term and boolean queries, e.g. 
http://people.apache.org/~mikemccand/lucenebench/TermDateFacets.html.

> 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
>            Assignee: Mike Drob
>            Priority: Major
>             Fix For: 8.11.2, 9.2
>
>          Time Spent: 50m
>  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.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to