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

one year ago
Daniil Sedov
219 × 6 Administrator
What is the best way to store the "who follows who" data with TON smart contracts?
What is the best way to store the "who follows who" data with TON smart contracts?
There may be several ways to implement such logic. If each subscriber has his own smart contact, you can simply save a list of his subscriptions in the data of this contract. But note that in this case, as the number of subscriptions becomes bigger, all operations with them will become quite expensive.
There may be several ways to implement such logic. If each subscriber has his own smart contact, you can simply save a list of his subscriptions in the data of this contract. But note that as the number of subscriptions becomes bigger, all operations with them will become quite expensive.
one year ago
Original
Daniil Sedov
219 × 6 Administrator
What is the best way to store the "who follows who" data with TON smart contracts?

There may be several ways to implement such logic. If each subscriber has his own smart contact, you can simply save a list of his subscriptions in the data of this contract. But note that as the number of subscriptions becomes bigger, all operations with them will become quite expensive.