Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12366

Avoid SlowAtomicReader.getLiveDocs -- it's slow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • search
    • None

    Description

      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.

      Attachments

        1. SOLR-12366.patch
          18 kB
          David Smiley
        2. SOLR-12366.patch
          11 kB
          David Smiley
        3. SOLR-12366.patch
          10 kB
          David Smiley
        4. SOLR-12366.patch
          10 kB
          David Smiley

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: