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:
    ValueResolver
    • Method Detail

      • 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 document
        batchContext - - the current indexer batch context
        model - - the values should be resolved for this model instance
        Throws:
        FieldValueProviderException