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

Disable norms on some fields of Elasticsearch indexes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: ElasticSearch
    • Labels:

      Description

      Norms are used when a string field is involved in a match query. Basically they are useless when only filters or aggregations are executed. In this case they should be disabled so that it does not consume memory for nothing.
      For example norms can be disabled on fields component and language of type issues/issue.

      https://www.elastic.co/guide/en/elasticsearch/reference/2.3/norms.html
      https://www.elastic.co/guide/en/elasticsearch/guide/current/scoring-theory.html#field-norm

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: