def test_get_status_response_results_text_index(self):
        """Ensure that the number of vectors and documents is correct, with or without mappings"""
        test_cases = [
            ([
                {"title": "test-2", "content": "test"},  # 3 vectors (with multimodal_field)
                {"title": "test-2", "content": "test", "non_tensor": "test"},  # 3 vectors (with multimodal_field)
                {"title": "test"},  # 2 vectors (with multimodal_field)
                {"non_tensor": "test"}  # 0 vector
            ], None, 4, 8, "No mappings"),
            ([
                 {"title": "test-2", "content": "test"},  # 3 vectors (with multimodal_field)
                 {"title": "test-2", "content": "test", "non_tensor": "test"},  # 3 vectors (with multimodal_field)
                 {"title": "test"},  # 2 vectors (with multimodal_field)
                 {"non_tensor": "test"}  # 0 vector
            ], {"my_multi_modal_field": {"type": "multimodal_combination", "weights": {"title": 0.5, "content": 0.8}}},
             4, 8, "With mappings"),
        ]

        for documents, mappings, number_of_documents, number_of_vectors, msg in test_cases:
            self.clear_indexes([self.text_index_name])
            with self.subTest(msg):
                self.client.index(self.text_index_name).add_documents(
                    documents=documents,
                    device="cpu",
                    mappings=mappings
                )

                res = self.client.index(self.text_index_name).get_stats()
                self.assertEqual(number_of_documents, res["numberOfDocuments"])
                self.assertEqual(number_of_vectors, res["numberOfVectors"])
Ensure that the number of vectors and documents is correct, with or without mappings
tests/api_tests/v1/tests/api_tests/structured_index/test_get_stats.py