Closed
Description
Hey,
I have checked both docs and tests available for the project. However, I couldn't find a way to formulate a script_query
that does not have any function_score
.
Indeed, let's assume I have the following desired query packed in a dictionary, how could I'd written it using elasticsearch_dsl
?
query_dict = {
"query": {
"script_score": {
"query": Q(...)
},
"script": {
"source": "..."
}
}
}
Link to script_score
query in ElasticSearch that does not usefunction_score
Metadata
Metadata
Assignees
Labels
No labels