assetSearch
Asset Search Query
ArgumentsLink copied!
assetSearch.keyword
● String
scalarLink copied!
Terms or phrases to search for. A term is a single word. A phrase is a group of words enclosed in double quotes. Quotes must be escaped in the GraphQL query using a backslash e.g. "\"Darth Vader\"". The wildcard character can be used e.g. "Darth " to return "Darth Vader, Darth Sidious, Darth Maul". "" cannot be used at the start of a term or phrase, as this has a negative performance impact. The following boolean operators are supported: AND OR NOT + -. Parentheses can be used to form sub-queries e.g. "(red OR green) AND XS_". MaxLength of keyword: 1000
assetSearch.fields
● [SearchableFields!]
list enumLink copied!
Fields to search against - restricts the fields the keyword search applies to. Defaults to search against all SearchableFields if not supplied
assetSearch.filters
● FilterFields
inputLink copied!
Filter results based on the field values
assetSearch.sort
● SortableFields
inputLink copied!
Fields to sort asset search results by. When a sort is supplied in case of a tie break the default sort is applied after the specified sort.If a sort is not supplied the default will be applied. The default sort is score desc, ID desc.
assetSearch.before
● String
scalarLink copied!
Cursor to start from when paginating backwards
assetSearch.after
● String
scalarLink copied!
Cursor to start from when paginating forwards
assetSearch.first
● Int
scalarLink copied!
Specifies the number of results to return. Required when after cursor is used. Cannot be used with before cursor. Defaults to 20 results if not supplied.
assetSearch.last
● Int
scalarLink copied!
Specifies the number of results to return when paginating backwards. Must be used with before cursor.