def _set_up_for_float_field_test(self):
        """A helper function to set up the index to test the update document feature for float fields with
        different features."""
        original_doc = {
            "float_field": 1.1,
            "float_field_filter": 2.2,
            "float_field_score_modifier": 3.3,
            "text_field_tensor": "text field tensor",
            "_id": "1"
        }
        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.structured_index_name,
            docs=[original_doc]
        ))
        self.assertEqual(1, self.monitoring.get_index_stats_by_name(self.structured_index_name).number_of_documents)
A helper function to set up the index to test the update document feature for float fields with
        different features.
tests/integ_tests/core/document/test_partial_document_update.py