Class ElasticSearchConfig

    • Constructor Detail

      • ElasticSearchConfig

        public ElasticSearchConfig​(org.apache.manifoldcf.core.interfaces.ConfigParams params)
        Build a set of ElasticSearchParameters by reading ConfigParams. If the value returned by ConfigParams.getParameter is null, the default value is set.
        Parameters:
        params -
    • Method Detail

      • getUniqueIndexIdentifier

        public java.lang.String getUniqueIndexIdentifier()
        Returns:
        a unique identifier for one index on one ElasticSearch instance.
      • contextToConfig

        public static final java.lang.String contextToConfig​(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext,
                                                             org.apache.manifoldcf.core.interfaces.IPostParameters variableContext,
                                                             org.apache.manifoldcf.core.interfaces.ConfigParams parameters)
                                                      throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getServerLocation

        public final java.lang.String getServerLocation()
      • getUserName

        public final java.lang.String getUserName()
      • getPassword

        public final java.lang.String getPassword()
      • getSSLKeystore

        public final org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager getSSLKeystore()
                                                                                               throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getElasticSearchSocketTimeout

        public final java.lang.String getElasticSearchSocketTimeout()
      • getElasticSearchConnectionTimeout

        public final java.lang.String getElasticSearchConnectionTimeout()
      • getIndexName

        public final java.lang.String getIndexName()
      • getIndexType

        public final java.lang.String getIndexType()
      • getUseIngestAttachment

        public final java.lang.Boolean getUseIngestAttachment()
      • getUseMapperAttachments

        public final java.lang.Boolean getUseMapperAttachments()
      • getPipelineName

        public final java.lang.String getPipelineName()
      • getContentAttributeName

        public final java.lang.String getContentAttributeName()
      • getUriAttributeName

        public final java.lang.String getUriAttributeName()
      • getCreatedDateAttributeName

        public final java.lang.String getCreatedDateAttributeName()
      • getModifiedDateAttributeName

        public final java.lang.String getModifiedDateAttributeName()
      • getIndexingDateAttributeName

        public final java.lang.String getIndexingDateAttributeName()
      • getMimeTypeAttributeName

        public final java.lang.String getMimeTypeAttributeName()