[infinispan-issues] [JBoss JIRA] (ISPN-12218) Indexed caches with non-indexed entities query inconsistency
Gustavo Fernandes (Jira)
issues at jboss.org
Thu Aug 13 03:51:00 EDT 2020
[ https://issues.redhat.com/browse/ISPN-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388977#comment-14388977 ]
Gustavo Fernandes edited comment on ISPN-12218 at 8/13/20 3:50 AM:
-------------------------------------------------------------------
[~anistor] I am not sure what to do here. This happens in 11.x (haven't tested on 12). I attached a reproducer for 11.x. It seems to me that it should throw an error rather than trying to query , given that the user configures {{addIndexedEntity("Entity")}} with a non-indexed entity
was (Author: gustavonalle):
[~anistor] I am not sure what to do here. This happens in 11.x (haven't tested on 12). I attached a reproducer for 11.x. It seems to me that it should throw an error rather them trying to the query when the user configures {{addIndexedEntity("Entity")}} with a non-indexed entity
> Indexed caches with non-indexed entities query inconsistency
> ------------------------------------------------------------
>
> Key: ISPN-12218
> URL: https://issues.redhat.com/browse/ISPN-12218
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying, Remote Querying
> Affects Versions: 11.0.3.Final
> Reporter: Gustavo Fernandes
> Priority: Major
> Attachments: IndexedCacheNonIndexedQueryTest.java
>
>
> When a cache is indexed, but the protobuf entitiy is not:
> "FROM Entity" returns zero results
> "FROM Entity WHERE <predicate>" return results
> It appears in the first case the query goes to the index (that will be empty), but not in the second where it does a non-indexed query
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list