---
title: >-
  New searchable resources added to the predictive search API - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/new-searchable-resources-added-to-the-predictive-search-api
  md: >-
    https://shopify.dev/changelog/new-searchable-resources-added-to-the-predictive-search-api.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2019-09-19T08:44:33-04:00'
  postedAt: '2019-10-22T00:00:00-04:00'
  updatedAt: '2024-02-02T10:04:55-05:00'
  effectiveAt: '2019-10-22T00:00:00-04:00'
---

October 22, 2019

Tags:

* API

# New searchable resources added to the predictive search API

Searchable resources for predictive search APIs now include pages and articles. Author, body, tag, variant SKU & barcode attributes have also been added to searchable fields for products.

Parameters are getting an update (the old parameters remain valid):

* * the `s` query parameter is renamed to `q`
* * the `bury` option of the `unavailable_products` parameter is renamed to `last`
* * `types` is renamed to `type` and accepts a comma-separated list instead of an array
* * a `fields` parameter was added

By default, `unavailable_products` is set to `last`. This means that out of stock products will now be shown last in the results list. There are options to hide out of stock products completely, or show them together with available products.

Learn more about the [predictive search API](https://help.shopify.com/en/themes/development/predictive-search) in the Shopify Help Center.
