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

DSL queries filtering only on type are always executed without index

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)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: