mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-13 19:06:24 +00:00
Merge pull request #1292 from vitorpamplona/search-order
Adds Order of results for NIP-50 Search
This commit is contained in:
commit
ab6019a704
2
50.md
2
50.md
@ -26,6 +26,8 @@ Relays SHOULD interpret the query to the best of their ability and return events
|
||||
Relays SHOULD perform matching against `content` event field, and MAY perform
|
||||
matching against other fields if that makes sense in the context of a specific kind.
|
||||
|
||||
Results SHOULD be returned in descending order by quality of search result (as defined by the implementation),
|
||||
not by the usual `.created_at`. The `limit` filter SHOULD be applied after sorting by matching score.
|
||||
A query string may contain `key:value` pairs (two words separated by colon), these are extensions, relays SHOULD ignore
|
||||
extensions they don't support.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user