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
Answered
@NotTracked vs Change Log Skip Tables

What is the difference between annotating a model object with @NotTracked and adding the model object to the change log skip table section when setting up/updating the middleware of an application? I know when you use @NotTracked the objects aren't synced to Journey anyway, so what is the point in using the skip table in the Portal?

2
2
Posted 4 years ago
Votes Newest

Answers


Helium implements a default change tracking strategy for persistent objects. This change tracking strategy generates change logs that is used by the Helium / Journey middleware to synchronise objects between Helium and Journey applications. The change logs can also be used as a basic audit trail.

The @NotTracked object annotation designates an object should not be considered for Helium's default change tracking. In general, persistent objects that should not be considered for change tracking and therefore not form part of audit logs should be annotated with the @NotTracked annotation. A good example of where this might be applicable is for objects that are themselves used by DSL applications for audit logs or similar.

Persistent objects that are not intended to sync to the Journey application's database should rather be included in the middleware's "Change Log Skip Tables". More information on this difference in intention can be found here: https://wiki.mezzanineware.com/display/HTUT/Change+Tracking+and+Syncing

2
2
Posted 4 years ago
Edited 4 years ago
DevOps
84 × 2 Administrator
184 Views
1 Answer
4 years ago
4 years ago
Tags