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
Unanswered
Scoold database - are you recommending H2 database in production


Sure, it's a simple, stable and performant database and it's ideal for small-to-medium Scoold deployments. I can't recommend any particular DB because they all have their tradeoffs. Simply use the database engine you are most familiar with. It is also quite easy to implement a DAO plugin for any database you choose, unless it it's already implemented.

For details on how to access the H2 DB in ./data and how to back up/restore it, read the Para H2 documentation.

2
2
Posted 5 years ago
Alex Bogdanovski
1K × 9 Administrator
222 Views
0 Answers
5 years ago
4 years ago