Interface IndexingService

    • Method Detail

      • isIndexingEnabled

        boolean isIndexingEnabled()
      • 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.