Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Other options besides full text search?

Avatar

Level 1

We have full text search working as expected with the following (as described here: http://helpx.adobe.com/adobe-cq/using/using-query-builder-api.html):

map.put("group.1_fulltext", fulltextSearchTerm);
map.put("group.1_fulltext.relPath", "jcr:content");

This is a full-text predicate which corresponds to the jcr:contains() function in XPath, but I cannot find other predicate options. For example, how do we perform a substring search?

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can create a custom predicate with the search paremeters that you want to use. See: http://www.wemblog.com/2013/04/how-to-create-custom-query-predicate-in.html.

HTH

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

You can create a custom predicate with the search paremeters that you want to use. See: http://www.wemblog.com/2013/04/how-to-create-custom-query-predicate-in.html.

HTH