Keyword Search
Keyword search is a method that allows users to search your data based on specific keywords. Unlike 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:
Usage
Example 1 - Google Docs
Example 2 - Any text block
Example 3 - Google Docs - search in specific properties
Arguments
Name | Type | Description |
---|---|---|
query* | string | The keyword or phrase to search for |
properties | string[] | Array of field names to limit the search to specific properties |