Class CustomIndexConfiguration


  • public class CustomIndexConfiguration
    extends Object
    A custom indexing configuration based on a list of types to be indexed within this index.
    • Constructor Detail

      • CustomIndexConfiguration

        public CustomIndexConfiguration()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getCustomIndexingFilter

        public com.fasterxml.jackson.databind.JsonNode getCustomIndexingFilter()
      • setCustomIndexingFilter

        public void setCustomIndexingFilter​(com.fasterxml.jackson.databind.JsonNode customIndexingFilter)
      • getTemplateResource

        public String getTemplateResource()
      • setTemplateResource

        public void setTemplateResource​(String templateResource)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • initializeConfiguration

        public void initializeConfiguration​(IndexManager indexManager)
        Must be invoked after fully loading to be initialized. This method will also invoke the initialize method on all configured types and indexed fields.
      • getPublicName

        public String getPublicName()
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • setIndexSettings

        public void setIndexSettings​(Map<String,​Object> indexSettings)
      • hasIndexSettings

        public boolean hasIndexSettings()
      • isCustomAlias

        public boolean isCustomAlias()
      • isIndex

        public boolean isIndex()
      • getSourceIndex

        public String getSourceIndex()
      • setSourceIndex

        public void setSourceIndex​(String sourceIndex)
      • getCustomIndex

        public String getCustomIndex()
      • setCustomIndex

        public void setCustomIndex​(String customIndex)
      • getMappings

        public com.fasterxml.jackson.databind.node.ObjectNode getMappings()
      • setMappings

        public void setMappings​(com.fasterxml.jackson.databind.node.ObjectNode mappings)
      • updateFields

        public void updateFields()