Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.2, 1.2
-
None
Description
According to the javadocs (QueryIndex) minimum cost for index is 1. Currently ReferenceIndex returns this minimum value, when it can be used for the query.
But even then cost for remaining indexes is still calculated. We could skip cost calculation of remaining indexes if we achieved the minimum cost already.
It will speed up all queries which can leverage the reference Index.
Example query:
SELECT * FROM [nt:base] WHERE PROPERTY([rep:members], 'WeakReference') = '345bef9b-ffa1-3e09-85df-1e03cfa0fb37'
Attachments
Attachments
Issue Links
- is related to
-
OAK-2679 Query engine: faster cost calculation
- Closed