Hi everyone,
I am wondering if I change the index order, mechanism of index is changed or not ?
For example ;
create index geofenced on test(_class, appId, geofenceBased, status) WHERE deleted = FALSE
or
create index geofenced on test(_class, appId, status, geofenceBased) WHERE deleted = FALSE
Same as queries.
Does it matter if I write geofenceBase first;
where deleted = FALSE AND
_class = “com.myexample.test.push.data.entity.PushEntity” AND
appId = “whitelabel” AND geofencedBase = true AND status = “draft”
or last ?
where deleted = FALSE AND
_class = “com.myexample.test.push.data.entity.PushEntity” AND
appId = “whitelabel” AND status = “draft” AND geofencedBase = true
Any idea please? Which one should be used for which situations ?
Thank you