BaseSearchParams constructor
const
BaseSearchParams({
- String? query,
- String? similarQuery,
- String? filters,
- dynamic facetFilters,
- dynamic optionalFilters,
- dynamic numericFilters,
- dynamic tagFilters,
- bool? sumOrFiltersScores,
- List<
String> ? restrictSearchableAttributes, - List<
String> ? facets, - bool? facetingAfterDistinct,
- int? page,
- int? offset,
- int? length,
- String? aroundLatLng,
- bool? aroundLatLngViaIP,
- dynamic aroundRadius,
- dynamic aroundPrecision,
- int? minimumAroundRadius,
- List<
List< ? insideBoundingBox,double> > - List<
List< ? insidePolygon,double> > - List<
String> ? naturalLanguages, - List<
String> ? ruleContexts, - int? personalizationImpact,
- String? userToken,
- bool? getRankingInfo,
- List<
String> ? explain, - bool? synonyms,
- bool? clickAnalytics,
- bool? analytics,
- List<
String> ? analyticsTags, - bool? percentileComputation,
- 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,
});