title: Nest 5.6 - How to insert a document with already existing id?
body: <p>I have the following code: </p>
  
  <pre><code>IIndexResponse response = elclient.Index(appointmentHistoryRecord, i =&gt; i.Index(OperaIndexName)
                                                                           .Type(appointmentHistoryRecord.GetType())
                                                                           .Id(appointmentHistoryRecord.AppointmentId.ToString())
                                                                           .Refresh(Refresh.False));
  </code></pre>
  
  <p>The above code works just fine, but it doesn't behave how I want it to behave. What I'm trying to accomplish is insert a document with an id that already exists in the index. The new document will have the same id, but a different body.</p>
  
  <p>The code I've written will take the existing document and update it with the new body, which is something I'm trying to avoid. I want to have a new record in the index despite the document having a matching id in the index.</p>
  
  <p>Any help on how I can accomplish that would be highly appreciated.</p>