much of the documentation states (https://dev.day.com/docs/en/crx/current/developing/searching_in_crx.html) you can set boosting at runtime and gives example in both sql and xpath:select * from nt:base where contains(*, '"day crx"^10 "apache jackrabbit"^8 lucene^0.5') order by jcr:score //element(*,...