public SearchLookup(MapperService mapperService, Function<MappedFieldType, IndexFieldData<?>> fieldDataLookup, @Nullable String[] types) { docMap = new DocLookup(mapperService, fieldDataLookup, types); sourceLookup = new SourceLookup(); fieldsLookup = new FieldsLookup(mapperService, types); }
public SearchLookup(MapperService mapperService, IndexFieldDataService fieldDataService, @Nullable String[] types) { docMap = new DocLookup(mapperService, fieldDataService, types); sourceLookup = new SourceLookup(); fieldsLookup = new FieldsLookup(mapperService, types); }
public SearchLookup(MapperService mapperService, Function<MappedFieldType, IndexFieldData<?>> fieldDataLookup, @Nullable String[] types) { docMap = new DocLookup(mapperService, fieldDataLookup, types); sourceLookup = new SourceLookup(); fieldsLookup = new FieldsLookup(mapperService, types); }
public SearchLookup(MapperService mapperService, Function<MappedFieldType, IndexFieldData<?>> fieldDataLookup, @Nullable String[] types) { docMap = new DocLookup(mapperService, fieldDataLookup, types); sourceLookup = new SourceLookup(); fieldsLookup = new FieldsLookup(mapperService, types); }
public SearchLookup(MapperService mapperService, IndexFieldDataService fieldDataService, @Nullable String[] types) { ImmutableMap.Builder<String, Object> builder = ImmutableMap.builder(); docMap = new DocLookup(mapperService, fieldDataService, types); sourceLookup = new SourceLookup(); fieldsLookup = new FieldsLookup(mapperService, types); indexLookup = new IndexLookup(builder); asMap = builder.build(); }