---
title: "PredictiveSearchResult"
description: >
  Predictive search results, representing lists that match the predicted search query
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/products/objects/predictive-search-result'
  md: 'https://developer.shopline.com/docs/storefront-api/products/objects/predictive-search-result.md'
---
# PredictiveSearchResult

Predictive search results, representing lists that match the predicted search query

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`PredictiveSearchResult`

## Fields

* `products`

  [[Product]](https://developer.shopline.com/docs/storefront-api/products/objects/product.md)

  Products that match the search parameters.

* `queries`

  [[SearchQuerySuggestion!]](https://developer.shopline.com/docs/storefront-api/products/objects/search-query-suggestion.md)

  The query suggestions that are relevant to the search query.

## Schema Definition

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

## Field from

* [Query](https://developer.shopline.com/docs/storefront-api/products/queries/predictive-search.md).predictiveSearch

  预测搜索结果数组

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

