Skip to main content
Version: Latest

KeywordFilter

input KeywordFilter {
query: String!
proximity: Int
scope: SearchScope
}

Fields

KeywordFilter.query ● String! non-null scalar

Can contain simple keywords as well as logical expressions. Example: "earnings AND (cash OR inventory)"

Adding an extra set of quotes (escaped with backslashed) will provide exact search results (without smart synonyms). Example: ",",cash,,""

Can contain simple variables with key-value pair. Example: "{Region: India}"

KeywordFilter.proximity ● Int scalar

This is the maximum distance between given query terms. It specifies how close together the keywords must appear to be considered a hit.

KeywordFilter.scope ● SearchScope enum

Restricts the search to a specific scope. The default value is DOCUMENT_CONTENT for external API access, ANYWHERE for internal access.

Member of

SearchFilter input