lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SOLR-12366) Avoid SlowAtomicReader.getLiveDocs -- it's slow
Date Thu, 31 May 2018 15:04:00 GMT


ASF subversion and git services commented on SOLR-12366:

Commit d65f40f3852be74bf0fc5c17d8252c669ea325d8 in lucene-solr's branch refs/heads/branch_7x
from [~dsmiley]
[;h=d65f40f ]

* SOLR-12366: A slow "live docs" implementation was being used instead of a bitset.
  Affects classic faceting enum method, JSON Facets enum method, UnInvertedField faceting,
GraphTermsQParser, JoinQParser.
  Renamed SolrIndexSearcher.getLiveDocs to getLiveDocSet.

(cherry picked from commit 1e63b32)

> Avoid SlowAtomicReader.getLiveDocs -- it's slow
> -----------------------------------------------
>                 Key: SOLR-12366
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>         Attachments: SOLR-12366.patch, SOLR-12366.patch, SOLR-12366.patch, SOLR-12366.patch
> SlowAtomicReader is of course slow, and it's getLiveDocs (based on MultiBits) is slow
as it uses a binary search for each lookup.  There are various places in Solr that use SolrIndexSearcher.getSlowAtomicReader
and then get the liveDocs.  Most of these places ought to work with SolrIndexSearcher's getLiveDocs

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message