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
 
Profile picture
Indika Ratnayake
Moderator
1 Question, 0 Answers
Active since 26 August 2021
  Last activity 4 years ago

Reputation

13 + 13 this October 0 1

Badges 2

  Editor   Newbie
0 Votes
1 Answers
112 Views
0 Votes 1 Answers 112 Views
Hello, Is it possible to set the cache to expire when a session ends or when a user logs out, instead of setting a fixed time? I'm using self.cache.set("key"...