Home

More on Boolean Queries

Using Boolean operators (AND, OR, NOT) give you many ways to refine your search.

Good to Know - Max query depth

We've implemented controls in query parsing for queries containing the operators AND, OR. The maximum depth allowed for an AND/OR query cannot cross 1000 levels. If you run a query having more than 1000 levels of depth, an error is returned.

A simple query like this has level of depth 2

assetType: HOST AND missingPatchId: MS12-004

A more complex query like this has level of depth 5

(missingPatchId: MS12-004 OR missingPatchId: MS12-006) AND (assetType: HOST OR assetType: CONTAINER) AND NOT installedDate <= "2018-11-01"

 

Step by step search tutorial