Skip to content

Commit 5f824cf

Browse files
Update rest-api-spec
1 parent ec3159e commit 5f824cf

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

output/schema/schema.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"semantic_search": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/semantic-search.html",
5+
"description": "Semantic search API using dense vector similarity"
6+
},
7+
"stability": "experimental",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/{index}/_semantic_search",
17+
"methods": ["GET", "POST"],
18+
"parts": {
19+
"index": {
20+
"type": "list",
21+
"description": "A comma-separated list of index names to search; use `_all` to perform the operation on all indices"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params": {
28+
"routing": {
29+
"type": "list",
30+
"description": "A comma-separated list of specific routing values"
31+
}
32+
},
33+
"body": {
34+
"description": "The search definition"
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)