Is it possible to make a query that allows you to search for a word or text within a document? for example to search for “hello” in all the documents of a certain type of either in its title or its description (PRIORITIZING THAT IT IS IN THE TITLE)
Thank you so much
Is this for site or authoring part? You can use:
constraint("myproject:propertyname").contains(query)
see:
for me no is possible create the query :
Hi, .constraint is a public static function, please import it from org.hippoecm.hst.content.beans.query.builder.ConstraintBuilder#constraint
.constraint
org.hippoecm.hst.content.beans.query.builder.ConstraintBuilder#constraint
Jeroen
import static org.hippoecm.hst.content.beans.query.builder.ConstraintBuilder.constraint;