SearchParamsObject constructor

const SearchParamsObject({
  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,
  33. List<String>? attributesToRetrieve,
  34. List<String>? ranking,
  35. List<String>? customRanking,
  36. int? relevancyStrictness,
  37. List<String>? attributesToHighlight,
  38. List<String>? attributesToSnippet,
  39. String? highlightPreTag,
  40. String? highlightPostTag,
  41. String? snippetEllipsisText,
  42. bool? restrictHighlightAndSnippetArrays,
  43. int? hitsPerPage,
  44. int? minWordSizefor1Typo,
  45. int? minWordSizefor2Typos,
  46. dynamic typoTolerance,
  47. bool? allowTyposOnNumericTokens,
  48. List<String>? disableTypoToleranceOnAttributes,
  49. dynamic ignorePlurals,
  50. dynamic removeStopWords,
  51. String? keepDiacriticsOnCharacters,
  52. List<SupportedLanguage>? queryLanguages,
  53. bool? decompoundQuery,
  54. bool? enableRules,
  55. bool? enablePersonalization,
  56. QueryType? queryType,
  57. RemoveWordsIfNoResults? removeWordsIfNoResults,
  58. Mode? mode,
  59. SemanticSearch? semanticSearch,
  60. bool? advancedSyntax,
  61. dynamic optionalWords,
  62. List<String>? disableExactOnAttributes,
  63. ExactOnSingleWordQuery? exactOnSingleWordQuery,
  64. List<AlternativesAsExact>? alternativesAsExact,
  65. List<AdvancedSyntaxFeatures>? advancedSyntaxFeatures,
  66. dynamic distinct,
  67. bool? replaceSynonymsInHighlight,
  68. int? minProximity,
  69. List<String>? responseFields,
  70. int? maxValuesPerFacet,
  71. String? sortFacetValuesBy,
  72. bool? attributeCriteriaComputedByMinProximity,
  73. RenderingContent? renderingContent,
  74. bool? enableReRanking,
  75. dynamic reRankingApplyFilter,
})

Returns a new SearchParamsObject instance.

Implementation

const SearchParamsObject({
  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,
  this.attributesToRetrieve,
  this.ranking,
  this.customRanking,
  this.relevancyStrictness,
  this.attributesToHighlight,
  this.attributesToSnippet,
  this.highlightPreTag,
  this.highlightPostTag,
  this.snippetEllipsisText,
  this.restrictHighlightAndSnippetArrays,
  this.hitsPerPage,
  this.minWordSizefor1Typo,
  this.minWordSizefor2Typos,
  this.typoTolerance,
  this.allowTyposOnNumericTokens,
  this.disableTypoToleranceOnAttributes,
  this.ignorePlurals,
  this.removeStopWords,
  this.keepDiacriticsOnCharacters,
  this.queryLanguages,
  this.decompoundQuery,
  this.enableRules,
  this.enablePersonalization,
  this.queryType,
  this.removeWordsIfNoResults,
  this.mode,
  this.semanticSearch,
  this.advancedSyntax,
  this.optionalWords,
  this.disableExactOnAttributes,
  this.exactOnSingleWordQuery,
  this.alternativesAsExact,
  this.advancedSyntaxFeatures,
  this.distinct,
  this.replaceSynonymsInHighlight,
  this.minProximity,
  this.responseFields,
  this.maxValuesPerFacet,
  this.sortFacetValuesBy,
  this.attributeCriteriaComputedByMinProximity,
  this.renderingContent,
  this.enableReRanking,
  this.reRankingApplyFilter,
});