Text predicate not serializable (containsPhrase, notContainsX, etc)
Hello,
JanusGraphPSerializer is missing several predicates, this is causing a timeout exhausting all opened connexion when we're calling these predicates.
I fixed this locally, I can do a merge request, but i haven't found the related issue.
Here are the 8 missing predicates :
textContainsPhrase
textNotContains
textNotContainsPrefix
textNotContainsRegex
textNotContainsFuzzy
textNotContainsPhrase
textNotPrefix
textNotRegex
textNotFuzzy
![No description](https://cdn.answeroverflow.com/1255228836094935203/image.png)
![No description](https://cdn.answeroverflow.com/1255228836480684083/image.png)
3 Replies
I haven’t looked at it myself, but I believe this is the related issue:
https://github.com/JanusGraph/janusgraph/issues/1565
Would be great if you can contribute this improvement into JanusGraph
GitHub
Use indices for TinkerPop Text Predicates · Issue #1565 · JanusGrap...
TinkerPop added its own text predicates in version 3.4.0 with the goal to provide a unified API also for text searches across providers. While JanusGraph already has its own text predicates, it mak...
This is fixed since 02/28 😅
For reference, this the the related issue: https://github.com/JanusGraph/janusgraph/issues/4275
GitHub
Some text predicates (mostly negations) not supported by serializer...
#2559 added new text predicates, mostly negations of existing text predicates, but also textContainsPhrase as a completely new predicates. These added text predicates are however not supported by t...