Hibernate Search: Infinispan DirectoryProvider
by Sanne Grinovero
Hi all,
I'd like to merge the Infinispan DirectoryProvider soon:
The code is trivial as it was designed primarily for Search, but some
points need to be discussed:
1) Dependencies
1A) Transaction implementation:
It does require Infinispan modules, most are transitive dependencies of
<groupId>org.infinispan</groupId>
<artifactId>infinispan-lucene-directory</artifactId>
but it also requires a transaction manager implementation, which is
not enforced by infinispan as any implementation will do.
Shall we "suggest" one as optional dependency?
This is going to add many dependencies, but we need something at least
for tests.
1B) JGroups
Infinispan depends on newer JGroups version than the one currently
tested by the jgroups backend. I'd expect the new version to work the
same, but are we going to explicitly depend on the same version of
Infinispan?
2) Infinispan initialization
A single CacheManager should be shared across many caches; in practice
while I'd suggest to use a different cache per index we even do
support more than one index in the same cache.
At least a configuration property would be needed to point the
CacheManager initialization to an Infinispan configuration file -
which in turn will lilkely point to a JGroups configuration file.
This configuration property could be global or "directory scoped" like
we do for other properties but that would be complex.
I'd suggest a single global CacheManager configuration - which will
trigger a CacheManager initialization in the SearchFactory - and have
different Directories be able to select the cache name and index name
they want to use;
(If two directories use the same cache and same index name they are
sharing the same index)
It would look like:
hibernate.search.infinispan_configuration lucene-cluster-conf.xml
hibernate.search.default.directory_provider
org.hibernate.search.store.InfinispanDirectoryProvider
hibernate.search.default.cache_name defaultLuceneIndexes
hibernate.search.Animal.cache_name AnimalsLuceneIndex
Sanne
14 years, 1 month
Release of commons annotations
by Emmanuel Bernard
Unless anybody complains, I will release a final version of commons annotations so that Core can rely on a final version.
14 years, 1 month
weird LockTest regression when running with Oracle
by Scott Marlow
I ran org.hibernate.ejb.test.lock.LockTest and get a weird "ORA-04092:
cannot COMMIT in a trigger" failure in:
testLockOptimistic(org.hibernate.ejb.test.lock.LockTest)
testLockWrite(org.hibernate.ejb.test.lock.LockTest)
testLockWriteOnUnversioned(org.hibernate.ejb.test.lock.LockTest)
testLockPessimisticForceIncrement(org.hibernate.ejb.test.lock.LockTest)
testLockOptimisticForceIncrement(org.hibernate.ejb.test.lock.LockTest)
testContendedPessimisticReadLockTimeout(org.hibernate.ejb.test.lock.LockTest)
testContendedPessimisticWriteLockTimeout(org.hibernate.ejb.test.lock.LockTest)
testContendedPessimisticWriteLockNoWait(org.hibernate.ejb.test.lock.LockTest)
testQueryTimeout(org.hibernate.ejb.test.lock.LockTest)
test failures are here http://pastebin.com/F07aBFvm
Did anyone commit changes that could impact the above tests? I'm also
wondering if my oracle test database is hosed somehow (using
-Poracle11gRAC).
Thanks for any advice. This is blocking me from fixing HHH-4972.
Scott
14 years, 1 month
missing reference documentation for Hibernate Search beta
by Sanne Grinovero
Hello,
I am seeing an increasing rate of questions on the Search forum about
well documented stuff;
I just noticed that I can't point them to the documentation is it's not there.
I could edit the wiki myself to add some URL, but I can't find out the
missing link either as it's all redirecting now to jboss.org,
and it appears to be missing.
could someone look into this?
Thanks,
Sanne
14 years, 1 month
how to get and build 3.2.3 stable release of Hibernate Tools
by Michel Loiseleur
Hi *,
I am trying to find and build source code of Hibernate Tools for
eclipse, in previous production version : 3.2.3. This is the one
contained in JbossTools 2.1.1
I have found this page, https://www.hibernate.org/268.html, saying that
the sources are on jbosstools svn. I have searched a lot, but found
nothing like a 3.2.3 release of HibernateTools.
You can see in my attachment, there's a lot of 3.2.0betaX, 3.1 or 3.3
but no sign of 3.2.3 source code.
I have also looked on the download JbossTools page, but there's no
package of JBossTools-src or JBossTools-source for this version. I have
seen only JBosstools-source-3.0.0, containing 3.2.4 version.
Does anyone have a clue about this ?
Regards,
--
Loiseleur Michel
Directeur de l'OSSA
Linagora / 27, rue de Berri / 75008 PARIS
Tel/Fax : 01 58 18 68 41 / 01 58 18 68 29
http://www.08000linux.com/ | http://www.tosca-project.net
"Ce n'est pas le logiciel qui est libre, c'est vous"
14 years, 1 month