Field Types
The Item Filters and Content Filters that are available in the Model Manager search tools can be categorized based on the types of fields that they match on. These field types affect, for example, how the field values specified in filters are interpreted when searching the database.
Text Field
A filter on a text field matches search words in a text. Individual “words” in the text are obtained by splitting on spaces, punctuation markers, and other delimiter characters. Examples of text fields are the title and description of a model or file.
Keyword Field
A filter on a keyword field matches a search word against a string value. Keyword fields are typically found for short, name-like, search data, such as the filename of a model or file.
To include spaces in a keyword field’s value, precede each space using a backslash character — see Escaping Reserved Characters.
If you omit the backslash character before a space in the value for a keyword field, the value will be interpreted as two words combined with boolean AND-logic — see Basic Field Expressions. The search word electrical heating busbar.mph for a filename field is equivalent to electrical AND heating AND busbar.mph — an expression that can never match the filename of a model (a model can have at most one filename). Write electrical\ heating\ busbar.mph instead.
Date Field
A filter on a date field matches against a date and time value. You can specify the date and time format according to the localization rules for the language set in the COMSOL Desktop or according to the ISO-8601 standard format. An example of a date field is the last modified timestamp of a model or file.
Dates and times can either be matched exactly or as an interval. The intervals can be open on one or both sides. See also Range Matching.
Numeric Field
A filter on a numeric field matches on a real or complex scalar value. An example of a numeric field is the last computation time of a study, or a numerical setting or parameter value. The unit to use for dimensioned scalar values depends on the context.
Numeric fields can either be matched exactly or by specifying intervals for the real and imaginary parts separately. The intervals can be open on one or both sides. See also Range Matching.
Boolean Field
A filter on a boolean field matches on either true or false. An example is whether or not a 1D or 2D component is axisymmetric.
Selection Field
A filter on a selection field is a specialized filter that involves selecting values from a predetermined set. Examples include Item Types and Save Types of models or the user that last modified a model or file.