コード例 #1
0
 @Override
 public SearchLookup lookup() {
   // TODO: The types should take into account the parsing context in QueryParserContext...
   if (searchLookup == null) {
     searchLookup = new SearchLookup(mapperService(), fieldData(), request.types());
   }
   return searchLookup;
 }
コード例 #2
0
 @Override
 public ObjectMapper getObjectMapper(String name) {
   return mapperService().getObjectMapper(name, request.types());
 }
コード例 #3
0
 @Override
 public MappedFieldType smartNameFieldType(String name) {
   return mapperService().smartNameFieldType(name, request.types());
 }
コード例 #4
0
 @Override
 public String[] types() {
   return request.types();
 }
コード例 #5
0
 @Override
 public boolean hasTypes() {
   return request.types() != null && request.types().length > 0;
 }