Script_score


(Jayni) #1

Hi,

I simply want to score the results of my "more_like_this_field" query on my own.
Why doesn't this work?

{ "query": { "function_score": { "more_like_this_field": { "test_field": { "like_text": "this is a test", "min_term_freq" : "0", "min_doc_freq": "0" } }, "functions": [ { "script_score": { "script": "_score * 2" } } ] } } }

Jayni


(system) #2