Thank you, now I found a use case where the mergeOperator actually had
an impact. Might might be worth updating the documentation since if
people (like me) take it and play with it, it looks like it doesn't work.
E.g. here's a traversal where it _does_ have an impact:
gremlin>
g.withSack(1.0d).V(1).local(out("knows")).in("knows").barrier().sack()
==>1.0
==>1.0
gremlin> g.withSack(1.0d,
sum).V(1).local(out("knows")).in("knows").barrier().sack()
==>2.0
==>2.0
I'm happy to send you a PR for the docs, just let me know.
On 28/03/17 14:17, Marko Rodriguez wrote:
> Hi,
>
> SackStepTest just tests the hashcodes of the step. You should look at
> SackTest.
>
> If you don’t find what you are looking for, say so and I can go into
> more depth for you.
>
> HTH,
> Marko.
>
>
http://markorodriguez.com
>
>
>
>> On Mar 27, 2017, at 6:26 PM, Michael Pollmeier
>> <
mic...@michaelpollmeier.com <mailto:
mic...@michaelpollmeier.com>>
>> <mailto:
gremlin-user...@googlegroups.com>.
>> <
https://groups.google.com/d/msgid/gremlin-users/24c3faaa-9403-4756-b1bd-88666156b7e3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Gremlin-users" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/gremlin-users/BVrJP2Lwwck/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
gremlin-user...@googlegroups.com
> <mailto:
gremlin-user...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/gremlin-users/36ADEF85-DC42-4D04-8352-853CBC95A5BC%40gmail.com
> <
https://groups.google.com/d/msgid/gremlin-users/36ADEF85-DC42-4D04-8352-853CBC95A5BC%40gmail.com?utm_medium=email&utm_source=footer>.