File tree Expand file tree Collapse file tree 1 file changed +27
-16
lines changed
Expand file tree Collapse file tree 1 file changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -2314,25 +2314,32 @@ components:
23142314 items :
23152315 $ref : " #/components/schemas/SearchResultHit"
23162316 request_params :
2317+ $ref : " #/components/schemas/SearchRequestParams"
2318+ conversation :
2319+ $ref : " #/components/schemas/SearchResultConversation"
2320+ union_request_params :
2321+ type : array
2322+ description : Returned only for union query response.
2323+ items :
2324+ $ref : " #/components/schemas/SearchRequestParams"
2325+ SearchRequestParams :
2326+ type : object
2327+ required :
2328+ - collection_name
2329+ - q
2330+ - per_page
2331+ properties :
2332+ collection_name :
2333+ type : string
2334+ q :
2335+ type : string
2336+ per_page :
2337+ type : integer
2338+ voice_query :
23172339 type : object
2318- required :
2319- - collection_name
2320- - q
2321- - per_page
23222340 properties :
2323- collection_name :
2341+ transcribed_query :
23242342 type : string
2325- q :
2326- type : string
2327- per_page :
2328- type : integer
2329- voice_query :
2330- type : object
2331- properties :
2332- transcribed_query :
2333- type : string
2334- conversation :
2335- $ref : " #/components/schemas/SearchResultConversation"
23362343 SearchResultConversation :
23372344 type : object
23382345 required :
@@ -2415,6 +2422,9 @@ components:
24152422 type : number
24162423 format : float
24172424 description : Distance between the query vector and matching document's vector value
2425+ search_index :
2426+ type : integer
2427+ description : Returned only for union query response. Indicates the index of the query which this document matched to.
24182428 example :
24192429 highlights :
24202430 company_name :
@@ -3530,6 +3540,7 @@ components:
35303540 properties :
35313541 union :
35323542 type : boolean
3543+ default : false
35333544 description : When true, merges the search results from each search query into a single ordered set of hits.
35343545 searches :
35353546 type : array
You can’t perform that action at this time.
0 commit comments