Interface SnIndexerValueProvider<T>

    • Method Detail

      • getSupportedQualifierClasses

        java.util.Set<java.lang.Class<?>> getSupportedQualifierClasses()
                                                                throws SnIndexerException
        Returns the supported qualifier classes.
        Returns:
        the supported qualifier classes
        Throws:
        SnIndexerException
      • provide

        void provide​(SnIndexerContext indexerContext,
                     java.util.Collection<SnIndexerFieldWrapper> fieldWrappers,
                     T source,
                     SnDocument target)
              throws SnIndexerException
        Populates the document with values to be indexed. The fields that use the same value resolver are grouped and this method is called once for each one of these groups.
        Parameters:
        indexerContext - - the indexer context
        fieldWrappers - - the field wrappers
        source - - the source model
        target - - the target document
        Throws:
        SnIndexerException - if an error occurs