Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Back to post

Revisions 2

5 months ago
What does the "x - y" notation mean in TON documentation?
What does the "x - y" notation mean in TON documentation?
It's "inputs" and "outputs" of an operation. The part before `-` is what needs to be on the top of the stack to be used. The part after `-` is what's placed on the top of the stack after it's over. The letters stand for data types (Builder is noted as `b`, and so on). So in this particular case this notation means that the operation requires an instance of Builder data type to be on the top of the stack, it takes that Builder instance and returns a number (of bits already stored in that Builder), placing it on the top of the stack. Note that the Builder itself disappears from the stack in process.
It's "inputs" and "outputs" of an operation. The part before `-` is what needs to be on the top of the stack to be used. The part after `-` is what's placed on the top of the stack after it's over. The letter stand for data types (Builder is noted as `b`, and so on). So in this particular case this notation means that the operation requires an instance of Builder data type to be on the top of the stack, it takes that Builder instance and returns a number (of bits already stored in that Builder), placing it on the top of the stack. Note that the Builder itself disappears from the stack in process.
5 months ago
Original
What does the "x - y" notation mean in TON documentation?

It's "inputs" and "outputs" of an operation. The part before `-` is what needs to be on the top of the stack to be used. The part after `-` is what's placed on the top of the stack after it's over. The letter stand for data types (Builder is noted as `b`, and so on). So in this particular case this notation means that the operation requires an instance of Builder data type to be on the top of the stack, it takes that Builder instance and returns a number (of bits already stored in that Builder), placing it on the top of the stack. Note that the Builder itself disappears from the stack in process.