Boolean Queries
Boolean operators (AND, OR, and NOT) give you many ways to refine your search.
Maximum Query Depth
The depth of a query that contains the AND and OR operators cannot exceed 1,000 levels. If you run a query with more than 1,000 levels of depth, an error is returned.
For example, the following simple query has a depth of 2:
asset: (lastBoot: '2018-10-10' AND cpuCount: 2)
The following more complex query has a depth of 5:
(operatingSystem: "Windows 7 SP2 Enterprise" OR operatingSystem: "Windows 2002") AND (hardware: "Dell Latitude e7470" OR hardware: "Dell Inspiron") AND NOT asset.lastBoot <= "2018-11-01"