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