def set_up_for_int_field_test(self):
        """A helper function to set up the index to test the update document feature for int fields with
        different features."""
        original_doc = {
            "int_field": 1,
            "int_field_filter": 2,
            "int_field_score_modifier": 3,
            "text_field_tensor": "text field tensor",
            "_id": "1"
        }
        self.client.index(self.update_doc_index_name).add_documents(documents=[original_doc])
        self.assertEqual(1, self.client.index(self.update_doc_index_name).get_stats()["numberOfDocuments"])
A helper function to set up the index to test the update document feature for int fields with
        different features.
tests/api_tests/v1/tests/api_tests/structured_index/test_partial_update_document.py