Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7DCB8200BFF for ; Tue, 17 Jan 2017 18:24:13 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7D130160B55; Tue, 17 Jan 2017 17:24:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C8E2F160B30 for ; Tue, 17 Jan 2017 18:24:12 +0100 (CET) Received: (qmail 82183 invoked by uid 500); 17 Jan 2017 17:24:10 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 79454 invoked by uid 99); 17 Jan 2017 17:23:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 17:23:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F0857F1824; Tue, 17 Jan 2017 17:23:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: spmallette@apache.org To: commits@tinkerpop.apache.org Date: Tue, 17 Jan 2017 17:23:47 -0000 Message-Id: <444173423a1546499a1169559ab9e691@git.apache.org> In-Reply-To: <66ef2425531949b8ac7674cd4fa5e90c@git.apache.org> References: <66ef2425531949b8ac7674cd4fa5e90c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/18] tinkerpop git commit: Added a recipe appendix entry archived-at: Tue, 17 Jan 2017 17:24:13 -0000 Added a recipe appendix entry Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0938ebdc Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0938ebdc Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0938ebdc Branch: refs/heads/master Commit: 0938ebdce4b6d8512674503680c660eea9870e9e Parents: d7ecfc0 Author: Stephen Mallette Authored: Tue Jan 10 10:45:56 2017 -0500 Committer: Stephen Mallette Committed: Tue Jan 10 10:45:56 2017 -0500 ---------------------------------------------------------------------- docs/src/recipes/appendix.asciidoc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0938ebdc/docs/src/recipes/appendix.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/recipes/appendix.asciidoc b/docs/src/recipes/appendix.asciidoc index 63ec447..15d7340 100644 --- a/docs/src/recipes/appendix.asciidoc +++ b/docs/src/recipes/appendix.asciidoc @@ -109,4 +109,19 @@ g.V().as("a"). unfold(). filter(select(values).is(gt(1))). select(keys) ----- \ No newline at end of file +---- + +[[appendix-e]] +_In the "crew" graph, find vertices that match on a complete set of multi-properties._ + +[gremlin-groovy,theCrew] +---- +places = ["centreville","dulles"];[] // will not match as "purcellville" is missing +g.V().not(has("location", without(places))). + where(values("location").is(within(places)).count().is(places.size())). + valueMap() +places = ["centreville","dulles","purcellville"];[] +g.V().not(has("location", without(places))). + where(values("location").is(within(places)).count().is(places.size())). + valueMap() +----