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

percolate 5.x #469

Closed
cadebward opened this issue Nov 28, 2016 · 3 comments
Closed

percolate 5.x #469

cadebward opened this issue Nov 28, 2016 · 3 comments

Comments

@cadebward
Copy link

Im trying to wrap my head around the percolator in 5.x, so forgive me if I'm totally wrong, but has the percolator API been updated in this library to match ES 5.x? Seems like a few things are missing, like document_type and field.

If not, I'd love to help, just thought I'd ask before diving in.

@spalger
Copy link
Contributor

spalger commented Nov 30, 2016

In 5.x percolation is accomplished with the percolate query via the search api, so you will use client.search() along with a body similar to the examples in the es docs.

The percolate method available on the client is for the now deprecated percolator api

Sorry for the confusion. I'll add a deprecation warning to the docs and remove the examples.

@cadebward
Copy link
Author

Ah, that makes sense. Thanks for the clarification!

@spalger
Copy link
Contributor

spalger commented Dec 1, 2016

reopening as a reminder to deprecate the percolator docs

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

3 participants