Create a document only if its ID is new (PUT)
One step with Elastic Stack. We can help you get access.
Get something done
Create a document only if its ID is new (PUT)
with Elastic Stack
Use Elastic Stack: its Elk Stack Document API lets you create a document only if its ID is new (PUT) in a single step (PUT /{index}/_create/{id}). capabilities.work can help you get signed up and connected.
- How do I add a document with a specific ID and fail if that ID already exists?
- Can I create a new document with PUT on the _create endpoint and have it refresh immediately?
Say it to your AI assistant
- Create document {id} in {index} with PUT, failing if it already exists.
- PUT a brand-new document {id} into {index} and refresh with {refresh}.
For your developer
PUT /{index}/_create/{id} in Elk Stack Document API. Full spec on APIs.io.