Skip to content

Commit f54c470

Browse files
andreasklingerpicandocodigo
authored andcommitted
add auto_generate_synonyms_phrase_query
1 parent 5c57b9d commit f54c470

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/elasticsearch/dsl/search/queries/query_string.rb

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class QueryString
5555
option_method :boost
5656
option_method :analyze_wildcard
5757
option_method :auto_generate_phrase_queries
58+
option_method :auto_generate_synonyms_phrase_query
5859
option_method :minimum_should_match
5960
option_method :lenient
6061
option_method :locale

spec/elasticsearch/dsl/search/queries/query_string_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
'boost',
5252
'analyze_wildcard',
5353
'auto_generate_phrase_queries',
54+
'auto_generate_synonyms_phrase_query',
5455
'minimum_should_match',
5556
'lenient',
5657
'locale',

0 commit comments

Comments
 (0)