removed unused field

This commit is contained in:
kimchy 2010-02-23 22:04:10 +02:00
parent 4cf1b3ed9e
commit 07d4166715
1 changed files with 1 additions and 5 deletions

View File

@ -37,9 +37,6 @@ import static org.elasticsearch.index.query.support.QueryParsers.*;
* A query parser that uses the {@link MapperService} in order to build smarter
* queries based on the mapping information.
*
* <p>Maps a logic name of a field {@link org.elasticsearch.index.mapper.FieldMapper#name()}
* into its {@link org.elasticsearch.index.mapper.FieldMapper#indexName()}.
*
* <p>Also breaks fields with [type].[name] into a boolean query that must include the type
* as well as the query on the name.
*
@ -61,7 +58,6 @@ public class MapperQueryParser extends QueryParser {
}
@Override protected Query getFieldQuery(String field, String queryText) throws ParseException {
String indexedNameField = field;
if (mapperService != null) {
MapperService.SmartNameFieldMappers fieldMappers = mapperService.smartName(field);
if (fieldMappers != null) {
@ -71,7 +67,7 @@ public class MapperQueryParser extends QueryParser {
}
}
}
return super.getFieldQuery(indexedNameField, queryText);
return super.getFieldQuery(field, queryText);
}
@Override protected Query getRangeQuery(String field, String part1, String part2, boolean inclusive) throws ParseException {