Przejdź do głównej zawartości

PredictiveSearchResult

Predictive search result for typeahead UI

type PredictiveSearchResult {
products: [Product!]!
queries: [SearchQuerySuggestion!]!
}

Fields​

PredictiveSearchResult.products ● [Product!]! non-null object​

Top matching products (FTS-ranked)

PredictiveSearchResult.queries ● [SearchQuerySuggestion!]! non-null object​

Top product title suggestions with highlighted query matches

Returned By​

searchSuggestions query