J
JanusGraph•14mo ago
paull8147

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
paull8147
paull8147•14mo ago
No description
Bo
Bo•14mo ago
Seems to be a bug. Do you mind opening an issue on GitHub? Or even better, come up with a fix 🙂
Want results from more Discord servers?
Add your server