Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/analysis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ include::analysis/overview.asciidoc[]

include::analysis/anatomy.asciidoc[]

include::analysis/testing.asciidoc[]
include::analysis/configure-text-analysis.asciidoc[]

include::analysis/analyzers.asciidoc[]

Expand Down
6 changes: 1 addition & 5 deletions docs/reference/analysis/analyzers.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ If you do not find an analyzer suitable for your needs, you can create a
<<analysis-tokenizers,tokenizer>>, and <<analysis-tokenfilters,token filters>>.


include::analyzers/configuring.asciidoc[]

include::analyzers/fingerprint-analyzer.asciidoc[]

include::analyzers/keyword-analyzer.asciidoc[]
Expand All @@ -70,6 +68,4 @@ include::analyzers/standard-analyzer.asciidoc[]

include::analyzers/stop-analyzer.asciidoc[]

include::analyzers/whitespace-analyzer.asciidoc[]

include::analyzers/custom-analyzer.asciidoc[]
include::analyzers/whitespace-analyzer.asciidoc[]
2 changes: 1 addition & 1 deletion docs/reference/analysis/analyzers/custom-analyzer.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[analysis-custom-analyzer]]
=== Custom Analyzer
=== Create a custom analyzer

When the built-in analyzers do not fulfill your needs, you can create a
`custom` analyzer which uses the appropriate combination of:
Expand Down
29 changes: 29 additions & 0 deletions docs/reference/analysis/configure-text-analysis.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[[configure-text-analysis]]
== Configure text analysis

By default, {es} uses the <<analysis-standard-analyzer,`standard` analyzer>> for
all text analysis. The `standard` analyzer gives you out-of-the-box support for
most natural languages and use cases. If you chose to use the `standard`
analyzer as-is, no further configuration is needed.

If the standard analyzer does not fit your needs, review and test {es}'s other
built-in <<analysis-analyzers,built-in analyzers>>. Built-in analyzers don't
require configuration, but some support options that can be used to adjust their
behavior. For example, you can configure the `standard` analyzer with a list of
custom stop words to remove.

If no built-in analyzer fits your needs, you can test and create a custom
analyzer. Custom analyzers involve selecting and combining different
<<analyzer-anatomy,analyzer components>>, giving you greater control over
the process.

* <<test-analyzer>>
* <<configuring-analyzers>>
* <<analysis-custom-analyzer>>


include::testing.asciidoc[]

include::analyzers/configuring.asciidoc[]

include::analyzers/custom-analyzer.asciidoc[]
3 changes: 2 additions & 1 deletion docs/reference/analysis/testing.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
== Testing analyzers
[[test-analyzer]]
=== Test an analyzer

The <<indices-analyze,`analyze` API>> is an invaluable tool for viewing the
terms produced by an analyzer. A built-in analyzer (or combination of built-in
Expand Down