Assuming that the property "registrationCompletedDate' in with rep:User
node, the query should be similar to
path=/home/userstype=rep:Userdaterange.property=registrationCompletedDatedaterange.upperBound=2020-08-19T23:59:59.000-04:00daterange.lowerBound=2020-08-19T00:00:00.000-04:00p.limit=-1
Now, you need to have an index for registrationCompletedDate, it should
be similar to- compatVersion = 2- async = "async"- jcr:primaryType =
oak:QueryIndexDefinition- evaluatePathRestrictions = true- type =
...