Przejdź do głównej zawartości

searchSuggestions

Search suggestions (typeahead) — top-N products + styled query suggestions (Products only). Powered by PostgreSQL FTS with prefix matching for Polish morphology coverage.

searchSuggestions(
limit: Int = 10
query: String!
): PredictiveSearchResult!

Arguments​

searchSuggestions.limit ● Int scalar​

Maximum number of products to return (default 10, max 50)

searchSuggestions.query ● String! non-null scalar​

Search query (typeahead input)

Type​

PredictiveSearchResult object​

Predictive search result for typeahead UI