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

How to boost specific cq:model query

Avatar

Level 1

Hello all, I'm developing an end-user component to search the whole content site. I'm using query builder and I write a single query that search for fulltext results for type=cq:Page and type=dam:Asset (for content fragment and .pdf file) with some clauses.

Now I need to boost the content fragment results that have a specific cq:model.

I'm looking around the forum and documentations and I found only how to boost from oak:index specific property that will work when that property value appear in fulltext query, but I need to give more relevance to those results that have, for example, value: "/conf/my-site/settings/dam/cfm/models/news" in "jcr:content/data/cq:model".

 

Any ideas? , ty

0 Replies