public interface ValueResolver<T extends ItemModel>
Implementations of this interface are responsible for resolving the values to be indexed. This interface works at the indexed property level.
TypeValueResolver| Modifier and Type | Method and Description |
|---|---|
void |
resolve(InputDocument document,
IndexerBatchContext batchContext,
java.util.Collection<IndexedProperty> indexedProperties,
T model)
Resolves the values to be indexed.
|
void resolve(InputDocument document, IndexerBatchContext batchContext, java.util.Collection<IndexedProperty> indexedProperties, T model) throws FieldValueProviderException
document - - document that will be indexed, all the resolved values should be added as fields to this documentbatchContext - - the current indexer batch contextindexedProperties - - the indexed properties that use the same value resolvermodel - - the values should be resolved for this model instanceFieldValueProviderException - if an error occursCopyright © 2018 SAP SE. All Rights Reserved.