mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 18:08:36 +00:00
fix typo in synonym graph filter docs
This commit is contained in:
parent
ee7c01988f
commit
ecb6df137c
@ -174,7 +174,8 @@ PUT /test_index
|
|||||||
Using `synonyms_path` to define WordNet synonyms in a file is supported
|
Using `synonyms_path` to define WordNet synonyms in a file is supported
|
||||||
as well.
|
as well.
|
||||||
|
|
||||||
=== Parsing synonym files
|
[float]
|
||||||
|
==== Parsing synonym files
|
||||||
|
|
||||||
Elasticsearch will use the token filters preceding the synonym filter
|
Elasticsearch will use the token filters preceding the synonym filter
|
||||||
in a tokenizer chain to parse the entries in a synonym file. So, for example, if a
|
in a tokenizer chain to parse the entries in a synonym file. So, for example, if a
|
||||||
@ -186,7 +187,7 @@ parsing synonyms, e.g. `asciifolding` will only produce the folded version of th
|
|||||||
token. Others, e.g. `multiplexer`, `word_delimiter_graph` or `ngram` will throw an
|
token. Others, e.g. `multiplexer`, `word_delimiter_graph` or `ngram` will throw an
|
||||||
error.
|
error.
|
||||||
|
|
||||||
WARNING:The synonym rules should not contain words that are removed by
|
WARNING: The synonym rules should not contain words that are removed by
|
||||||
a filter that appears after in the chain (a `stop` filter for instance).
|
a filter that appears after in the chain (a `stop` filter for instance).
|
||||||
Removing a term from a synonym rule breaks the matching at query time.
|
Removing a term from a synonym rule breaks the matching at query time.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user