]
Nistor Adrian resolved ISPN-6947.
---------------------------------
Fix Version/s: 11.0.0.Dev05
Resolution: Out of Date
This issue is no longer relevant starting with version 11, after ISPN-11241
Indexing mode not compatible with multiple entities per cache
-------------------------------------------------------------
Key: ISPN-6947
URL:
https://issues.redhat.com/browse/ISPN-6947
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Priority: Major
Fix For: 11.0.0.Dev05
Consider a cache composed of two entities A and B, entity A is stored on RAM and entity B
on Infinispan itself. The configuration to achieve that is below:
{noformat}
cacheCfg.indexing()
.index(Index.ALL)
.addIndexedEntity(A.class)
.addIndexedEntity(B.class)
.addProperty("A.directory_provider", "ram")
.addProperty("A.indexmanager",
"org.infinispan.query.indexmanager.InfinispanIndexManager")
{noformat}
The configuration Index.ALL only makes sense to RAM directory, while for
InfinispanIndexManager it'd cause redundant indexing. The indexing mode should not be
at cache level but at "index" level