[infinispan-issues] [JBoss JIRA] (ISPN-6947) Indexing mode not compatible with multiple entities per cache
Nistor Adrian (Jira)
issues at jboss.org
Mon May 4 04:24:02 EDT 2020
[ https://issues.redhat.com/browse/ISPN-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074679#comment-14074679 ]
Nistor Adrian edited comment on ISPN-6947 at 5/4/20 4:23 AM:
-------------------------------------------------------------
This issue is no longer relevant starting with version 11, after ISPN-11241.
Also, ISPN-11757 no longer allows multiple indexing providers per cache.
was (Author: anistor):
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
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list