How to speed up valueMap, values, properties query? #3638
-
We have queries like this: g.V().has('AccountId', 1).out('Direct'). It is executed few milliseconds and returns ~13000 results. However when I try to query the values using one of the follwoing queries it took about 35-45 seconds to complete: Any ideas how it can be improved? query.batch is enabled. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You need to enable multiquery (it will be enabled by default from JanusGraph version 1.0.0). The same optimization should be implemented for "has" step which isn't leveraging an index (issue: #3244 ) |
Beta Was this translation helpful? Give feedback.
You need to enable multiquery (it will be enabled by default from JanusGraph version 1.0.0).
It will make values step faster.
That said, valueMap is not going to leverage that opt…