[infinispan-issues] [JBoss JIRA] (ISPN-6430) Remote Queries do not allow per-entity index configurations
Gustavo Fernandes (JIRA)
issues at jboss.org
Wed Mar 23 09:51:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gustavo Fernandes updated ISPN-6430:
------------------------------------
Description:
When using Infinispan in library mode, it's possible to define a per-entity index configuration, so this is possible:
{code:java}
cacheCfg.indexing().index(Index.ALL)
.addIndexedEntity(Car.class)
.addIndexedEntity(Person.class)
.addProperty("hibernate.search.person.directory_provider", "ram")
.addProperty("hibernate.search.car.indexmanager","org.infinispan.query.indexmanager.InfinispanIndexManager")
{code}
Different entities can live in different indexes, with a complete different storage and index manager.
Since when using remote queries there is a synthetic entity being created, this capability is lost.
was:
When using Infinispan in library mode, it's possible to define a per-entity index configuration, so this is possible:
{code:java}
cacheCfg.indexing().index(Index.ALL)
.addIndexedEntity(Car.class)
.addIndexedEntity(Person.class)
.addProperty("hibernate.search.person.directory_provider", "ram")
.addProperty("hibernate.search.car.indexmanager","org.infinispan.query.indexmanager.InfinispanIndexManager")
{code}
Different entities can live in different indexes, with a complete different storage and index manager.
Since when using remote queries there is a synthetic entity being created, this capability is
lost.
> Remote Queries do not allow per-entity index configurations
> -----------------------------------------------------------
>
> Key: ISPN-6430
> URL: https://issues.jboss.org/browse/ISPN-6430
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Reporter: Gustavo Fernandes
>
> When using Infinispan in library mode, it's possible to define a per-entity index configuration, so this is possible:
> {code:java}
> cacheCfg.indexing().index(Index.ALL)
> .addIndexedEntity(Car.class)
> .addIndexedEntity(Person.class)
> .addProperty("hibernate.search.person.directory_provider", "ram")
> .addProperty("hibernate.search.car.indexmanager","org.infinispan.query.indexmanager.InfinispanIndexManager")
> {code}
> Different entities can live in different indexes, with a complete different storage and index manager.
> Since when using remote queries there is a synthetic entity being created, this capability is lost.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list