Class ElasticsearchSettings


  • public class ElasticsearchSettings
    extends Object
    Elasticsearch settings.
    Since:
    Mattermost Server 4.1 (Enterprise Edition)
    Author:
    Takayuki Maruyama
    • Constructor Detail

      • ElasticsearchSettings

        public ElasticsearchSettings()
    • Method Detail

      • getConnectionUrl

        public String getConnectionUrl()
      • getUsername

        public String getUsername()
      • getPassword

        public String getPassword()
      • isEnableIndexing

        public boolean isEnableIndexing()
      • isEnableSearching

        public boolean isEnableSearching()
      • isSniff

        public boolean isSniff()
      • getPostIndexReplicas

        public int getPostIndexReplicas()
      • getPostIndexShards

        public int getPostIndexShards()
      • getAggregatePostsAfterDays

        public int getAggregatePostsAfterDays()
      • getPostsAggregatorJobStartTime

        public String getPostsAggregatorJobStartTime()
      • getIndexPrefix

        public String getIndexPrefix()
      • getLiveIndexingBatchSize

        public int getLiveIndexingBatchSize()
      • getRequestTimeoutSeconds

        public int getRequestTimeoutSeconds()
      • getBulkIndexingTimeWindowSeconds

        public int getBulkIndexingTimeWindowSeconds()
      • isEnableAutocomplete

        public boolean isEnableAutocomplete()
      • getChannelIndexReplicas

        public int getChannelIndexReplicas()
      • getChannelIndexShards

        public int getChannelIndexShards()
      • getUserIndexReplicas

        public int getUserIndexReplicas()
      • getUserIndexShards

        public int getUserIndexShards()
      • isSkipTlsVerification

        public boolean isSkipTlsVerification()
      • getTrace

        public String getTrace()
      • setConnectionUrl

        public void setConnectionUrl​(String connectionUrl)
      • setUsername

        public void setUsername​(String username)
      • setPassword

        public void setPassword​(String password)
      • setEnableIndexing

        public void setEnableIndexing​(boolean enableIndexing)
      • setEnableSearching

        public void setEnableSearching​(boolean enableSearching)
      • setSniff

        public void setSniff​(boolean sniff)
      • setPostIndexReplicas

        public void setPostIndexReplicas​(int postIndexReplicas)
      • setPostIndexShards

        public void setPostIndexShards​(int postIndexShards)
      • setAggregatePostsAfterDays

        public void setAggregatePostsAfterDays​(int aggregatePostsAfterDays)
      • setPostsAggregatorJobStartTime

        public void setPostsAggregatorJobStartTime​(String postsAggregatorJobStartTime)
      • setIndexPrefix

        public void setIndexPrefix​(String indexPrefix)
      • setLiveIndexingBatchSize

        public void setLiveIndexingBatchSize​(int liveIndexingBatchSize)
      • setRequestTimeoutSeconds

        public void setRequestTimeoutSeconds​(int requestTimeoutSeconds)
      • setBulkIndexingTimeWindowSeconds

        public void setBulkIndexingTimeWindowSeconds​(int bulkIndexingTimeWindowSeconds)
      • setEnableAutocomplete

        public void setEnableAutocomplete​(boolean enableAutocomplete)
      • setChannelIndexReplicas

        public void setChannelIndexReplicas​(int channelIndexReplicas)
      • setChannelIndexShards

        public void setChannelIndexShards​(int channelIndexShards)
      • setUserIndexReplicas

        public void setUserIndexReplicas​(int userIndexReplicas)
      • setUserIndexShards

        public void setUserIndexShards​(int userIndexShards)
      • setSkipTlsVerification

        public void setSkipTlsVerification​(boolean skipTlsVerification)
      • setTrace

        public void setTrace​(String trace)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object