Other options besides full text search? | Community
Skip to main content
New Participant
October 16, 2015
Solved

Other options besides full text search?

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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

Translate