Hi,
i have some index in elasticsearch with hundred million record and i have a request that need to update a document. But some time my api update get time out.
i think about it and have some idea that whenever i get the request update, i detele the old document that need to update and insert new document with new value, is that good or not.
Thanks
That is basically what an update does so I do not see the point in splitting it into 2 operations as that would be less efficient.
It would probably be better to try and figure out why you have requests that time out. Which version of Elasticsearch are you using? What is the size and specification of your cluster? How much data do you have in it? What is the average size of your documents? What load is the cluster under when you experience timeouts?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.