Skip to content

Comments

WA-NEW-011: Remove use_dis_max from query_string queries (ES7 compatibility)#634

Open
kitcommerce wants to merge 1 commit intonextfrom
wa-new-011-es7-query-string
Open

WA-NEW-011: Remove use_dis_max from query_string queries (ES7 compatibility)#634
kitcommerce wants to merge 1 commit intonextfrom
wa-new-011-es7-query-string

Conversation

@kitcommerce
Copy link

Summary

Remove the deprecated use_dis_max option from query_string queries in ProductSearch and HelpSearch. This option was removed in Elasticsearch 7 and causes a 400 parsing_exception.

Closes #628

Client impact

None expected. use_dis_max was already the default behavior in ES5/6; removing it explicitly is a no-op for query semantics. The tie_breaker parameter (which replaces the dis_max behavior) is retained.

Verify

bundle exec ruby -Icore/test core/test/queries/workarea/search/product_search_test.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant