org.hibernate.search.elasticsearch.analyzer.definition

## Interface ElasticsearchAnalyzerDefinitionContext

- All Known Implementing Classes:
    ElasticsearchAnalyzerDefinitionContextImpl

      public interface ElasticsearchAnalyzerDefinitionContext

  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
    --- | ---
    `ElasticsearchAnalyzerDefinitionWithTokenizerContext` | `withTokenizer(String name)` Set the tokenizer that the analyzer will use.

- - ### Method Detail

    - #### withTokenizer

          ElasticsearchAnalyzerDefinitionWithTokenizerContext withTokenizer(String name)

      Set the tokenizer that the analyzer will use.
      Parameters:
        `name` - The name of the tokenizer. There must be a corresponding tokenizer definition on the Elasticsearch server. This can be achieved by defining the tokenizer `from Hibernate Search`, by configuring the Elasticsearch server directly, or by using built-in tokenizers.
      Returns:
        A definition context allowing to define the analyzer's filters.

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