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

QueryElevationComponent needlessly looks up document ids

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: