SearchTarget

View as Markdown

Search options.

Leave unset to search the vault's default index in SEARCH_MODE_DEFAULT, where the full-text search engine is used only for searches with a full-text (any-field) condition.

Full nameMFiles.SearchTarget
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
indexstring1The name of the search index to use. Empty uses the vault's default index. An unknown name fails with "Target index is not available."
modeSearchMode2Whether to prefer, require or avoid the full-text search engine. See SearchMode.Values: SEARCH_MODE_DEFAULT (0), SEARCH_MODE_FAVOR_FULL_TEXT_SEARCH (1), SEARCH_MODE_REQUIRE_FULL_TEXT_SEARCH (2), SEARCH_MODE_REQUIRE_DATABASE_SEARCH (3).
search_master_storagebool3True to also search objects kept in Master Storage, where the vault supports it.
continuation_tokenstring4Continuation token for paging results from Master Storage. SearchObjects does not support it and fails with "Continuation token is not supported." when it is set together with search_master_storage.

Used by methods

Used in fields