similarQuery property
Keywords to be used instead of the search query to conduct a more broader search. Using the similarQuery
parameter changes other settings: - queryType
is set to prefixNone
. - removeStopWords
is set to true. - words
is set as the first ranking criterion. - All remaining words are treated as optionalWords
. Since the similarQuery
is supposed to do a broad search, they usually return many results. Combine it with filters
to narrow down the list of results.
Implementation
@JsonKey(name: r'similarQuery')
final String? similarQuery;