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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
2 Questions, 3 Answers
  Active since 17 December 2019
  Last activity one year ago

Reputation

218 4 0

Badges 4

Editor Enthusiast 4 × Eureka! Newbie
1 Votes
1 Answers
2K Views
1 Votes 1 Answers 2K Views
How to use of Date and Calendar in GuideWire
2 years ago
0 Votes
276 Answers
4K Views
0 Votes 276 Answers 4K Views
Can someone please help me how to use the Properties in GW
2 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...

2 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

2 years ago
0 Date Utilities In GW

Do not use

new java.util.Date

(OR )

java.util.Calendar.getInstance().Time
Instead use gw.api.util.DateUtil.CurrentDate (or)
java.util.Date.CurrentDate
INCORRECT USAGE :
var currentDate = new java.util.Date() (or)
var currentDate1 = java.util.Calendar.getInstance().Time
CORRECT USAGE :
var currentDate = java.util.Date.CurrentDate // Note that “new” is not used here
var currentDate = gw.api.util.DateUtil.currentDate()

java.util.Date is a Java in-built ...

2 years ago