Using FTS, I attempting to apply a regex filter to locate exact matches to an exact value, OR, all that end with a regex of “.*”
Here is the pattern:
If no value is provided for the param “requestor” the regexp pattern should be “^exenv::user::.*" If a value is provided: "^exenv::user::123”
I have tried term, match, and now regexp and I am unable to affect the query in any way except to throw the error in the title of this topic, “zero width assertions not allowed”
The above regex pattern works beautifully in N1QL as follows:
SELECT META(dp).id, dp.* FROM dp dp
WHERE REGEX_LIKE(META(dp).id, “^exenv::user::.*$”)
I dont want to filter in this way as this term is but one of several, all of which perform as desired. This one just wont work.
Your help, as always, much appreciated.