Lei Tang created TINKERPOP-2900:
-----------------------------------
Summary: Incorreclty sort elements with ProductiveByStrategy
Key: TINKERPOP-2900
URL: https://issues.apache.org/jira/browse/TINKERPOP-2900
Project: TinkerPop
Issue Type: Bug
Reporter: Lei Tang
When I sort vertices with property 'vp1', I expect TinkerGraph returns vertices
that have property 'vp1' first. However, when I turn on ProductiveByStrategy,
it first returns vertices without property 'vp1'.
{code:java}
gremlin> :> g.addV().property('vp1', 11)
==>v[0]
gremlin> :> g.addV().property('vp2', 'hello')
==>v[2]
gremlin> :> g.withStrategies(ProductiveByStrategy).V().order().by('vp1')
==>v[2]
==>v[0] {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)