analysis.asciidoc 828 B

123456789101112131415161718
  1. [[index-modules-analysis]]
  2. == Analysis
  3. The index analysis module acts as a configurable registry of Analyzers
  4. that can be used in order to both break indexed (analyzed) fields when a
  5. document is indexed and process query strings. It maps to the Lucene
  6. `Analyzer`.
  7. Analyzers are (generally) composed of a single `Tokenizer` and zero or
  8. more `TokenFilters`. A set of `CharFilters` can be associated with an
  9. analyzer to process the characters prior to other analysis steps. The
  10. analysis module allows one to register `TokenFilters`, `Tokenizers` and
  11. `Analyzers` under logical names that can then be referenced either in
  12. mapping definitions or in certain APIs. The Analysis module
  13. automatically registers (*if not explicitly defined*) built in
  14. analyzers, token filters, and tokenizers.
  15. See <<analysis>> for configuration details.