TrendingFacetsQuery constructor
const
TrendingFacetsQuery({
- required String indexName,
- required double threshold,
- int? maxRecommendations,
- RecommendSearchParams? queryParameters,
- required Object? facetName,
- required TrendingFacetsModel model,
- FallbackParams? fallbackParameters,
Returns a new TrendingFacetsQuery instance.
Implementation
const TrendingFacetsQuery({
required this.indexName,
required this.threshold,
this.maxRecommendations,
this.queryParameters,
required this.facetName,
required this.model,
this.fallbackParameters,
});