def test_unstructured_unsupported_map_error(self):
        """
        Test that only the document errors out, not the whole batch
        """
        for index in [self.unstructured_default_text_index]:
            with self.subTest(index=index.type):
                # Add documents
                res = self.add_documents(
                    config=self.config,
                    add_docs_params=AddDocsParams(
                        index_name=index.name,
                        docs=[
                            {"_id": "1", "text_field": "a photo of a cat", "map_score_mods_long": {"a": 4294967295012}},
                            {"_id": "2", "text_field": "a photo of a cat", "score_mods_long": 4294967295012},
                            {"_id": "3", "text_field": "a photo of a cat", "score_mods_long": 1,
                             "unsupported_map": {"text": "hello", "number": 42}},
                            {"_id": "4", "text_field": "a photo of a cat", "score_mods_long": 1,
                             "supported_number_map": {"number": 42}},
                            {"_id": "5", "text_field": "a photo of a cat", "map_score_mods_int": {"c": 1},
                             "map_score_mods_float": {"a": 0.5}},
                        ],
                        tensor_fields=["text_field"] if isinstance(index, UnstructuredMarqoIndex) else None,
                    )
                ).dict(exclude_none=True, by_alias=True)

                # Expected
                expected = {"1": 200, "2": 200, "3": 400, "4": 200, "5": 200}
                expected_doc_3_error = {
                    "invalid_argument": "Value 'hello' for key 'text' in map field is not of type int or float."}

                # Get actual returned document add status
                actual = {item["_id"]: item["status"] for item in res["items"]}
                actual_doc3 = {res["items"][2]["code"]: res["items"][2]["error"]}

                # Assert that expected and actual status codes are equal
                self.assertEqual(expected, actual)
                self.assertIn(expected_doc_3_error["invalid_argument"], actual_doc3["invalid_argument"])

        Test that only the document errors out, not the whole batch
        
tests/integ_tests/tensor_search/integ_tests/test_dict_score_modifiers.py