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

Do not fetch non-stored fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.3
    • 7.5, 8.0
    • None
    • None

    Description

      When fl parameter is used RetrieveFieldsOptimizer keeps non-stored fields in storedFields set and therefore DocsStreamer fetches document even if no stored fields requested.

      The very simple and straightforward patch attached.

      Attachments

        1. SOLR-12598.patch
          0.6 kB
          Nikolay Khitrin

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              khitrin Nikolay Khitrin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: