Class TypePredicateEvaluator

java.lang.Object
com.day.cq.search.eval.AbstractPredicateEvaluator
com.day.cq.search.eval.TypePredicateEvaluator
All Implemented Interfaces:
PredicateEvaluator

public class TypePredicateEvaluator extends AbstractPredicateEvaluator
Restricts results to a specific JCR node type, both primary node type or mixin type. This will also find subtypes of that node type. Note that repository search indexes need to cover the node types for efficient execution.

Supports facet extraction. Will provide buckets for each unique type in the results.

Name:

type

Properties:

type
node type or mixin name to search for, for example cq:Page
Since:
5.2