Expand my Community achievements bar.

SOLVED

QueryBuilder does not return relevant assets

Avatar

Level 1

QueryBuilder does not return relevant results. I am expecting all assets whose title has search keyword to come up first. I have tried 

type=dam:Asset
group.p.or=true
group.1_fulltext=xxxxxx
group.1_fulltext.relPath=jcr:content/*/@dc:title

 

but this returns assets which has keyword in their title but not all assets which has keyword in their description.

1 Accepted Solution

Avatar

Correct answer by
Employee

At the risk of stating the obvious, your query is only searching for the keyword within the dc:title property. So it wouldn't find results with have the keyword in the description. See https://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/eval/FulltextPredicateEvaluator.htm... for a description of the relPath property.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

At the risk of stating the obvious, your query is only searching for the keyword within the dc:title property. So it wouldn't find results with have the keyword in the description. See https://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/eval/FulltextPredicateEvaluator.htm... for a description of the relPath property.