Update synonym-tokenfilter.asciidoc (#19988)

* Update synonym-tokenfilter.asciidoc

* Update synonym-tokenfilter.asciidoc
This commit is contained in:
markwalkom 2016-08-17 21:38:56 +10:00 committed by Clinton Gormley
parent 27a760f9c1
commit f556424ab9
1 changed files with 13 additions and 13 deletions

View File

@ -45,7 +45,7 @@ The following is a sample format of the file:
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
# blank lines and lines starting with pound are comments. # Blank lines and lines starting with pound are comments.
# Explicit mappings match any token sequence on the LHS of "=>" # Explicit mappings match any token sequence on the LHS of "=>"
# and replace with all alternatives on the RHS. These types of mappings # and replace with all alternatives on the RHS. These types of mappings
@ -70,7 +70,7 @@ ipod, i-pod, i pod => ipod, i-pod, i pod
# to the explicit mapping: # to the explicit mapping:
ipod, i-pod, i pod => ipod ipod, i-pod, i pod => ipod
#multiple synonym mapping entries are merged. # Multiple synonym mapping entries are merged.
foo => foo bar foo => foo bar
foo => baz foo => baz
# is equivalent to # is equivalent to
@ -96,7 +96,7 @@ configuration file (note use of `synonyms` instead of `synonyms_path`):
-------------------------------------------------- --------------------------------------------------
However, it is recommended to define large synonyms set in a file using However, it is recommended to define large synonyms set in a file using
`synonyms_path`. `synonyms_path`, because specifying them inline increases cluster size unnecessarily.
[float] [float]
==== WordNet synonyms ==== WordNet synonyms