]
Adrian Nistor updated ISPN-6504:
--------------------------------
Fix Version/s: 9.0.0.Final
Try to use the index even if the query matches all entries
----------------------------------------------------------
Key: ISPN-6504
URL:
https://issues.jboss.org/browse/ISPN-6504
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying, Remote Querying
Affects Versions: 8.2.1.Final, 9.0.0.Alpha1
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 9.0.0.Alpha2, 8.2.2.Final, 9.0.0.Final
A DSL query with no filter clauses will match all entries. In this case we currently run
a non-indexed query even if the cache is indexed.
Performance could be improved a bit by using the index if the query has sorting or
projections. This should be treated as a special case.