Move QueryBuilder.badFieldType to FieldType class
This allows the method to be used without having a dependency on the gerrit-lucene module, which in turn has a dependency on a specific version of Lucene. Change-Id: I57e92c71260a51327ed706bd65f8f9e384e15666
This commit is contained in:
@@ -319,7 +319,7 @@ class SolrChangeIndex implements ChangeIndex, LifecycleListener {
|
||||
doc.addField(name, value);
|
||||
}
|
||||
} else {
|
||||
throw QueryBuilder.badFieldType(type);
|
||||
throw FieldType.badFieldType(type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user