You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/09/19 14:01:00 UTC

[jira] [Resolved] (LUCENE-8421) TopScoreDocCollector.create(int) should disable exact hit counts

     [ https://issues.apache.org/jira/browse/LUCENE-8421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-8421.
----------------------------------
    Resolution: Won't Fix

We ended up addressing this need differently. TopScoreDocCollector now always takes a totalHitsThreshold.

> TopScoreDocCollector.create(int) should disable exact hit counts
> ----------------------------------------------------------------
>
>                 Key: LUCENE-8421
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8421
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-8421.patch
>
>
> We should make TopScoreDocCollector.create(int) disable exact hit counts so that users don't have to opt out to get faster queries. Users can still get exact counts by using the other factory method TopScoreDocCollector.create(int,ScoreDoc,boolean).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org