Files
elasticsearch-js/docs/reference/api/QueryDslScriptScoreQuery.md
2025-05-28 10:02:30 -05:00

8 lines
580 B
Markdown

# `QueryDslScriptScoreQuery` [interface-QueryDslScriptScoreQuery]
| Name | Type | Description |
| - | - | - |
| `min_score` | [float](./float.md) | Documents with a score lower than this floating point number are excluded from the search results. |
| `query` | [QueryDslQueryContainer](./QueryDslQueryContainer.md) | Query used to return documents. |
| `script` | [Script](./Script.md) | [ScriptSource](./ScriptSource.md) | Script used to compute the score of documents returned by the query. Important: final relevance scores from the `script_score` query cannot be negative. |