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
Expert Jane
Moderator
1 Question, 2 Answers
  Active since 17 December 2019
  Last activity 3 years ago

Reputation

218 + 3 this March 0 4

Badges 4

Editor Enthusiast 4 × Eureka! Newbie
0 Votes
500 Answers
51K Views
0 Votes 500 Answers 51K Views
Can someone please help me how to use the Properties in GW
4 years ago
2 Tips to improve Query Performance

While there are many functions, here is a handy list of properties that should be used whenever a [color=blue]query API[/color] is used to fetch results.

Empty – Informs whether the result set (of multiple items) is empty. The common mistake is to use Count property just to understand if there are rows that match the query. Do not use Count property if we only want to know if there are rows that match our query in the data set. Relational query performance often improves if you u...

4 years ago
2 How to use Properties instead of getter methods

Access the class attributes using the properties instead of getter methods. For example, request.getCookies() could be accessed directly as request.Cookies. This reduces instances of null pointer exceptions. When accessing properties, the .(dot) notation is null safe.
file

4 years ago