0 Replies Latest reply on Jun 18, 2013 11:29 PM by thiai

    Exclude asset in search by metadata

    thiai Level 1

      Hi,

       

      I'm trying to exclude some assets by a customized metadata.

       

      The metadata is named for instance 'skipsearch', it has the type of 'checkbox'.

       

      I'm using predicate to query the repository.

       

      Here's my code:

       

      type=dam:Asset

      path=/content/dam/geometrixx

      property=jcr:content/metadata/./skipsearch

      property.value<>true

       

      This works in single group, BUT returns empty when in multiple groups: (see the code below)

       

      fulltext=product

      group.p.or=true

      group.1...

      group.2...

      group.3_group.type=dam:Asset

      group.3_group.path=/content/dam/geometrixx

      group.3_group.property=jcr:content/metadata/./skipsearch

      group.3_group.property.value<>true

       

      Any thoughts?