]
Tristan Tarrant updated ISPN-12218:
-----------------------------------
Fix Version/s: 12.0.0.Final
(was: 12.0.0.CR1)
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
Assignee: Gustavo Fernandes
Priority: Major
Labels: SearchNG
Fix For: 12.0.0.Final
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
On a side note, if I configure a cache as indexed, but do not index any type in the
protobuf, it returns {{ISPN014054: Trying to execute query from xyz, but no type is
indexed on cache}}. This should be improved to mention the schema needs to be changed