OptionalmaxThe maximum number of matches to return. Defaults to GREP_KNOWLEDGE_BASE_DEFAULT_MAX_MATCHES and is clamped to GREP_KNOWLEDGE_BASE_MAX_MATCHES.
OptionalmetadataScopes the scan to the contexts whose metadata matches this filter — the same grammar knowledge-base
chunk search accepts, including $and/$or composition and the $underPath folder operator. The
filter selects the contexts BEFORE any text is matched.
Options for a literal scan over a knowledge base's raw extracted text.