graphexp icon indicating copy to clipboard operation
graphexp copied to clipboard

Text Contains based search crashes

Open teereence opened this issue 6 years ago • 2 comments

Hi

Searching for a node by exact match works fine, but produces an error when based on g.textContains. Does this functionality require some plugins to be activated on the gremlin server side?

teereence avatar Mar 08 '19 23:03 teereence

Yes, it only works when using Janusgraph (or a variant based on Janusgraph).

bricaud avatar Mar 09 '19 13:03 bricaud

With TinkerPop 3.4 the equivalent is 'containing' - see http://tinkerpop.apache.org/docs/current/reference/#a-note-on-predicates

Experimented by modifying line 119 of graphioGremlin.js accordingly and it works fine against Neptune 1.0.1.0. The correct fix would need to check if it's version 3.4 (using the GraphSON3_4 communication method).

rbramley avatar Oct 08 '19 09:10 rbramley