GET position/interest/_search
{
"query": {
"function_score": {
"script_score": {
"script": {
"lang": "painless",
"params": { "keys": [1, 3, 5], "values": [10, 20, 30] },
"file": "cosine_score1"
}
}
}
}
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.