[
https://issues.redhat.com/browse/ISPN-12218?page=com.atlassian.jira.plugi...
]
Gustavo Fernandes commented on ISPN-12218:
------------------------------------------
[~anistor] I am not sure what to do here. This happens in 11.x (haven't tested on 12),
with indexed caches with unindexed entities, "FROM Entity" does a lucene query
while "FROM Entity WHERE ..." does a non-indexed query, and the results are
inconsistent. I attached a reproducer for 11.x
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)