Skip to content

Commit a158689

Browse files
add semanticHitCount
1 parent 61c3080 commit a158689

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

reference/api/search.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ By default, [this endpoint returns a maximum of 1000 results](/learn/resources/k
109109
| **`limit`** | Number | Number of documents to take |
110110
| **`estimatedTotalHits`** | Number | Estimated total number of matches |
111111
| **`totalHits`** | Number | Exhaustive total number of matches |
112+
| **`semanticHitCount`** | Number | Exhaustive number of semantic search matches (only present in AI-powered searches) |
112113
| **`totalPages`** | Number | Exhaustive total number of search result pages |
113114
| **`hitsPerPage`** | Number | Number of results on each page |
114115
| **`page`** | Number | Current search results page |
@@ -1218,6 +1219,20 @@ Configures Meilisearch to return search results based on a query's meaning and c
12181219

12191220
<CodeSamplesSearchParameterGuideHybrid1 />
12201221

1222+
```json
1223+
{
1224+
"query": "PLACEHOLDER_QUERY",
1225+
"processingTimeMs": 10,
1226+
"limit": 20,
1227+
"offset": 0,
1228+
"estimatedTotalHits": 3,
1229+
"semanticHitCount": 3,
1230+
"hits": [
1231+
1232+
]
1233+
}
1234+
```
1235+
12211236
### Vector
12221237

12231238
**Parameter**: `vector`<br />

0 commit comments

Comments
 (0)