This is an archived version of the documentation for SonarQube-6.7.
See the Latest Documentation for current functionality.

Frequently Asked Questions

How to trigger a full SonarQube ES reindex?

Currently, the only way to force a reindex is to:

  • Stop your server

  • Remove the contents of the $SQ_HOME/data/es5 directory

  • Start your server

How to remove False-Positive issues?

False-Positive and Won't Fix

You can mark individual issues as False Positive or Won't Fix through the issues interface. However, this solution doesn't work across branches - you'll have to re-mark the issue False Positive for each branch under analysis. So an in-code approach may be preferable if multiple branches of a project are under analysis:

//NOSONAR

You can use the mechanism embedded in rules engine (//NOPMD...) or the generic mechanism implemented in SonarQube: put //NOSONAR at the end of the line of the issue. This will suppress the issue.

Switch Off Issues

You can review an issue to flag it as false positive directly from the user interface.