[jira] [Created] (SOLR-12366) Avoid SlowAtomicReader.getLiveDocs -- it's slow

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (SOLR-12366) Avoid SlowAtomicReader.getLiveDocs -- it's slow

JIRA jira@apache.org
David Smiley created SOLR-12366:

             Summary: Avoid SlowAtomicReader.getLiveDocs -- it's slow
                 Key: SOLR-12366
                 URL: https://issues.apache.org/jira/browse/SOLR-12366
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: search
            Reporter: David Smiley
            Assignee: David Smiley

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 method.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]