]
Adrian Nistor updated ISPN-8344:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
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.1.2.Final, 9.2.0.Alpha1
This happens if the WHERE clause is empty. In this case the query is misidentified as one
that leads to a match-all Boole-Shannon expansion and is executed completely unindexed.
The query
{code}
FROM org.infinispan.test.Person
{code}
or
{code}
qf.from(Person.class).build();
{code}
is such a case