BaseSearchParams constructor

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

Returns a new BaseSearchParams instance.

Implementation

const BaseSearchParams({
  this.query,
  this.similarQuery,
  this.filters,
  this.facetFilters,
  this.optionalFilters,
  this.numericFilters,
  this.tagFilters,
  this.sumOrFiltersScores,
  this.restrictSearchableAttributes,
  this.facets,
  this.facetingAfterDistinct,
  this.page,
  this.offset,
  this.length,
  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,
});