public class IndexFieldDataService extends AbstractIndexComponent
Modifier and Type | Field and Description |
---|---|
static String |
FIELDDATA_CACHE_KEY |
static String |
FIELDDATA_CACHE_VALUE_NODE |
static String |
FIELDDATA_CACHE_VALUE_RESIDENT |
static String |
FIELDDATA_CACHE_VALUE_SOFT |
componentSettings, index, indexSettings, logger
Constructor and Description |
---|
IndexFieldDataService(Index index,
Settings indexSettings,
IndicesFieldDataCache indicesFieldDataCache,
CircuitBreakerService circuitBreakerService,
IndicesFieldDataCacheListener indicesFieldDataCacheListener) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clearField(String fieldName) |
<IFD extends IndexFieldData<?>> |
getForField(FieldMapper<?> mapper) |
void |
onMappingUpdate() |
void |
setIndexService(IndexService indexService) |
index, nodeName
public static final String FIELDDATA_CACHE_KEY
public static final String FIELDDATA_CACHE_VALUE_SOFT
public static final String FIELDDATA_CACHE_VALUE_NODE
public static final String FIELDDATA_CACHE_VALUE_RESIDENT
@Inject public IndexFieldDataService(Index index, @IndexSettings Settings indexSettings, IndicesFieldDataCache indicesFieldDataCache, CircuitBreakerService circuitBreakerService, IndicesFieldDataCacheListener indicesFieldDataCacheListener)
public void setIndexService(IndexService indexService)
public void clear()
public void clearField(String fieldName)
public void onMappingUpdate()
public <IFD extends IndexFieldData<?>> IFD getForField(FieldMapper<?> mapper)
Copyright © 2009–2015. All rights reserved.