Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6504

Try to use the index even if the query matches all entries

    XMLWordPrintable

Details

    Description

      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. This is ok for queries that do not use sorting or pprojections. In that case we do not get any benefit from involving the index.

      Performance can be improved by using the index if the query has sorting or projections so this should be treated as a special case.

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: