Edit Searchable Attributes

As you add or remove fields from you objects you may want to alter which fields are searchable. This can be done via the editSearchableFields mutation and supplying a list of fields.

It is important to note that this is an absolute list of searchable fields, so you must always supply all fields. If you're unsure which fields are searchable you can use the getSearchableFields query.

By default, the following fields are

  • __typename
  • title
  • synopsis
  • name
  • slug
mutation MyMutation {
  editSearchableFields(fields: [