Defining the Search Logic for Finds
The search logic is defined for a Find by constructing up to 8 criteria joined and separated by “and” & “or” boolean operators.
Criteria are defined by defining the component operands (by selecting fields or typing values or MetaScript) and selecting operators (boolean and relational). Any field contained in the Form the Find is based on is available for selection as an oprand.
For Finds with multiple lines of search criteria, boolean operators must be defined. By default, additional criteria assume the “and” boolean operator. This can be changed to “or” if desired.
When defining a series of criteria that use both “and” & “or” boolean operators, it is important to remember that “and” takes priority over “or”.
In the following screen capture, four search criteria are defined using a mix of “and” and “or” boolean operators.
The above condition is evaluated as (Criterion 1 and Criterion 2) or (Criterion 3 and Criterion 4)
In addition to the regular search conditions defined for Finds, additional “Reference Conditions” may be defined for Finds based on the Digital Resources Folder Type.
When creating and formatting a Find based on the Digital Resources folder type, Digital Storage Manager can add additional search criteria for reference searching based on the relationship digital resources have with other folder/document records of the Retrieval Requests Folder Type within the system. For example, a single digital resource (image, logo, digital file, etc.) may be referenced (placed in a file collector on a form defined for the type) on multiple Retrieval Requests simultaneously. Digital Storage Manager, however, stores a reference to the original digital resource only once in the Digital Resources folder. This eliminates the possibility of having duplicate records in the database and reduces the administration and management of digital assets.
Important! Reference searching is available only for Finds based on the Digital Resources folder type.
There are two types of Reference conditions for which criteria can be defined:
Referenced By: The Find will return results only for digital resources that have been referenced by Retrieval Requests that meet the specified Referenced By condition. (e.g.: Find all digital resources that meet the Find condition and are referenced by retrieval requests with a status of Open.)
Not Referenced: The Find will return results only for digital resources that have NOT been referenced by Retrieval Requests that meet the specified Not Referenced By condition. (e.g.: Find all digital resources that meet the Find condition but are not referenced by retrieval requests with a status of Closed.)
In addition, each reference statement can have its prefix changed between “All” and Roots”. “All” is the default selection and when used for a reference Find, the Find will return results for all digital resources that meet the specified search criteria, and are referenced either directly or indirectly by the Retrieval Request. If “Roots” is used, the Find will return results for all digital resources that meet the specified search criteria, and are directly referenced by Retrieval Requests.
Constructing criteria used in a Reference condition is identical to that of constructing the criteria usesd in the main Find condition. Please refer to Reference Searching for more information.