QueryBuilder does not return relevant assets | Community
Skip to main content
October 16, 2015
Solved

QueryBuilder does not return relevant assets

  • October 16, 2015
  • 1 reply
  • 489 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

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.html for a description of the relPath property.

1 reply

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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.html for a description of the relPath property.