def test_image_search(self):
        """This test is to ensure image search works as expected
        The code paths for image and search have diverged quite a bit
        """
        hippo_image = (
            TestImageUrls.HIPPO_REALISTIC.value
        )
        doc_dict = {
            'realistic_hippo': {"loc": hippo_image,
                                "_id": 'realistic_hippo'},
            'artefact_hippo': {"field_a": "Some text about a weird forest",
                               "_id": 'artefact_hippo'}
        }

        docs = list(doc_dict.values())

        res = self.add_documents(
            config=self.config,
            add_docs_params=AddDocsParams(
                index_name=self.default_image_index,
                docs=docs,
                tensor_fields=["loc", "field_a"]
            )
        )
        res = tensor_search.search(
            text=hippo_image,
            index_name=self.default_image_index,
            result_count=5,
            config=self.config,
            search_method=SearchMethod.TENSOR)

        assert len(res['hits']) == 2
        for hit in res['hits']:
            original_doc = doc_dict[hit['_id']]
            assert len(hit['_highlights']) == 1
            highlight_field = list(hit['_highlights'][0].keys())[0]
            assert highlight_field in original_doc
            assert hit[highlight_field] == original_doc[highlight_field]
This test is to ensure image search works as expected
        The code paths for image and search have diverged quite a bit
        
tests/integ_tests/tensor_search/integ_tests/test_search_unstructured.py