mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-17 16:44:09 +02:00
spec the highlights field in /search response
This commit is contained in:
parent
ee98082a60
commit
4ff5887c91
|
|
@ -181,6 +181,12 @@ paths:
|
||||||
count:
|
count:
|
||||||
type: number
|
type: number
|
||||||
description: An approximate count of the total number of results found.
|
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:
|
results:
|
||||||
type: array
|
type: array
|
||||||
title: Results
|
title: Results
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue