Class PreConfiguredAnalysisComponent<T>

    • Method Detail

      • get

        public T get​(IndexSettings indexSettings,
                     Environment environment,
                     java.lang.String name,
                     Settings settings)
        Description copied from interface: AnalysisModule.AnalysisProvider
        Creates a new analysis provider.
        Specified by:
        get in interface AnalysisModule.AnalysisProvider<T>
        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
        a new provider instance
        Throws: - 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)