M-Files API 22.6.11519.0
MFSearchFlags Enumeration
Search flags (bitfield flags). Affects searching and view levels.
MFSearchFlagDisableRelevancyRanking16Search results are not sorted according to their relevancy.
MFSearchFlagIncludeUnmanagedObjects64Include unmanaged objects in the search results.
MFSearchFlagLookAllObjectTypes4Perform a separate search for each object type and merges the results.
MFSearchFlagLookInAllVersions1Orders to look for matches in all object versions. By default, only the latest object versions are included in the search.
MFSearchFlagNone0No flags.
MFSearchFlagResultsFromEachRepository128Limits the search results per search location instead of limiting the total number of results from all vaults and repositories. This ensures that the search results include items from all search locations with search hits.
MFSearchFlagReturnLatestVisibleVersion2Orders to return the latest version for each object, regardless of whether it is an actual matching version. This flag is effective only if MFSearchFlagLookInAllVersions is on.