def _verify_document_fields(self, update_doc, get_docs_response):
        """Verify that all fields in the update document are correctly stored in the retrieved document.
        
        This helper method checks each field in the update document against the retrieved document,
        handling both simple fields and nested map fields appropriately.
        
        Args:
            update_doc: The document used in the update operation
            get_docs_response: The document retrieved from the index after update
        """
        for field, expected_value in update_doc.items():
            if field == '_id':
                continue
            if isinstance(expected_value, dict):
                # Handle map fields
                for key, value in expected_value.items():
                    flattened_field = f"{field}.{key}"
                    self.assertEqual(
                        get_docs_response[flattened_field], 
                        value, 
                        f"Field {flattened_field} value mismatch: expected {value}, got {get_docs_response[flattened_field]}"
                    )
            else:
                # Handle simple fields
                self.assertEqual(
                    get_docs_response[field], 
                    expected_value,
                    f"Field {field} value mismatch: expected {expected_value}, got {get_docs_response[field]}"
                )
Verify that all fields in the update document are correctly stored in the retrieved document.
        
        This helper method checks each field in the update document against the retrieved document,
        handling both simple fields and nested map fields appropriately.
        
        Args:
            update_doc: The document used in the update operation
            get_docs_response: The document retrieved from the index after update
        
tests/api_tests/v1/tests/api_tests/unstructured_index/test_update_documents_unstructured_index.py