Interface LuceneAnalyzerTypeStep


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

    Modifier and Type
    Method
    Description
    Start a custom analyzer definition, assigning a tokenizer, and optionally char filters and token filters to the definition.
    instance(org.apache.lucene.analysis.Analyzer instance)
    Assign the given analyzer instance to this analyzer definition.
  • Method Details

    • 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(org.apache.lucene.analysis.Analyzer instance)
      Assign the given analyzer instance to this analyzer definition.
      Parameters:
      instance - The analyzer instance.
      Returns:
      The parent context, for method chaining.