Class QueueIndexingService
java.lang.Object
org.exoplatform.commons.search.index.impl.QueueIndexingService
- All Implemented Interfaces:
IndexingService
Created by The eXo Platform SAS
Author : Thibault Clement
tclement@exoplatform.com
7/22/15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear the indexQueuevoidvoiddeleteOperation(IndexingOperation indexingOperation) longget the number of operations in indexQueuegetOperation(String operationId) getOperations(int offset, int limit) voidAdd a create operation to the indexing queuevoidAdd a init operation to the indexing queue to init the indexvoidAdd a update operation to the indexing queuevoidAdd a delete operation to the indexing queue
-
Constructor Details
-
QueueIndexingService
-
-
Method Details
-
init
Description copied from interface:IndexingServiceAdd a init operation to the indexing queue to init the index- Specified by:
initin interfaceIndexingService- Parameters:
connectorName- Name of the connector
-
index
Description copied from interface:IndexingServiceAdd a create operation to the indexing queue- Specified by:
indexin interfaceIndexingService- Parameters:
connectorName- Name of the connectorid- id of the document
-
reindex
Description copied from interface:IndexingServiceAdd a update operation to the indexing queue- Specified by:
reindexin interfaceIndexingService- Parameters:
connectorName- Name of the connectorid- id of the document
-
unindex
Description copied from interface:IndexingServiceAdd a delete operation to the indexing queue- Specified by:
unindexin interfaceIndexingService- Parameters:
connectorName- Name of the connectorid- id of the document
-
clearIndexingQueue
public void clearIndexingQueue()Clear the indexQueue- eXo level API
- Experimental
-
getNumberOperations
public long getNumberOperations()get the number of operations in indexQueue- Returns:
- long for number of operations
- eXo level API
- Experimental
-
getOperations
-
getOperation
-
deleteAllOperations
public void deleteAllOperations() -
deleteOperation
-