Class LuceneAnalysisDefinitionRegistry


  • public final class LuceneAnalysisDefinitionRegistry
    extends Object
    A registry of analysis-related definitions for Lucene.
    • Method Detail

      • getSimilarity

        public org.apache.lucene.search.similarities.Similarity getSimilarity()
      • getAnalyzerDefinition

        public org.apache.lucene.analysis.Analyzer getAnalyzerDefinition​(String name)
        Parameters:
        name - An analyzer name
        Returns:
        The analyzer definition associated with the given name, or null if there isn't any.
      • getNormalizerDefinition

        public org.apache.lucene.analysis.Analyzer getNormalizerDefinition​(String name)
        Parameters:
        name - A normalizer name
        Returns:
        The normalizer definition associated with the given name, or null if there isn't any.