Interface IIndexingService<T>

  • Type Parameters:
    T - the object to index

    public interface IIndexingService<T>
    This interface enables to index any object
    • Method Detail

      • index

        void index​(T object)
            throws IndexingException
        Indexes a object
        Parameters:
        object - the object to index
        Throws:
        IndexingException - if there is an exception during the indexing
      • indexList

        void indexList​(List<T> listObjects)
                throws IndexingException
        Index a list of objects
        Parameters:
        listObjects - the list of objects to index
        Throws:
        IndexingException - if there is an exception during the indexing
      • deleteIndex

        void deleteIndex​(T object)
                  throws IndexingException
        Delete index
        Parameters:
        object - the object to delete
        Throws:
        IndexingException - if there is an exception during the deletion
      • deleteAllIndexes

        void deleteAllIndexes()
                       throws IndexingException
        Deletes the index for all the objects
        Throws:
        IndexingException - if there is an exception during the deletion