def test_context_vector_with_none_query(self):
        """Test to ensure that the context vector can be used without a query."""
        for index_name in [self.structured_index_with_random_model, self.unstructured_index_with_random_model]:
            with self.subTest(msg=index_name):
                res = tensor_search.search(text=None, config=self.config, index_name=index_name, context=SearchContext(
                    **{"tensor": [{"vector": [1, ] * self.DIMENSION, "weight": 1},
                                  {"vector": [2, ] * self.DIMENSION, "weight": 2}]}))
Test to ensure that the context vector can be used without a query.
tests/integ_tests/tensor_search/test_context_vectors_search.py