Interface LuceneAnalyzerTypeStep


  • public interface LuceneAnalyzerTypeStep
    The initial step in an analyzer definition, where the type of analyzer can be set.
    • Method Detail

      • custom

        LuceneAnalyzerTokenizerStep custom()
        Start a custom analyzer definition, assigning a tokenizer, and optionally char filters and token filters to the definition.
        Returns:
        The next step.
      • instance

        LuceneAnalysisConfigurationContext instance​(Analyzer instance)
        Assign the given analyzer instance to this analyzer definition.
        Parameters:
        instance - The analyzer instance.
        Returns:
        The parent context, for method chaining.