Class JcrPropertyPredicateEvaluator

  • All Implemented Interfaces:
    PredicateEvaluator
    Direct Known Subclasses:
    JcrBoolPropertyPredicateEvaluator

    public class JcrPropertyPredicateEvaluator
    extends AbstractPredicateEvaluator
    Matches on JCR properties and their values.

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

    Name:

    property

    Properties:

    property
    relative path to property, for example jcr:title
    value
    value to check property for; follows the JCR property type to string conversions
    N_value
    use 1_value, 2_value, ... to check for multiple values (combined with OR by default, with AND if and=true) (since 5.3)
    and
    set to true for combining multiple values (N_value) with AND (since 5.3)
    operation
    "equals" for exact match (default), "unequals" for unequality comparison, "like" for using the jcr:like xpath function (optional), "not" for no match (eg. "not(@prop)" in xpath, value param will be ignored), "exists" for existence check (value can be true - property must exist, the default - or false - same as "not") , "equalsIgnoreCase" for case insensitive match, "unequalsIgnoreCase" for case insensitive unequality comparison
    depth
    number of wildcard levels underneath which the property/relative path can exist (for instance, property=size depth=2 will check node/size, node/*/size and node/*/*/size)
    Since:
    5.2