FTSFLAGS

View as Markdown

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 nameMFiles.FTSFLAGS
Proto filemfiles/enums.proto

Fields

FieldTypeNumberDescription
allbool1All flags set, including any future flags. Not useful in searches.
use_stemmingbool2Also match other forms of the search words.
search_all_wordsbool3Match objects that contain all of the search words.
search_any_wordsbool4Match objects that contain any of the search words.
search_metadatabool5Search the property values of objects.
search_filedatabool6Search the contents of the files of objects.
search_ainobool7Run 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