-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: boost
instead of boosts
in search()
#151
Comments
boost
instead of `boosts in search()boost
instead of boosts
in search()
Thanks for reporting this, I believe this is an issue with how the client is generated, I'll get this fixed there and then close this issue afterwards. |
@sethmlarson, I have the same issue using the boosts params. Any idea when this can be fixed ? 🙏 |
Hello, please change https://github.com/elastic/enterprise-search-python/blob/main/elastic_enterprise_search/_sync/client/app_search.py#L2364 to "boosts" and anywhere else you need to. The entire API is borked when trying to use boosts as override to the current Engine settings. |
PTAL #174 |
Fixed in #175 and released in https://pypi.org/project/elastic-enterprise-search/8.10.0/. Thank you for your patience, closing. |
As per elastic app-search api docs,
boosts
is the correct param.However in this client, we have
boost
.https://github.com/elastic/enterprise-search-python/blob/main/elastic_enterprise_search/_sync/client/app_search.py#L2324
https://github.com/elastic/enterprise-search-python/blob/main/elastic_enterprise_search/_async/client/app_search.py#L2324
and in few other places. This results in the below error.
The text was updated successfully, but these errors were encountered: