Represents a result of putting a list of objects (documents or queries)
into an index. The response contains a list of OperationResult
indicating success or not of putting each of the objects into the index,
and a list of Id of the objects which are those given in the request or
allocated by the search service to those objects which do not have an
Id supplied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003ePutResponse\u003c/code\u003e represents the outcome of adding a list of objects (documents or queries) to an index, providing details on the success or failure of each object's insertion.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two key pieces of information: a list of \u003ccode\u003eOperationResult\u003c/code\u003e objects indicating the status of each put operation, and a list of the Ids associated with the objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePutResponse\u003c/code\u003e implements both \u003ccode\u003eIterable<OperationResult>\u003c/code\u003e and \u003ccode\u003eSerializable\u003c/code\u003e, meaning you can iterate through the results and serialize the response.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve an unmodifiable list of Ids using the \u003ccode\u003egetIds()\u003c/code\u003e method, and you can get an unmodifiable list of \u003ccode\u003eOperationResult\u003c/code\u003e objects using \u003ccode\u003egetResults()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are methods such as \u003ccode\u003etoString()\u003c/code\u003e and \u003ccode\u003eiterator()\u003c/code\u003e available to get a string representation of the \u003ccode\u003ePutResponse\u003c/code\u003e and to iterate over the \u003ccode\u003eOperationResult\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],[],null,[]]