According to the docs, on the Update API
The <_id>
field is required.
I have a bulk insert process which is sometimes known to insert duplicates given a particular scenario.
The ids for us, are auto generated so how does one use the Update API with Upsert functionality give this limitation in our set-up ?
Do we start generating the ids upfront and perform a simple calculation or does the API have a deterministic approach where the document can be identified using a different unique value ?
My hope was to use the DocumentPath class but under the covers, this too uses an id value.
I am using the nest sdk with c# (dotnet core 7).
Thanks for reading.