def test_add_documents_without_ids(self):
        """indexes the documents and retrieves the documents with the generated IDs"""
        d1 = {
            "doc_title": "Cool Document 1",
            "field_1": "some extra info"
        }
        d2 = {
                "doc_title": "Just Your Average Doc",
                "field_X": "this is a solid doc"
            }
        res = self.client.index(self.text_index_name).add_documents([d1, d2], tensor_fields=["doc_title"])
        ids = [item["_id"] for item in res["items"]]
        assert len(ids) == 2
        assert ids[0] != ids[1]
        retrieved_d0 = self.client.index(self.text_index_name).get_document(ids[0])
        retrieved_d1 = self.client.index(self.text_index_name).get_document(ids[1])
        del retrieved_d0["_id"]
        del retrieved_d1["_id"]
        assert retrieved_d0 == d1 or retrieved_d0 == d2
        assert retrieved_d1 == d1 or retrieved_d1 == d2
indexes the documents and retrieves the documents with the generated IDs
tests/api_tests/v1/tests/api_tests/unstructured_index/test_add_documents.py