OpenSearch/modules
Mayya Sharipova 148376c2c5
Add limits for ngram and shingle settings (#27211)
* Add limits for ngram and shingle settings (#27211)

Create index-level settings:
max_ngram_diff - maximum allowed difference between max_gram and min_gram in
NGramTokenFilter/NGramTokenizer. Default is 1.
max_shingle_diff - maximum allowed difference between max_shingle_size and
 min_shingle_size in ShingleTokenFilter.  Default is 3.

Throw an IllegalArgumentException when
trying to create NGramTokenFilter, NGramTokenizer, ShingleTokenFilter
where difference between max_size and min_size exceeds the settings value.

Closes #25887
2017-11-07 08:14:55 -05:00
..
aggs-matrix-stats [Tests] Fix occasional test failure due to two random values being the same 2017-10-27 12:06:16 +02:00
analysis-common Add limits for ngram and shingle settings (#27211) 2017-11-07 08:14:55 -05:00
ingest-common removed unused import 2017-10-23 10:00:54 +02:00
lang-expression Upgrade to Lucene 7.1 (#27225) 2017-11-02 13:25:33 +00:00
lang-mustache Fix update_by_query's default size parameter (#26784) 2017-09-25 16:25:27 -04:00
lang-painless Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
mapper-extras #26260 Allow ip_range to accept CIDR notation (#27192) 2017-11-03 13:34:48 -06:00
parent-join Enhances exists queries to reduce need for `_field_names` (#26930) 2017-11-01 10:46:59 +00:00
percolator Enhances exists queries to reduce need for `_field_names` (#26930) 2017-11-01 10:46:59 +00:00
reindex Avoid stack overflow on search phases 2017-10-25 22:05:46 -04:00
repository-url Remove the single argument Environment constructor (#27235) 2017-11-04 13:25:09 +00:00
transport-netty4 Fixed byte buffer leak in Netty4 request handler 2017-11-02 20:22:19 -04:00
tribe Remove Settings#getAsMap() (#26845) 2017-10-04 01:21:38 -06:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00