remove unused method
This commit is contained in:
parent
22077d1c5f
commit
4a5b147634
|
@ -117,10 +117,6 @@ public class TypeFieldMapper extends AbstractFieldMapper<String> implements Inte
|
||||||
return value.toString();
|
return value.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Term term(String value) {
|
|
||||||
return names().createIndexNameTerm(value);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Query termQuery(Object value, @Nullable QueryParseContext context) {
|
public Query termQuery(Object value, @Nullable QueryParseContext context) {
|
||||||
return new XConstantScoreQuery(context.cacheFilter(termFilter(value, context), null));
|
return new XConstantScoreQuery(context.cacheFilter(termFilter(value, context), null));
|
||||||
|
|
Loading…
Reference in New Issue