[
https://issues.jboss.org/browse/ISPN-3203?page=com.atlassian.jira.plugin....
]
Sanne Grinovero edited comment on ISPN-3203 at 12/8/14 11:49 AM:
-----------------------------------------------------------------
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. That's just to clarify
that while your specific application might not be using Hibernate, Infinispan's
indexing engine is using one of the libraries from the Hibernate project (although not the
well known ORM but a different one).
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.
was (Author: sannegrinovero):
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)