About Advanced Searches

With advanced search you can create complex search queries. You can specify multiple search rules and combine each rule with a logical “And” or logical “Or” operator. You cannot use both the “And” and “Or” operator in a single search query.

Note You can create more complex logical expressions using the SearchService interface in the com.opsware.search package of the SA Twister API. For more information on the SA Twister API, see the SA 10.50 Developer Guide.

Each rule is a combination of an attribute, operator, and value that enables you to search for a specific attribute value for the selected search item. Depending on the attribute that you select, the options for the operator and value are displayed. You can specify the attribute values by entering text or a numerical value in the text field, by selecting a value from the drop-down list, or by selecting multiple values from a list of values in the Select Values window.

The Select Values window appears when you need to specify multiple values for a rule containing an “equals” or “not equals” operator. In this window, you can select one or more values from a list of available values.

Format of Advanced Search Rules

Advanced search rules take the following form:

Search for: <Item>

Where: <Attribute> <Operator> <Value>

  • <Item> is the object you are searching for, such as servers, patches, patch policies, jobs, folders and other items in your managed environment.
  • <Attribute> is data about the item you want the rule to examine.
  • <Operator> is a comparison you want to perform between the <Attribute> and the <Value>.
  • <Value> is the specific data you want to compare to the <Attribute> using the <Operator>.

Note The search operation returns only items on which you have at least read permissions. To perform an action on an item, you must have write permission on that item.