Delete SQL index support

Require the secondary index to be enabled in Gerrit 2.9.  Unless
configured differently, Lucene is used for the secondary index.

Change-Id: I3d2d804170835d69ffbfef586ddc3873ea3cd1c8
This commit is contained in:
Shawn Pearce
2013-11-24 17:00:31 -08:00
parent 639f2a3081
commit d4ae3a16d5
34 changed files with 238 additions and 1217 deletions

View File

@@ -198,7 +198,7 @@ class RelatedChanges extends TabPanel {
}
});
if (Gerrit.getConfig().hasIndex() && info.mergeable()) {
if (info.mergeable()) {
StringBuilder conflictsQuery = new StringBuilder();
conflictsQuery.append("status:open");
conflictsQuery.append(" is:mergeable");