org.hibernate.search.annotations

## Annotation Type CharFilterDef

-     @Retention(value=RUNTIME)
       @Target(value={TYPE,FIELD,METHOD})
       @Documented
      public @interface CharFilterDef

  Define a `CharFilterFactory` and its parameters
  Author:
    Gustavo Fernandes

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `Class<? extends CharFilterFactory>` | `factory`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `name`
    `Parameter[]` | `params`

- - ### Element Detail

    - #### factory

          public abstract Class<? extends CharFilterFactory> factory

      Returns:
        the `TokenFilterFactory` class which shall be instantiated.

  - - #### name

          public abstract String name

      Returns:
        the name of this char filter definition. Optional when using an embedded Lucene instance, but should be provided to avoid conflicts when using a remote indexing service such as Elasticsearch.
      Default:
        ""

  - - #### params

          public abstract Parameter[] params

      Returns:
        Optional parameters passed to the `CharFilterFactory`.
      Default:
        {}

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