bricaud/graphexp

Text Contains based search crashes

teereence opened this issue · 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?

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

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).