Interface TypeValueResolver<T>
public interface TypeValueResolver<T>
Implementations of this interface are responsible for resolving the values to be indexed. This interface works at the type level.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidresolve(InputDocument document, IndexerBatchContext batchContext, T model) Resolves the values to be indexed.
-
Method Details
-
resolve
void resolve(InputDocument document, IndexerBatchContext batchContext, T model) throws FieldValueProviderException Resolves the values to be indexed.- Parameters:
document- - document that will be indexed, all the resolved values should be added as fields to this documentbatchContext- - the current indexer batch contextmodel- - the values should be resolved for this model instance- Throws:
FieldValueProviderException
-