Skip to content

Commit cf99d59

Browse files
committed
Update selector doc
1 parent a325d1f commit cf99d59

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

content/docs/manual/abstractions.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ A selector ([specification](https://github.com/eclipse-zenoh/roadmap/blob/main/r
6161

6262
Here's what a selector concretely looks like:
6363
```
64-
path/**/something?arg1=val1&arg2=value%202
64+
path/**/something?arg1=val1;arg2=value%202
6565
^ ^ ^ ^
6666
|Key Expression-| |----- parameters -----|
6767
```
@@ -78,7 +78,7 @@ The selector's `parameters` section functions just like query parameters:
7878
* It's separated from the path (Key Expr) by a `?`.
7979
* It's a `?` list of key-value pairs.
8080
* The first `=` in a key-value pair separates the key from the value.
81-
* If no `=` is found, the value is an empty string: `hello=there&kenobi` is interpreted as `{"hello": "there", "kenobi": ""}`.
81+
* If no `=` is found, the value is an empty string: `hello=there;kenobi` is interpreted as `{"hello": "there", "kenobi": ""}`.
8282
* The selector is assumed to be url-encoded: any character can be escaped using `%<charCode>`.
8383

8484
There are however some additional conventions:
@@ -87,8 +87,6 @@ There are however some additional conventions:
8787
* Since Zenoh operations may be distributed over diverse networks, we encourage queryable developers to use some prefix in their custom keys to avoid collisions.
8888
* When interpreting a key-value pair as a boolean, the absence of the key-value pair, or the value being `"false"` are the only "falsey" values: in the previous examples, the both `hello` and `kenobi` would be considered truthy if interpreted as boolean.
8989

90-
Queryables are free to interpret the parameters however they see fit, but Zenoh-provided [queryables](#queryable), such as the [admin-space](#admin-space).
91-
9290
The list of standardized parameters, as well as their usage, is documented in the [selector specification](https://github.com/eclipse-zenoh/roadmap/blob/main/rfcs/ALL/Selectors/README.md).
9391

9492

0 commit comments

Comments
 (0)