I have a document type which at the time of getting Indexed has close to 60 fields. I do search, index and update operations on these documents.
My CPU consumption was just over 40 percent average before introducing one new change.
Recently i introduced a change, which at times i will be updating the indexed documents with 60 more new fields. So now in a whole 120 fields. With this new change i doubled the number of fields getting stored in each document.
Api: /_update/docId?retry_on_conflict=2
Payload: {"doc":{ "key61": "value61" , ... , "key120", "value120" }}
With this change my cpu usage is spiking over 75 percent.
Can someone help me understand what is causing this cpu spike?