VividElites
ATApache TinkerPop
•Created by neuxregime on 6/20/2023 in #questions
indexOf Vertex with given property in a sorted list
Hmm im not sure
13 replies
ATApache TinkerPop
•Created by neuxregime on 6/20/2023 in #questions
indexOf Vertex with given property in a sorted list
I think you would have to know the range before hand. Accoridng to the docs, if you use -1 as the 2nd argument in
.range()
it will emit the reamining verticies
So maybe something like .range(3, -1)
13 replies
ATApache TinkerPop
•Created by neuxregime on 6/20/2023 in #questions
indexOf Vertex with given property in a sorted list
Couldn't you just use the range step? https://tinkerpop.apache.org/docs/current/reference/#range-step
13 replies