Commit 04a9309bb38feb2e6b374d5a08c03e0f22b46285
1 parent
3aca96f5
Exists in
master
and in
17 other branches
Fixed tests for Elasticsearch 7 alpha 1
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
lib/searchkick/index_options.rb
... | ... | @@ -40,19 +40,19 @@ module Searchkick |
40 | 40 | tokenizer: "standard", |
41 | 41 | # synonym should come last, after stemming and shingle |
42 | 42 | # shingle must come before searchkick_stemmer |
43 | - filter: ["standard", "lowercase", "asciifolding", "searchkick_index_shingle", "searchkick_stemmer"] | |
43 | + filter: ["lowercase", "asciifolding", "searchkick_index_shingle", "searchkick_stemmer"] | |
44 | 44 | }, |
45 | 45 | searchkick_search: { |
46 | 46 | type: "custom", |
47 | 47 | char_filter: ["ampersand"], |
48 | 48 | tokenizer: "standard", |
49 | - filter: ["standard", "lowercase", "asciifolding", "searchkick_search_shingle", "searchkick_stemmer"] | |
49 | + filter: ["lowercase", "asciifolding", "searchkick_search_shingle", "searchkick_stemmer"] | |
50 | 50 | }, |
51 | 51 | searchkick_search2: { |
52 | 52 | type: "custom", |
53 | 53 | char_filter: ["ampersand"], |
54 | 54 | tokenizer: "standard", |
55 | - filter: ["standard", "lowercase", "asciifolding", "searchkick_stemmer"] | |
55 | + filter: ["lowercase", "asciifolding", "searchkick_stemmer"] | |
56 | 56 | }, |
57 | 57 | # https://github.com/leschenko/elasticsearch_autocomplete/blob/master/lib/elasticsearch_autocomplete/analyzers.rb |
58 | 58 | searchkick_autocomplete_search: { | ... | ... |