在AEM查询生成器中,如何查询属性的多个值可能性
Predicate r1= new Predicate("property");
r1.set("property", String.format("@jcr:content/cq:%s", "template"));
r1.set("operation", "equals");
r1.set("value", "/some/value1/text1");
predicates.add(r1);
Predicate r2= new Predicate("property");
r2.set("property", String.format("@jcr:content/cq:%s", "template"));
r2.set("operation", "equals");
r2.set("value", "/some/value2/sometext/text2");
predicates.add(r2);
Predicate r3= new Predicate("property");
r3.set("property", String.format("@jcr:content/cq:%s", "template"));
r3.set("operation", "equals");
r3.set("value", "/some/value3/sometext/anothertext/text3");
predicates.add(r3);
是否有更简单的方法来查询(value1,value2,value3,...)中的propyyx.value = value1或properyx.value = value2等或propertyx.value