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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.5
    • 4.9, 6.0
    • Response Writers
    • 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 smiley fl.fieldCacheFields.patch
          15 kB
          David Smiley
        2. SOLR-5478.patch
          13 kB
          Manuel Lenormand
        3. SOLR-5478.patch
          5 kB
          Manuel Lenormand

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            manuel lenormand Manuel Lenormand
            Votes:
            5 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment