I am executing query which should return me results from page and assets. If keyword appears in title of page or asset, it should be listed first. Otherwise, if keyword appears anywhere else in page or asset, it should be listed in end.
I have added boost value to title in cqPageLucene and damAssetLucene , so that i get top results with search word appearing in title of page or asset.
Problem: I am not getting the required order. The search results always list me pages first and then the list of assets. Ordering within pages or within assets work fine, its just that I don’t get mix of results between page and assets. How can I update my query or index to get the required ordering of pages and assets.