org.hibernate.search.analyzer.definition

## Interface LuceneAnalyzerDefinitionContext

- All Superinterfaces:
    LuceneAnalysisDefinitionRegistryBuilder
  All Known Implementing Classes:
    LuceneAnalyzerDefinitionContextImpl

      public interface LuceneAnalyzerDefinitionContext
      extends LuceneAnalysisDefinitionRegistryBuilder

  Author:
    Yoann Rodiere
  Experimental
    The specific API of this DSL is a prototype. Please let us know what you like and what you don't like, and bear in mind that this will likely change in any future version.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `LuceneAnalyzerDefinitionWithTokenizerContext` | `tokenizer(Class<? extends TokenizerFactory> factory)` Set the tokenizer to use.

    - ### Methods inherited from interface org.hibernate.search.analyzer.definition.LuceneAnalysisDefinitionRegistryBuilder

      `analyzer, normalizer`

- - ### Method Detail

    - #### tokenizer

          LuceneAnalyzerDefinitionWithTokenizerContext tokenizer(Class<? extends TokenizerFactory> factory)

      Set the tokenizer to use.
      Parameters:
        `factory` - The factory that will create the tokenizer.
      Returns:
        A context allowing to further define the analyzer.

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved