Searching Latest Versions for Locations
There are two ways you can specify the subset of latest versions that you want to search for when the Latest Versions for Location () search mode is selected:
These two subsets correspond to searching with respect to different types of Locations in a database. In this section you will learn how the search capabilities of Model Manager differ when searching in such locations.
Searching in Branches
Select a branch in The Select Location Dialog Box to search for the latest versions of models and files in that branch at the present time. This is also the default location type when you select a database from the list on the left in the Open, Select File, and Select Model windows, or in the Model Manager window when Activating a Database in the Model Manager workspace.
The location link button used to open The Select Location Dialog Box is hidden in the Open, Select File, and Select Model windows when a database only contains a single branch and no snapshots.
Which search tools are available when searching for the latest versions in the branch is determined by the value selected in the Search list found in the branch’s Settings window — see Branch Settings. Select Item fields and content in the list to enable the full Model Manager search functionality for the branch. This includes both all Full Text Search tools and all Item and Content Filters. Select Only item fields to restrict the filtering support to those that target the field values of models and files, not filters targeting their contents.
The Item fields and content value is the preferred and default selection for the main branch in a repository. There is, however, a cost in terms of disk space usage by the additional search data required for the corresponding search index — see also Updating Search Index. You may want to select Only item fields when:
When Opening a Local Database from Multiple COMSOL Multiphysics Processes, the search functionality will be further limited to that used when Searching in Snapshots and Commits for all processes except the first one to open the database.
Searching in Snapshots and Commits
Select a snapshot in The Select Location Dialog Box, or right-click a commit and select Search in Commit () in The Commits Window, to search for the versions that were the latest at a fixed point in time — the saved date of the corresponding commit — on a particular branch. You may find this useful if, for example, you want to find a version of an old model or file that has been deleted on the branch, or if you perhaps want to see how the branch was organized with tags at the time of the commit.
Searching the latest versions with respect to a snapshot or a manually selected commit is limited functionality-wise as compared to Searching in Branches. You can perform full text searches by selecting Text or search on the titles of assigned tags by selecting Tags from the list next to the Search button () in The Model Manager Window. Other search windows offer only full text search. You can also apply a separate filter on file type extensions from a list in the Select File window. Other Item and Content Filters or the The Model Manager Search Syntax are not available.
The Add Filter menu button () is disabled in the Open, Select File, Select Model, and Model Manager windows’ toolbars when you search with respect to a snapshot or commit.