Customize score in proximity query


#1

I notice that phrase query with slop give an higher score to document that contain the query terms closed to each other. Is there a way to customize the way the score is calculted with this proximity information? Can we also boost term that are close to the beginning of the field?

Thanks!


(system) #2