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

Reduce size of Elasticsearch index of issues

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Two improvements:

      1. Elasticsearch should only be used to search for issue ids, then details are loaded from database. That means that the field _source can be disabled when pushing issue documents. It reduces space on disk and I/O.
        https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html
      2. the fields that are not involved in search requests must be dropped: message, checksum, effortToFix

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: