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