def test_search_query_with_all_parameters(self):
        """Test SearchQuery creation with all parameters set to valid values."""
        custom_vector_query = CustomVectorQuery(
            customVector=CustomVectorQuery.CustomVector(
                content="test content",
                vector=[0.1, 0.2, 0.3, 0.4]
            )
        )
        
        hybrid_parameters = HybridParameters(
            retrievalMethod=RetrievalMethod.Disjunction,
            rankingMethod=RankingMethod.RRF,
            alpha=0.7,
            rrfK=100
        )
        
        facets = FacetsParameters(
            fields={
                "category": FieldFacetsConfiguration(type="string", maxResults=10)
            }
        )
        
        context = SearchContext(
            tensor=[SearchContextTensor(vector=[0.1, 0.2], weight=1.0)]
        )
        
        search_query = SearchQuery(
            q=custom_vector_query,
            searchableAttributes=["title", "description"],
            searchMethod=SearchMethod.HYBRID,
            limit=20,
            offset=5,
            rerankDepth=100,
            efSearch=200,
            approximate=True,
            approximateThreshold=0.85,
            showHighlights=False,
            reRanker="test_reranker",
            filter="category:electronics",
            attributesToRetrieve=["title", "price"],
            boost={"title": 1.5},
            mediaDownloadHeaders={"Authorization": "Bearer token"},
            context=context,
            textQueryPrefix="search:",
            hybridParameters=hybrid_parameters,
            facets=facets,
            trackTotalHits=True
        )
        
        # Verify key attributes
        self.assertEqual(search_query.searchMethod, SearchMethod.HYBRID)
        self.assertEqual(search_query.limit, 20)
        self.assertEqual(search_query.approximateThreshold, 0.85)
        self.assertIsNotNone(search_query.hybridParameters)
        self.assertIsNotNone(search_query.facets)
Test SearchQuery creation with all parameters set to valid values.
tests/unit_tests/marqo/tensor_search/test_api_models.py