search cache

HI,

Using pub.cache.search, how can I create advanced searches using the criteria document input? According to documentation its possible to use “nested document type that can be evaluated by a logical operator.”
How?