Expand my Community achievements bar.

How to boost specific cq:model query


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
page footer