Class ElasticSearchIndexConfig


  • public class ElasticSearchIndexConfig
    extends Object
    XMap descriptor for configuring an index
    Author:
    Tiry
    • Constructor Detail

      • ElasticSearchIndexConfig

        public ElasticSearchIndexConfig()
    • Method Detail

      • getExcludes

        public String[] getExcludes()
      • getIncludes

        public String[] getIncludes()
      • getName

        public String getName()
      • getType

        public String getType()
      • getSettings

        public String getSettings()
      • contentOfFile

        protected String contentOfFile​(String filename)
      • getMapping

        public String getMapping()
      • getExtraMappings

        public List<String> getExtraMappings()
      • mustCreate

        public boolean mustCreate()
      • getRepositoryName

        public String getRepositoryName()
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean isEnabled)
      • isDocumentIndex

        public boolean isDocumentIndex()
        Return true if the index/mapping is associated with a Nuxeo document repository
        Since:
        7.4
      • hasExplicitWriteIndex

        public boolean hasExplicitWriteIndex()
      • writeIndexOrAlias

        public String writeIndexOrAlias()
      • manageAlias

        public boolean manageAlias()
      • newWriteIndexForAlias

        public String newWriteIndexForAlias​(String aliasName,
                                            String oldIndexName)