mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-09 01:13:42 +01:00
spec the highlights field in /search response
This commit is contained in:
parent
ee98082a60
commit
4ff5887c91
|
|
@ -181,6 +181,12 @@ paths:
|
|||
count:
|
||||
type: number
|
||||
description: An approximate count of the total number of results found.
|
||||
highlights:
|
||||
type: array
|
||||
title: Highlights
|
||||
description: List of words which should be highlighted, useful for stemming which may change the query terms.
|
||||
items:
|
||||
type: string
|
||||
results:
|
||||
type: array
|
||||
title: Results
|
||||
|
|
|
|||
Loading…
Reference in a new issue