Interface IndexingService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isIndexingEnabled()  
      void scheduleIndexedObjectDelete​(java.lang.String aliasName, java.lang.String id)
      Schedule a delete of an object from an index.
      void scheduleIndexing​(java.lang.Object object, java.lang.String tenantId)
      Schedule to index a generic object, that will pass the IndexableObjectSerializer first.
      void scheduleIndexing​(java.lang.String type, com.fasterxml.jackson.databind.node.ObjectNode dataNode, java.lang.String tenantId)
      Schedule the json directly to be indexed using the provided type.
      void scheduleUpdateByQuery​(java.lang.String mappingType, com.fasterxml.jackson.databind.node.ObjectNode updateByQueryBody)
      Schedule an update by query with an abitrary body.
    • Method Detail

      • isIndexingEnabled

        boolean isIndexingEnabled()
      • scheduleIndexing

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

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

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

        void scheduleUpdateByQuery​(java.lang.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.