Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9992

Avoid long value errors and reduce index sizes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ElasticSearch
    • Labels:
      None
    • Estimate:
      Days
    • Edition:

      Description

      All fields of type keyword have doc_values enabled by default, currently. If you try to store a value longer then 32766 bytes in on of those fields, indexation will fail.

      We should change the default for doc_values to false, and only enable it, where it is explicitly needed for sorting or aggregating.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              daniel.schwarz Daniel Schwarz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: