orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
91 stars 32 forks source link

Index is not used when hasLabel step has multiple labels #124

Closed ddrozdov closed 7 years ago

ddrozdov commented 7 years ago

In OrientGraphStep.findIndex(), since values iterator is created before class labels loop, it is iterated only for the first label and, for all the others, full index is queried from the DB.