remove unused method

This commit is contained in:
Shay Banon 2012-12-30 17:37:46 -08:00
parent 22077d1c5f
commit 4a5b147634
1 changed files with 0 additions and 4 deletions

View File

@ -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));