[infinispan-issues] [JBoss JIRA] (ISPN-6504) Try to use the index even if the query matches all entries

Adrian Nistor (JIRA) issues at jboss.org
Thu Apr 14 18:00:01 EDT 2016


Adrian Nistor created ISPN-6504:
-----------------------------------

             Summary: 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: 9.0.0.Alpha1, 8.2.1.Final
            Reporter: Adrian Nistor
            Assignee: Adrian Nistor
             Fix For: 9.0.0.Alpha2, 8.2.2.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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list