def test_document_vectors_match_2_9(self):
        """
        Tests that document vectors match those
        of Marqo 2.9.0
        """

        for index in [self.structured_text_index_score_modifiers, self.unstructured_text_index]:
            with self.subTest(index=index.name):
                # Add documents
                self.add_documents(
                    config=self.config,
                    add_docs_params=AddDocsParams(
                        index_name=index.name,
                        docs=self.docs_list,
                        tensor_fields=["text_field_1", "text_field_2", "text_field_3"] if \
                            isinstance(index, UnstructuredMarqoIndex) else None
                    )
                )

                # Get document
                fetched_doc = tensor_search.get_document_by_id(self.config, index.name,
                                                               "doc10", show_vectors=True)
                self.assertTrue(np.allclose(fetched_doc["_tensor_facets"][0]["_embedding"],
                                 results_2_9.doc_10_embedding, atol=1e-6))

        Tests that document vectors match those
        of Marqo 2.9.0
        
tests/integ_tests/tensor_search/backwards_compat/test_search_regression.py