You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by prannoy pramanik <pr...@gmail.com> on 2020/05/12 07:41:11 UTC

Need to get the frequency of keyword appeared inside the page.

Hi,
I am using SQL2 for query the jcr repository.

The ask is to display the pages having more frequency of keyword inside the
page on top of pages having less.

For example, if we search for "developer" and there are 2 pages having this
keyword. But inside page1 "developer" word occurrence is 2 and inside page2
"developer" word occurrence is 1. So the outcome should be

page1
page2

Can you please let me know how i can achieve this? Can i add some property
in Oak:index to achieve this or is there any API which can help.

Thanks,
Prannoy Pramanik
@9911165810