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

Change uniqueKey to use docValues and not stored field

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      This issue is about the performance improvements you can get by avoiding decompression during the first phase of a distributed search where only id and score is needed.

      The improvements will be noticed for users if the docs are large or have lots of fields in them.
      For users who don't have this scenario it shouldn't slow things done by any noticeable amounts?

      We should default the unique key field to use docValuues='true' and stored='false'

      Links to the discussion that lead to this idea:

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                varunthacker Varun Thacker
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: