Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

filter can be compared to a single condition in an if-statement. Usually (almost always, see 7 Group) the operators in the if-statement are "&&" (in JavaScript/C#)/"AND" (SQL).

For example, the filters:

reults results in the if-statement (pseudo code):

Code Block
If(asset.asset_type is in the supplied list of asset types 
	AND asset.assetid is in the supplied list of asset IDs
	AND asset.itemid is in the supplied list of item IDs)

...

         AddAssetToResults()

 {
         AddAssetToResults()
}



filter can be created by selecting the Input tab in the Search Editor and then clicking the "Add" button (see 1 Create a Keywords filter for a detailed explanation on how to create a filter):

In the window, which pops up, there are three tabs: 12 Meta data field14 Table and column, and 13 Predefined.

A 12 Meta data field or 14 Table and column filter MUST  filter MUST have some properties defined before it can be added to a search:

If a predefined filter is needed, then the input from the user is usually only an ID. Though some predefined filters have 5 Predetermined values, which MUST be supplied before the filter can be created.

...