diff options
| -rw-r--r-- | 50.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -29,7 +29,7 @@ matching against other fields if that makes sense in the context of a specific k | |||
| 29 | A query string may contain `key:value` pairs (two words separated by colon), these are extensions, relays SHOULD ignore | 29 | A query string may contain `key:value` pairs (two words separated by colon), these are extensions, relays SHOULD ignore |
| 30 | extensions they don't support. | 30 | extensions they don't support. |
| 31 | 31 | ||
| 32 | Clients may specify several search filters, i.e. `["REQ", "", [{"search":"orange"},{"search":"purple"}]`. Clients may | 32 | Clients may specify several search filters, i.e. `["REQ", "", { "search": "orange" }, { "kinds": [1, 2], "search": "purple" }]`. Clients may |
| 33 | include `kinds`, `ids` and other filter field to restrict the search results to particular event kinds. | 33 | include `kinds`, `ids` and other filter field to restrict the search results to particular event kinds. |
| 34 | 34 | ||
| 35 | Clients SHOULD use the supported_nips field to learn if a relay supports `search` filter. Clients MAY send `search` | 35 | Clients SHOULD use the supported_nips field to learn if a relay supports `search` filter. Clients MAY send `search` |