BaseRecommendSearchParams constructor

const BaseRecommendSearchParams({
  1. String? similarQuery,
  2. String? filters,
  3. dynamic facetFilters,
  4. dynamic optionalFilters,
  5. dynamic numericFilters,
  6. dynamic tagFilters,
  7. bool? sumOrFiltersScores,
  8. List<String>? restrictSearchableAttributes,
  9. List<String>? facets,
  10. bool? facetingAfterDistinct,
  11. String? aroundLatLng,
  12. bool? aroundLatLngViaIP,
  13. dynamic aroundRadius,
  14. dynamic aroundPrecision,
  15. int? minimumAroundRadius,
  16. dynamic insideBoundingBox,
  17. List<List<double>>? insidePolygon,
  18. List<SupportedLanguage>? naturalLanguages,
  19. List<String>? ruleContexts,
  20. int? personalizationImpact,
  21. String? userToken,
  22. bool? getRankingInfo,
  23. bool? synonyms,
  24. bool? clickAnalytics,
  25. bool? analytics,
  26. List<String>? analyticsTags,
  27. bool? percentileComputation,
  28. bool? enableABTest,
})

Returns a new BaseRecommendSearchParams instance.

Implementation

const BaseRecommendSearchParams({
  this.similarQuery,
  this.filters,
  this.facetFilters,
  this.optionalFilters,
  this.numericFilters,
  this.tagFilters,
  this.sumOrFiltersScores,
  this.restrictSearchableAttributes,
  this.facets,
  this.facetingAfterDistinct,
  this.aroundLatLng,
  this.aroundLatLngViaIP,
  this.aroundRadius,
  this.aroundPrecision,
  this.minimumAroundRadius,
  this.insideBoundingBox,
  this.insidePolygon,
  this.naturalLanguages,
  this.ruleContexts,
  this.personalizationImpact,
  this.userToken,
  this.getRankingInfo,
  this.synonyms,
  this.clickAnalytics,
  this.analytics,
  this.analyticsTags,
  this.percentileComputation,
  this.enableABTest,
});