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

asset.type: HOST AND patch.qid: 3015321

A more complex query like this has level of depth 5

(patch.qid: 1534321 OR patch.qid: 3015321) AND (asset.type: HOST OR asset.type: CONTAINER) AND NOT patch.updatedDate <= "2018-11-01"

 

Step-by-step search tutorial