Interface IIndexingService<T>
- Type Parameters:
T- the object to index
public interface IIndexingService<T>
This interface enables to index any object
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes the index for all the objectsvoiddeleteIndex(T object) Delete indexvoidIndexes a objectvoidIndex a list of objects
-
Method Details
-
index
Indexes a object- Parameters:
object- the object to index- Throws:
IndexingException- if there is an exception during the indexing
-
indexList
Index a list of objects- Parameters:
listObjects- the list of objects to index- Throws:
IndexingException- if there is an exception during the indexing
-
deleteIndex
Delete index- Parameters:
object- the object to delete- Throws:
IndexingException- if there is an exception during the deletion
-
deleteAllIndexes
Deletes the index for all the objects- Throws:
IndexingException- if there is an exception during the deletion
-