J
JanusGraph•9mo ago
paull

Possible Bug with Text.CONTAINS_REGEX & token toLowerCase

Hello, I think their is a bug with predicate textContainsRegex, during CloseableIterator "retainIfTrue.test(element)", element are filtered if they don't satisfies conditions. I have a vertex with property "firstName->Martine", while searching with this regex "Martin.?", ES found my vertex but while filtering to check other conditions (vertex status is active), regex is evaluated again and is returning false because value is tokenized in lower case while regex is case sensitive.
No description
No description
2 Replies
paull
paull•9mo ago
No description
Bo
Bo•9mo ago
Seems to be a bug. Do you mind opening an issue on GitHub? Or even better, come up with a fix 🙂