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

Refresh property needs to be update to enum #2650

Closed
ejsmith opened this issue Mar 3, 2017 · 3 comments
Closed

Refresh property needs to be update to enum #2650

ejsmith opened this issue Mar 3, 2017 · 3 comments

Comments

@ejsmith
Copy link
Contributor

ejsmith commented Mar 3, 2017

I've noticed that the following 2 classes have a boolean Refresh property instead of using the Refresh enum:

DeleteByQueryRequest
UpdateByQueryRequest

@russcam
Copy link
Contributor

russcam commented Mar 3, 2017

thanks for reporting @ejsmith. They're both bool in the rest specs

checking if these should be updated.

@Mpdreamz
Copy link
Member

Mpdreamz commented Mar 3, 2017

@Mpdreamz Mpdreamz closed this as completed Mar 3, 2017
@ejsmith
Copy link
Contributor Author

ejsmith commented Mar 3, 2017

Ok, thanks for checking and sorry for the trouble.

"Sending the refresh will update all shards in the index being updated when the request completes. This is different than the Index API’s refresh parameter which causes just the shard that received the new data to be indexed."

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