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

Optimization: Fetch all "fl" values from docValues instead of stored values if possible/equivalent

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.5
    • Fix Version/s: 4.9, 6.0
    • Component/s: Response Writers
    • Labels:
      None

      Description

      When the "fl" field list mentions a list of fields that all have docValues, and they are equivalent to the stored version (not true for multiValued field due to ordering), then we can fetch the values more efficiently from docValues than from stored values. If this can't be done, might as well fetch them all from stored values when they have both (this is what happens today).

      Former title: Speed-up distributed search with high rows param or deep paging by transforming docId's to uniqueKey via memory docValues

      Originally the scope of this was just for the uniqueKey but now it's broader.

        Attachments

        1. SOLR-5478.patch
          5 kB
          Manuel Lenormand
        2. SOLR-5478.patch
          13 kB
          Manuel Lenormand
        3. SOLR-5478 smiley fl.fieldCacheFields.patch
          15 kB
          David Smiley

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                manuel lenormand Manuel Lenormand
              • Votes:
                5 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: