I was thinking that the original query had a misplaced not. It
doesn't make sense to me to not() a select(). What would be the
expected outcome? That is, what is the opposite of a vertex?
I agree what you found is bug. not(match()) should work.
These should also be valid not() queries:
1. not(where()):
g.V().match(__.as("a").values("propertyA").as("propA"),__.as("a").values("propertyB").as("propB")).not(where("propA",
P.eq("propB"))).select("a")
2. where(not()):
g.V().match(__.as("a").values("propertyA").as("propA"),__.as("a").values("propertyB").as("propB")).where("propA",
not(P.eq("propB"))).select("a")
>> email to
gremlin-user...@googlegroups.com.
>> To view this discussion on the web visit
>>
https://groups.google.com/d/msgid/
>> gremlin-users/50896973.2DW1h1rdbW%40localhost.localdomain.
>> For more options, visit
https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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/CA%2Bf9seWqOM%3DXCT0nXuZ%3DfTu3neW_3uiZCsEAQmeHLBqfsB4baw
>> %
40mail.gmail.com.
>> For more options, visit
https://groups.google.com/d/optout.
>>
>>
>>
>>
>> --
>> Lukas Krejci
>>
>> --
>> 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.
> --
> 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/CA%2Bf9seXz8yNOGJpPaPvLW3WDNKCAQxfxsPVhJUzo%2B_uwpPKG7A%40mail.gmail.com.
Robert Dale