[infinispan-issues] [JBoss JIRA] (ISPN-8344) DSL queries filtering only on type are always executed without index

William Burns (JIRA) issues at jboss.org
Fri Oct 27 11:46:01 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-8344:
--------------------------------
    Fix Version/s: 9.1.3.Final
                       (was: 9.1.2.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.2.0.Beta1, 9.1.3.Final
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list