Hello,
I was trying to use the phrase boost for the matching documents , the same way we do in solr ( we can specify pf , pf2 ,pf3 ) . Can we specify the same in elasticsearch ?
I came across phrase query that can be used within bool query , then I saw span near query . Could you please let me know when to use match phrase query and when to use spanNear ?
Also , how to specify the slop , let say in solr we can say pf3 means , 3 consecutive words can match , if it does it will boost higher . How to do the same in elastic.
Thanks,
Navneet