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

How to compare two slices for equality?
How to compare two slices for equality?
I remember there was a function `equal_slices` in stdlib for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays? --- > This question was imported from Telegram Chat: https://t.me/tondev/129679
I remember there was a function `equal_slices` for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays? --- > This question was imported from Telegram Chat: https://t.me/tondev/129679
#slice #func
#slice #func
12 months ago
Original
How to compare two slices for equality?

I remember there was a function `equal_slices` for comparing two slices, but now at compilation time I get an error saying such a function does not exist. Was it removed? How slices should be compared nowadays? --- > This question was imported from Telegram Chat: https://t.me/tondev/129679
#slice #func