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

QueryElevationComponent needlessly looks up document ids

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None

    Description

      The QueryElevationComponent needlessly instantiates a FieldCache and does look ups in it for every document. If we flipped things around a bit and got Lucene internal doc ids on inform() we could then simply do a much smaller and faster lookup during the sort.

      Attachments

        1. SOLR-2950.patch
          3 kB
          Yonik Seeley
        2. SOLR-2950.patch
          65 kB
          Grant Ingersoll
        3. SOLR-2950.patch
          65 kB
          Grant Ingersoll
        4. SOLR-2950.patch
          77 kB
          Grant Ingersoll

        Issue Links

          Activity

            People

              gsingers Grant Ingersoll
              gsingers Grant Ingersoll
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: