Interface IndexingService

All Known Implementing Classes:
IndexingServiceImpl

public interface IndexingService
  • Method Details

    • isIndexingEnabled

      boolean isIndexingEnabled()
    • scheduleIndexing

      void scheduleIndexing(Object object, String tenantId)
      Schedule to index a generic object, that will pass the IndexableObjectSerializer first.
    • scheduleIndexing

      void scheduleIndexing(String type, com.fasterxml.jackson.databind.node.ObjectNode dataNode, String tenantId)
      Schedule the json directly to be indexed using the provided type.
    • scheduleIndexedObjectDelete

      void scheduleIndexedObjectDelete(String aliasName, String id)
      Schedule a delete of an object from an index.
    • scheduleUpdateByQuery

      void scheduleUpdateByQuery(String mappingType, com.fasterxml.jackson.databind.node.ObjectNode updateByQueryBody)
      Schedule an update by query with an abitrary body. The mappingType parameter is used to determine which indexes this will be applied to.