Gremlin wildcard search or select String labels using like "%%"

665 views
Skip to first unread message

Jagadish Vundapalli

unread,
Dec 4, 2019, 7:24:05 AM12/4/19
to Gremlin-users
Hi Team,

Do we have a string contains search option in gremlin?
I tried g.V().has("product", "unitsInStock",0).has("name",Text.REGEX,"*Mutton").valueMap("name", "unitsInStock") but is not working .

Please suggest

Regards
Jagadish

Daniel Kuppitz

unread,
Dec 4, 2019, 8:41:45 AM12/4/19
to gremli...@googlegroups.com
Hi Jagadish,

all predicates are listed here: A Note on Predicates

Besides those predicates, your specific graph provider may have added some more predicates (e.g. for regular expressions).

Cheers,
Daniel


This email and any attachments included may contain confidential and or privileged material intended for the original recipient only. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and or publication of this message without the prior written consent of the sender of this e-mail is strictly prohibited. If you receive this email by mistake, please advise the sender and delete it immediately. Views or opinions presented in this email are solely those of the sender and do not necessarily represent those of OpsRamp, Inc. OpsRamp Inc., places the highest priority on the security and privacy of our Clients and have put significant efforts into ensuring the messages are free of errors and viruses. At OpsRamp Inc., we care for your privacy and have taken appropriate measures to ensure that the data you provide to us is always secure. Please visit www.opsramp.com for our Privacy Policy and Privacy Notice.

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/e94d192e-28a6-4746-9098-9355afbd396a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages