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. List<List<double>>? insideBoundingBox,
  21. List<List<double>>? insidePolygon,
  22. List<String>? naturalLanguages,
  23. List<String>? ruleContexts,
  24. int? personalizationImpact,
  25. String? userToken,
  26. bool? getRankingInfo,
  27. List<String>? explain,
  28. bool? synonyms,
  29. bool? clickAnalytics,
  30. bool? analytics,
  31. List<String>? analyticsTags,
  32. bool? percentileComputation,
  33. 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.explain,
  this.synonyms,
  this.clickAnalytics,
  this.analytics,
  this.analyticsTags,
  this.percentileComputation,
  this.enableABTest,
});