def test_partial_update_should_handle_multiple_docs(self):
        """Test updating multiple documents in one request"""
        updates = [
            {
                '_id': '2',
                'int_field': 1000,
                'float_map': {'c': 99.9}
            },
            {
                '_id': '3',
                'bool_field': False,
                'int_map': {'a': 777}
            }
        ]
        res = self.config.document.partial_update_documents(updates, self.index)
        self.assertFalse(res.errors)

        # Verify updates
        doc2 = tensor_search.get_document_by_id(self.config, self.index.name, '2')
        self.assertEqual(1000, doc2['int_field'])
        self.assertEqual(99.9, doc2['float_map.c'])
        self._assert_fields_unchanged(doc2, ['int_field', 'float_map.c', 'float_map.d'])

        doc3 = tensor_search.get_document_by_id(self.config, self.index.name, '3')
        self.assertFalse(doc3['bool_field'])
        self.assertEqual(777, doc3['int_map.a'])
        self._assert_fields_unchanged(doc3, ['bool_field', 'int_map.a', 'int_map.b'])
Test updating multiple documents in one request
tests/integ_tests/core/document/test_partial_update_semi_structured.py