From 2e95fc90166dcef3d607823a041963be004cf16a Mon Sep 17 00:00:00 2001 From: p29876 <165825455+p29876@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:28:32 +0000 Subject: [PATCH] Gh-530 Document GafferPop GetElements 'squash' (#531) --- docs/user-guide/query/gremlin/gremlin-limits.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/user-guide/query/gremlin/gremlin-limits.md b/docs/user-guide/query/gremlin/gremlin-limits.md index f1d2c5c0f0..5f0df2414f 100644 --- a/docs/user-guide/query/gremlin/gremlin-limits.md +++ b/docs/user-guide/query/gremlin/gremlin-limits.md @@ -26,3 +26,12 @@ Current known limitations or bugs: - Chaining `hasLabel()` calls together like `hasLabel("label1").hasLabel("label2")` will act like an OR rather than an AND in standard Gremlin. This means you may get results back when you realistically shouldn't. +- Input seeds to Gaffer operations are deduplicated. + Therefore, the results of a query against a GafferPop graph may be different than a standard Gremlin graph. + For example, for the Tinkerpop Modern graph: + ``` + (Gremlin) g.V().out() = [v2, v3, v3, v3, v4, v5] + (GafferPop) g.V().out() = [v2, v3, v4, v5] + ``` + In GafferPop, Vertex 3 is only found in the result set once. +