Get _score of previous hit in script_score


(Ammo) #1

Hi,
is it possible to get the _score of a previous hit in script score?


(Ryan Ernst) #2

No, this is not possible. Each document is scored completely independently, and the order of document iteration can change arbitrarily as documents move from one segment to another through merging.


(Ammo) #3

thank you very much :slight_smile: