Class PreConfiguredAnalysisComponent<T>

    • Method Detail

      • get

        public T get​(IndexSettings indexSettings,
                     Environment environment,
                     java.lang.String name,
                     Settings settings)
              throws java.io.IOException
        Description copied from interface: AnalysisModule.AnalysisProvider
        Creates a new analysis provider.
        Specified by:
        get in interface AnalysisModule.AnalysisProvider<T>
        Parameters:
        indexSettings - the index settings for the index this provider is created for
        environment - the nodes environment to load resources from persistent storage
        name - the name of the analysis component
        settings - the component specific settings without context prefixes
        Returns:
        a new provider instance
        Throws:
        java.io.IOException - if an IOException occurs
      • getName

        public java.lang.String getName()
        The name of the analysis component in the API.
      • create

        protected abstract T create​(Version version)