[infinispan-issues] [JBoss JIRA] (ISPN-3203) Infinispan cache index not loading initial data

Sanne Grinovero (JIRA) issues at jboss.org
Mon Dec 8 11:48:39 EST 2014


    [ https://issues.jboss.org/browse/ISPN-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025968#comment-13025968 ] 

Sanne Grinovero commented on ISPN-3203:
---------------------------------------

I Ralph, I think the reference to Hibernate might be confusing. Infinispan uses {{Hibernate Search}} internally to do its indexing, which is NOT {{Hibernate ORM}}. So effectively doing some fine-tuning configuration of the indexing engine requires to get some familiarity with the {{Hibernate Search}} configuration.

I've just opened https://issues.jboss.org/browse/ISPN-5058 as this obviously needs an example, I shouldn't expect you to read all about the internal implementation.

Anyway: you don't need to add a specific Lucene index Cache Loader. You jut have to enable any of the standard Infinispan's CacheLoader implementations for the Cache(s) you're using to store the index.



> Infinispan cache index not loading initial data
> -----------------------------------------------
>
>                 Key: ISPN-3203
>                 URL: https://issues.jboss.org/browse/ISPN-3203
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Embedded Querying
>         Environment: Linux: debian wheezy
> uname -a: Linux hostname 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
> JBoss: 7.1.2.Final
> Embedded cache using infinispan 5.2.6.Final jars included in WAR's WEB-INF/lib directory.
>            Reporter: Ralph Jennings
>            Assignee: Sanne Grinovero
>              Labels: cache-store, index, infinispan, preload
>
> If you create a cache with an existing store to preload data from, the data is available to the cache (get and keySet works) but not to the index (no cache queries work).
> Only entries put into the cache after it starts up can be seen by the index.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list