arc_rider
arc_rider
ATApache TinkerPop
Created by arc_rider on 4/7/2023 in #questions
Using a SeedStrategy in javascript to control shuffle.
That makes sense and is all good. We will continue investigating because we can successfully access the other properties of the process object ex: process.cardinality.single . Referencing the strategies directly from traversal-strategy.js is worth trying and that will be the next thing when we get back to work. It is the end of the workday here so any further experiments will have to wait until Monday. We are considering forking the repo and potentially posting a PR if this is something that needs code changes to address. Is there someone we can ask if this behavior is intentional? Also thank you so much for your rapid responses.
8 replies
ATApache TinkerPop
Created by arc_rider on 4/7/2023 in #questions
Using a SeedStrategy in javascript to control shuffle.
I agree, thats what I would've expected as well. I did notice that in the index.js file the process object only has TraversalStrategies, TraversalStrategy. The other strategies implemented in traversal-strategy.js aren't mentioned. Would we expect to see more of the strategiesModule exported from the index to make them accessible? This file lines 63 and 64 are what I am seeing that makes me think some strategies arent being exported.: https://github.com/apache/tinkerpop/blob/3.6.2/gremlin-javascript/src/main/javascript/gremlin-javascript/index.js
8 replies