For a scenario when you are adding documents to the Azure AI Search Vector store (using the AzureVectorStore java implementation), I noticed when the document content is not loaded successfully a message of this nature could be thrown
"Document with key 1 upload is not successfully".
This sounds grammatically incorrect. So I have updated the message to "Document with key 1 did not upload successfully".
Exact change as follows -
for (IndexingResult indexingResult : result.getResults()) {
Assert.isTrue(indexingResult.isSucceeded(),
String.format("Document with key %s did not upload successfully", indexingResult.getKey()));
}
@pivotal-cla This is an Obvious Fix.