]
Adrian Nistor updated ISPN-8344:
--------------------------------
Fix Version/s: 9.2.0.Alpha2
9.1.2.Final
(was: 9.2.0.Beta1)
(was: 9.1.3.Final)
DSL queries filtering only on type are always executed without index
--------------------------------------------------------------------
Key: ISPN-8344
URL:
https://issues.jboss.org/browse/ISPN-8344
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying, Remote Querying
Affects Versions: 9.0.0.Final
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 9.0.4.Final, 8.2.9.Final, 9.1.2.Final, 9.2.0.Alpha2
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
{code}
FROM org.infinispan.test.Person
{code}
or
{code}
qf.from(Person.class).build();
{code}
is such a case