Interface SnIndexerService
-
- All Known Implementing Classes:
DefaultSnIndexerService
public interface SnIndexerServiceService for indexer operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnIndexerRequestcreateFullIndexerRequest(java.lang.String indexTypeId, SnIndexerItemSource indexerItemSource)Creates a full indexer request.SnIndexerRequestcreateIncrementalIndexerRequest(java.lang.String indexTypeId, java.util.List<SnIndexerItemSourceOperation> indexerItemSourceOperations)Creates an incremental indexer request.SnIndexerResponseindex(SnIndexerRequest indexerRequest)Starts a new indexer operation.
-
-
-
Method Detail
-
createFullIndexerRequest
SnIndexerRequest createFullIndexerRequest(java.lang.String indexTypeId, SnIndexerItemSource indexerItemSource) throws SnIndexerException
Creates a full indexer request.- Parameters:
indexTypeId- - the index type idindexerItemSource- - 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 idindexerOperationType- - the indexer operation typeindexerItemSourceOperations- - the indexer item source operations- Returns:
- the new indexer request
- Throws:
SnIndexerException- if an error occurs
-
index
SnIndexerResponse index(SnIndexerRequest indexerRequest) throws SnIndexerException
Starts a new indexer operation.- Parameters:
indexerRequest- - the indexer request- Returns:
- the indexer response
- Throws:
SnIndexerException- if an error occurs
-
-