Interface SnIndexerService

  • All Known Implementing Classes:
    DefaultSnIndexerService

    public interface SnIndexerService
    Service for indexer operations.
    • Method Detail

      • createFullIndexerRequest

        SnIndexerRequest createFullIndexerRequest​(java.lang.String indexTypeId,
                                                  SnIndexerItemSource indexerItemSource)
                                           throws SnIndexerException
        Creates a full indexer request.
        Parameters:
        indexTypeId - - the index type id
        indexerItemSource - - the indexer item source
        Returns:
        the new indexer request
        Throws:
        SnIndexerException - if an error occurs
      • createIncrementalIndexerRequest

        SnIndexerRequest createIncrementalIndexerRequest​(java.lang.String indexTypeId,
                                                         java.util.List<SnIndexerItemSourceOperation> indexerItemSourceOperations)
                                                  throws SnIndexerException
        Creates an incremental indexer request.
        Parameters:
        indexTypeId - - the index type id
        indexerOperationType - - the indexer operation type
        indexerItemSourceOperations - - the indexer item source operations
        Returns:
        the new indexer request
        Throws:
        SnIndexerException - if an error occurs