Interface LuceneAnalysisDefinitionCollector


public interface LuceneAnalysisDefinitionCollector
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collectAnalyzer(String name, org.apache.lucene.analysis.Analyzer analyzer)
    Collect an analyzer definition.
    void
    collectNormalizer(String name, org.apache.lucene.analysis.Analyzer normalizer)
    Collect a normalizer definition.
  • Method Details

    • collectAnalyzer

      void collectAnalyzer(String name, org.apache.lucene.analysis.Analyzer analyzer)
      Collect an analyzer definition.
      Parameters:
      name - The name of the definition to be registered.
      analyzer - The analyzer to be registered.
      Throws:
      SearchException - if the name is already associated with a different definition.
    • collectNormalizer

      void collectNormalizer(String name, org.apache.lucene.analysis.Analyzer normalizer)
      Collect a normalizer definition.
      Parameters:
      name - The name of the definition to be registered.
      normalizer - The normalizer to be registered.
      Throws:
      SearchException - if the name is already associated with a different definition.