FTSFLAGS
Combination of full-text search flag bitfields.
How the text of a full-text (any-field) condition is matched. Set at least one of
search_metadata and search_filedata. With neither search_all_words nor search_any_words,
the text is a Boolean query such as sales AND invoice.
| Full name | MFiles.FTSFLAGS |
|---|---|
| Proto file | mfiles/enums.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
all | bool | 1 | All flags set, including any future flags. Not useful in searches. |
use_stemming | bool | 2 | Also match other forms of the search words. |
search_all_words | bool | 3 | Match objects that contain all of the search words. |
search_any_words | bool | 4 | Match objects that contain any of the search words. |
search_metadata | bool | 5 | Search the property values of objects. |
search_filedata | bool | 6 | Search the contents of the files of objects. |
search_aino | bool | 7 | Run a semantic search against the vault's Aino index instead of a keyword search. Fails if the vault has no enabled Aino index. See SearchObjects for what Aino results contain. |
Used in fields
ExpressionUnion.AnyFieldData.options-- Full-text search flags. Setsearch_metadata,search_filedataor both; with neither, the search fails with "Invalid search condition." See FTSFLAGS.