]> source.dussan.org Git - sonarqube.git/commit
SONAR-11791 fix no more highlighting in component search
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 15 Mar 2019 14:56:14 +0000 (15:56 +0100)
committerSonarTech <sonartech@sonarsource.com>
Tue, 19 Mar 2019 19:21:26 +0000 (20:21 +0100)
commit34ef212d7aaf1ba58af01e42b601e9d3e8fdd814
treeb9e54d14c61f23aaf6cf61034531fe51bf502c9f
parent7d50f02b8d3441ec1ec7fc9c99ef9d5a33890d2c
SONAR-11791 fix no more highlighting in component search

higlighting requires initial value of field stored, either in source or as a stored field
Source used to be stored in the Component Idex.
To reduce impact on index size, we will make only the name field stored in the Component Index
server/sonar-server-common/src/main/java/org/sonar/server/component/index/ComponentIndexDefinition.java