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

partial update instead of pulling and overwriting #79

Open
AbhiAgarwal opened this issue Oct 27, 2016 · 5 comments
Open

partial update instead of pulling and overwriting #79

AbhiAgarwal opened this issue Oct 27, 2016 · 5 comments

Comments

@AbhiAgarwal
Copy link
Member

https://www.elastic.co/guide/en/elasticsearch/guide/current/partial-updates.html

@AbhiAgarwal
Copy link
Member Author

important ^^

@AbhiAgarwal
Copy link
Member Author

https://search1.newsai.org/timeseries/instagram/mattmakingthings-2016-10-20/_update

{
"script" : "ctx._source.data.Following=163"
}

@AbhiAgarwal
Copy link
Member Author

just enabled groovy support

@AbhiAgarwal
Copy link
Member Author

it doesn't exist then

upsert or do a create

@AbhiAgarwal
Copy link
Member Author

only switch for instagram. twitter doesn't seem to have race conditions for posts/profiles

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