RecommendSearchParams constructor

const RecommendSearchParams({
  1. String? similarQuery,
  2. String? filters,
  3. dynamic facetFilters,
  4. dynamic optionalFilters,
  5. dynamic numericFilters,
  6. dynamic tagFilters,
  7. bool? sumOrFiltersScores,
  8. List<String>? restrictSearchableAttributes,
  9. List<String>? facets,
  10. bool? facetingAfterDistinct,
  11. String? aroundLatLng,
  12. bool? aroundLatLngViaIP,
  13. dynamic aroundRadius,
  14. dynamic aroundPrecision,
  15. int? minimumAroundRadius,
  16. dynamic insideBoundingBox,
  17. List<List<double>>? insidePolygon,
  18. List<SupportedLanguage>? naturalLanguages,
  19. List<String>? ruleContexts,
  20. int? personalizationImpact,
  21. String? userToken,
  22. bool? getRankingInfo,
  23. bool? synonyms,
  24. bool? clickAnalytics,
  25. bool? analytics,
  26. List<String>? analyticsTags,
  27. bool? percentileComputation,
  28. bool? enableABTest,
  29. String? query,
  30. List<String>? attributesForFaceting,
  31. List<String>? replicas,
  32. int? paginationLimitedTo,
  33. List<String>? unretrievableAttributes,
  34. List<String>? disableTypoToleranceOnWords,
  35. List<String>? attributesToTransliterate,
  36. List<String>? camelCaseAttributes,
  37. Object? decompoundedAttributes,
  38. List<SupportedLanguage>? indexLanguages,
  39. List<String>? disablePrefixOnAttributes,
  40. bool? allowCompressionOfIntegerArray,
  41. List<String>? numericAttributesForFiltering,
  42. String? separatorsToIndex,
  43. List<String>? searchableAttributes,
  44. Object? userData,
  45. Map<String, Map<String, String>>? customNormalization,
  46. String? attributeForDistinct,
  47. int? maxFacetHits,
  48. List<String>? attributesToRetrieve,
  49. List<String>? ranking,
  50. int? relevancyStrictness,
  51. List<String>? attributesToHighlight,
  52. List<String>? attributesToSnippet,
  53. String? highlightPreTag,
  54. String? highlightPostTag,
  55. String? snippetEllipsisText,
  56. bool? restrictHighlightAndSnippetArrays,
  57. int? minWordSizefor1Typo,
  58. int? minWordSizefor2Typos,
  59. dynamic typoTolerance,
  60. bool? allowTyposOnNumericTokens,
  61. List<String>? disableTypoToleranceOnAttributes,
  62. dynamic ignorePlurals,
  63. dynamic removeStopWords,
  64. List<SupportedLanguage>? queryLanguages,
  65. bool? decompoundQuery,
  66. bool? enableRules,
  67. bool? enablePersonalization,
  68. QueryType? queryType,
  69. RemoveWordsIfNoResults? removeWordsIfNoResults,
  70. bool? advancedSyntax,
  71. dynamic optionalWords,
  72. List<String>? disableExactOnAttributes,
  73. ExactOnSingleWordQuery? exactOnSingleWordQuery,
  74. List<AlternativesAsExact>? alternativesAsExact,
  75. List<AdvancedSyntaxFeatures>? advancedSyntaxFeatures,
  76. dynamic distinct,
  77. bool? replaceSynonymsInHighlight,
  78. int? minProximity,
  79. List<String>? responseFields,
  80. int? maxValuesPerFacet,
  81. String? sortFacetValuesBy,
  82. bool? attributeCriteriaComputedByMinProximity,
  83. RenderingContent? renderingContent,
  84. bool? enableReRanking,
  85. dynamic reRankingApplyFilter,
})

Returns a new RecommendSearchParams instance.

Implementation

const RecommendSearchParams({
  this.similarQuery,
  this.filters,
  this.facetFilters,
  this.optionalFilters,
  this.numericFilters,
  this.tagFilters,
  this.sumOrFiltersScores,
  this.restrictSearchableAttributes,
  this.facets,
  this.facetingAfterDistinct,
  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.query,
  this.attributesForFaceting,
  this.replicas,
  this.paginationLimitedTo,
  this.unretrievableAttributes,
  this.disableTypoToleranceOnWords,
  this.attributesToTransliterate,
  this.camelCaseAttributes,
  this.decompoundedAttributes,
  this.indexLanguages,
  this.disablePrefixOnAttributes,
  this.allowCompressionOfIntegerArray,
  this.numericAttributesForFiltering,
  this.separatorsToIndex,
  this.searchableAttributes,
  this.userData,
  this.customNormalization,
  this.attributeForDistinct,
  this.maxFacetHits,
  this.attributesToRetrieve,
  this.ranking,
  this.relevancyStrictness,
  this.attributesToHighlight,
  this.attributesToSnippet,
  this.highlightPreTag,
  this.highlightPostTag,
  this.snippetEllipsisText,
  this.restrictHighlightAndSnippetArrays,
  this.minWordSizefor1Typo,
  this.minWordSizefor2Typos,
  this.typoTolerance,
  this.allowTyposOnNumericTokens,
  this.disableTypoToleranceOnAttributes,
  this.ignorePlurals,
  this.removeStopWords,
  this.queryLanguages,
  this.decompoundQuery,
  this.enableRules,
  this.enablePersonalization,
  this.queryType,
  this.removeWordsIfNoResults,
  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,
});