Keyword search is a method that allows users to search your data based on specific keywords. Unlike [semantic search]/graphql-api/semantic-search) which focuses on the meaning of the search query, keyword search relies on exact matches of the keywords used in the search query.
This method is best to use when you want to provide quick and straightforward search results. It is especially effective when dealing with large databases where users are familiar with the specific keywords used within the data.
Syntax
Keyword search can be operated on an any object’s string
or string[]
field. Here’s how:
Examples
Example 1 - Google Drive / Google Docs
Example 3 - Any text block
Example 4 - Google Drive / Google Docs - specific fields
Arguments
arguments | Type | Default | Description |
---|---|---|---|
query * | string, string[] | ||
fields | string[] | Specify which fields to search, |