classic-tokenizer.asciidoc 823 B

12345678910111213141516171819
  1. [[analysis-classic-tokenizer]]
  2. === Classic Tokenizer
  3. A tokenizer of type `classic` providing grammar based tokenizer that is
  4. a good tokenizer for English language documents. This tokenizer has
  5. heuristics for special treatment of acronyms, company names, email addresses,
  6. and internet host names. However, these rules don't always work, and
  7. the tokenizer doesn't work well for most languages other than English.
  8. The following are settings that can be set for a `classic` tokenizer
  9. type:
  10. [cols="<,<",options="header",]
  11. |=======================================================================
  12. |Setting |Description
  13. |`max_token_length` |The maximum token length. If a token is seen that
  14. exceeds this length then it is discarded. Defaults to `255`.
  15. |=======================================================================