Skip to content
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

Deprecated syntax #10

Closed
shrutikar opened this issue Sep 11, 2018 · 0 comments
Closed

Deprecated syntax #10

shrutikar opened this issue Sep 11, 2018 · 0 comments

Comments

@shrutikar
Copy link
Contributor

The existing phrase_search query works for elasticsearch-dsl<2.0.0
The filtered query is replaced by the bool query.
I use the following phrase query for :
elasticsearch>=6.0.0,<7.0.0
elasticsearch-dsl>=5.0.0,<6.0.0

phrase_search = [Q({"bool": { "filter": { "geo_bounding_box": { "coordinate": { "bottom_left": { "lat": bb[0], "lon": bb[1] }, "top_right": { "lat": bb[2], "lon": bb[3] } } } }, "must": { "match_all": {} } } })]

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

No branches or pull requests

1 participant