bricaud / graphexp

Interactive visualization of the Gremlin graph database with D3.js
Apache License 2.0
780 stars 215 forks source link

Text Contains based search crashes #61

Closed teereence closed 1 year ago

teereence commented 5 years ago

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?

bricaud commented 5 years ago

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

rbramley commented 4 years ago

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