Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 Replies

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