Martijn Dwars created TINKERPOP-2136:
----------------------------------------

             Summary: Inside lower bound inclusion (documentation)
                 Key: TINKERPOP-2136
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2136
             Project: TinkerPop
          Issue Type: Bug
            Reporter: Martijn Dwars


On [http://tinkerpop.apache.org/docs/current/reference/#has-step] there is an 
example:
{code:java}
g.V().has('age',inside(20,30)).values('age') // 1
{code}
with the comment:
{code:java}
Find all vertices whose ages are between 20 (inclusive) and 30 (exclusive).
{code}
But if I run this in the Gremlin Groovy shell I see:
{code:java}
gremlin> g.V().has('age', inside(10, 30)).toString()
==>[GraphStep(vertex,[]), HasStep([age.and(gt(10), lt(30))])]
{code}
which means the lower bound and upper bound are both exclusive. In particular, 
the lower bound is exclusive, _not_ inclusive. Right?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to