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

DSL queries filtering only on type are always executed without index

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    This happens if the WHERE clause is empty or a tautology (true). In this case the query is wrongly executed unindexed even though the index should be at least used for filtering on type.

    The query

    FROM org.infinispan.test.Person
    

    or

     qf.from(Person.class).build();
    

    is such a case

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            Archiver:
            rhn-support-adongare Amol Dongare

              Created:
              Updated:
              Resolved:
              Archived: