--- title: SearchResultItemConnection - Storefront API description: | An auto-generated type for paginating through multiple SearchResultItems. api_version: 2025-10 api_name: storefront type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/connections/searchresultitemconnection md: https://shopify.dev/docs/api/storefront/latest/connections/searchresultitemconnection.md --- # Search​Result​Item​Connection connection An auto-generated type for paginating through multiple SearchResultItems. ## Queries with this connection * [search](https://shopify.dev/docs/api/storefront/latest/queries/search) query List of the search results. * first [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) ### Arguments Returns up to the first `n` elements from the list. * after [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come after the specified cursor. * last [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Returns up to the last `n` elements from the list. * before [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) Returns the elements that come before the specified cursor. * reverse [Boolean](https://shopify.dev/docs/api/storefront/latest/scalars/Boolean) Default:false Reverse the order of the underlying list. * sort​Key [Search​Sort​Keys](https://shopify.dev/docs/api/storefront/latest/enums/SearchSortKeys) Default:RELEVANCE Sort the underlying list by the given key. * query [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The search query. * prefix [Search​Prefix​Query​Type](https://shopify.dev/docs/api/storefront/latest/enums/SearchPrefixQueryType) Specifies whether to perform a partial word match on the last search term. * product​Filters [\[Product​Filter!\]](https://shopify.dev/docs/api/storefront/latest/input-objects/ProductFilter) Returns a subset of products matching all product filters. The input must not contain more than `250` values. * types [\[Search​Type!\]](https://shopify.dev/docs/api/storefront/latest/enums/SearchType) The types of resources to search for. The input must not contain more than `250` values. * unavailable​Products [Search​Unavailable​Products​Type](https://shopify.dev/docs/api/storefront/latest/enums/SearchUnavailableProductsType) Specifies how unavailable products or variants are displayed in the search results. *** *** ## Possible returns * edges [\[Search​Result​Item​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/SearchResultItemEdge) non-null A list of edges. * nodes [\[Search​Result​Item!\]!](https://shopify.dev/docs/api/storefront/latest/unions/SearchResultItem) non-null A list of the nodes contained in SearchResultItemEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo) non-null Information to aid in pagination. * product​Filters [\[Filter!\]!](https://shopify.dev/docs/api/storefront/latest/objects/Filter) non-null A list of available filters. * total​Count [Int!](https://shopify.dev/docs/api/storefront/latest/scalars/Int) non-null The total number of results. *** ## Map ### Queries with this connection * \[search](https://shopify.dev/docs/api/storefront/latest/queries/search) ### Possible returns * <->[Search​Result​Item​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/SearchResultItemConnection#returns-edges) * <->[Search​Result​Item​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/SearchResultItemConnection#returns-nodes) * <->[Search​Result​Item​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/SearchResultItemConnection#returns-pageInfo) * <->[Search​Result​Item​Connection.productFilters](https://shopify.dev/docs/api/storefront/latest/connections/SearchResultItemConnection#returns-productFilters) * <->[Search​Result​Item​Connection.totalCount](https://shopify.dev/docs/api/storefront/latest/connections/SearchResultItemConnection#returns-totalCount)