diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2024-06-07 11:53:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 11:53:06 -0400 |
| commit | 61ed2716a812abda1c46ff59035b69099b7078b3 (patch) | |
| tree | 93ffa397611ec81a3088f481368bdbd00fd84433 | |
| parent | cfcc2e48cd3555e9e458a32f816e0d1ea4994a40 (diff) | |
Update 50.md
Co-authored-by: hodlbod <jstaab@protonmail.com>
| -rw-r--r-- | 50.md | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -26,9 +26,8 @@ Relays SHOULD interpret the query to the best of their ability and return events | |||
| 26 | Relays SHOULD perform matching against `content` event field, and MAY perform | 26 | Relays SHOULD perform matching against `content` event field, and MAY perform |
| 27 | matching against other fields if that makes sense in the context of a specific kind. | 27 | matching against other fields if that makes sense in the context of a specific kind. |
| 28 | 28 | ||
| 29 | Results SHOULD be returned in the order of their matching score, not by the usual `.created_at`. | 29 | Results SHOULD be returned in descending order by quality of search result (as defined by the implementation), |
| 30 | The `limit` filter SHOULD be applied after sorting by matching score. | 30 | not by the usual `.created_at`. The `limit` filter SHOULD be applied after sorting by matching score. |
| 31 | |||
| 32 | A query string may contain `key:value` pairs (two words separated by colon), these are extensions, relays SHOULD ignore | 31 | A query string may contain `key:value` pairs (two words separated by colon), these are extensions, relays SHOULD ignore |
| 33 | extensions they don't support. | 32 | extensions they don't support. |
| 34 | 33 | ||