Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hibernate.search.annotations
Annotation Type AnalyzerDef

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

Reusable analyzer definition. An analyzer definition defines:

- one tokenizer
optionally one or more filters

Filters are applied in the order they are defined.

Reuses the Solr Tokenizer and Filter architecture.

Author:
  Emmanuel Bernard

Required Element Summary
`java.lang.String` | `name`
`TokenizerDef` | `tokenizer`

Optional Element Summary
`CharFilterDef[]` | `charFilters`
`TokenFilterDef[]` | `filters`

Element Detail

### name

    public abstract java.lang.String name

  Returns:
    Reference name to be used on {#org.hibernate.search.annotations.Analyzer}

### tokenizer

    public abstract TokenizerDef tokenizer

  Returns:
    Tokenizer used.

### charFilters

    public abstract CharFilterDef[] charFilters

  Returns:
    CharFilters used. The filters are applied in the defined order
  Default:
    {}

### filters

    public abstract TokenFilterDef[] filters

  Returns:
    Filters used. The filters are applied in the defined order
  Default:
    {}

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2006-2010 Hibernate. All Rights Reserved.