OpenSearch/plugins
Alan Woodward a646f85a99
Ensure TokenFilters only produce single tokens when parsing synonyms (#34331)
A number of tokenfilters can produce multiple tokens at the same position.  This
is a problem when using token chains to parse synonym files, as the SynonymMap
requires that there are no stacked tokens in its input.

This commit ensures that when used to parse synonyms, these tokenfilters either produce
a single version of their input token, or that they throw an error when mappings are 
generated.  In indexes created in elasticsearch 6.x deprecation warnings are emitted in place 
of the error. 

* asciifolding and cjk_bigram produce only the folded or bigrammed token
* decompounders, synonyms and keyword_repeat are skipped
* n-grams, word-delimiter-filter, multiplexer, fingerprint and phonetic throw errors

Fixes #34298
2018-11-29 10:35:38 +00:00
..
analysis-icu Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
analysis-kuromoji Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
analysis-nori Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
analysis-phonetic Ensure TokenFilters only produce single tokens when parsing synonyms (#34331) 2018-11-29 10:35:38 +00:00
analysis-smartcn Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
analysis-stempel Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
analysis-ukrainian Upgrade to lucene-8.0.0-snapshot-67cdd21996 (#35816) 2018-11-22 15:42:59 +01:00
discovery-azure-classic Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
discovery-ec2 Removes AbstractComponent from several classes (#35566) 2018-11-16 20:50:18 +01:00
discovery-gce Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
examples fixed test 2018-10-25 08:09:45 +02:00
ingest-attachment Add a new "contains" feature (#34738) 2018-10-25 08:50:50 +03:00
ingest-geoip Core: Replace deprecated Loggers calls with LogManager. (#34691) 2018-10-29 15:52:30 -04:00
ingest-user-agent Add a new "contains" feature (#34738) 2018-10-25 08:50:50 +03:00
mapper-annotated-text Upgrade to lucene-8.0.0-snapshot-31d7dfe6b1 (#35224) 2018-11-06 11:55:23 +01:00
mapper-murmur3 Fix line longer than 140 characters in Murmur3FieldMapper 2018-10-18 10:49:23 -04:00
mapper-size Upgrade to lucene-8.0.0-snapshot-31d7dfe6b1 (#35224) 2018-11-06 11:55:23 +01:00
repository-azure Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
repository-gcs Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
repository-hdfs Remove AbstractComponent from AbstractLifecycleComponent (#35560) 2018-11-19 09:51:32 -07:00
repository-s3 Add read-only repository verification (#35731) 2018-11-23 14:45:05 +01:00
store-smb Add a new "contains" feature (#34738) 2018-10-25 08:50:50 +03:00
transport-nio Remove `TcpChannel#setSoLinger` method (#35924) 2018-11-27 09:08:14 -07:00
build.gradle Reorganize license files 2018-04-20 15:33:59 -07:00