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

Add a created flag to IndexResponse & UpdateResponse #3154

bleskes opened this Issue Jun 9, 2013 · 2 comments


None yet
2 participants
Copy link

bleskes commented Jun 9, 2013

The new flag indicates whether the operation added the document to the index (true) or replaced an existing one (false).

@ghost ghost assigned bleskes Jun 9, 2013

bleskes added a commit to bleskes/elasticsearch that referenced this issue Jun 12, 2013

Added created flag to index related request classes.
The flag is set to true when a document is new, false when replacing an existing object.

Other minor changes:
Fixed an issue with dynamic gc deletes settings update
Added an assertThrows to ElasticsearchAssertion

Closes elastic#3084 , Closes elastic#3154

@bleskes bleskes closed this in aa85122 Jun 13, 2013


This comment has been minimized.

Copy link

synhershko commented Jun 13, 2013

Any chance to push this to 0.90 as well?


This comment has been minimized.

Copy link
Member Author

bleskes commented Jun 13, 2013

That's tricky because it breaks backward compatibility on the wire level (internal communication protocols between nodes), which needs a major version change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.