Red Hat

In Relation To Infinispan

In Relation To Infinispan

JavaOne, JUDCon and Devoxx 2011

Posted by    |       |    Tagged as CDI Events Infinispan

This autumn I'm speaking at JavaOne (2nd - 6th October in San Francisco), JUDCon London (31st October, 1st November) and Devoxx (14th - 18th November).

  • Introducing Contexts and Dependency Injection 1.1 - technical session in which I'll overview some of the changes coming in CDI 1.1
  • CDI Today and Tomorrow - panel session on CDI with David Blevins, Arun Gupta, Sivakumar Thyagarajan and Reza Rahman
  • Making Java EE Cloud-Friendly: JSR 347, Data Grids for the Java Platform - BOF with Manik Surtani
JUDCon London
  • Java EE in the Cloud - a technical session in which I'll show you how to use Java EE in the cloud, using Red Hat's OpenShift Platform-as-a-Service
  • Using Infinispan as a remote data store - a technical session with Galder Zamarreño in which we'll show you how to use Infinispan as a remote data store on Red Hat's OpenShift Platform-as-a-Service, with a client app written using CDI.

JUDCon is the official JBoss Users and Developers Conference, and is great value at £100 for a day - so if you near London, I recommend registering today!



Hibernate Search 3.4.0.CR2

Posted by    |       |    Tagged as Hibernate Search Infinispan

We decided to insert another candidate release in the roadmap for two improvements which where too good to leave out

  • Lucene 3.1
  • Smart object graph analysis to skip expensive operations

As usual download links are here, as are instructions for Maven users. In case you spot some issue, the issue tracker didn't move either, or use the forums for questions.

using Apache Lucene 3.1

Finally released, we've been waiting long for it so that in just a week we where able to provide you with a compatible version of Hibernate Search.

As it seems the usual business with Lucene, many APIs changed. The good news is that it seems Hibernate Search was able to shield users from all breaking changes: code-wise, it's a drop-in replacement to previous versions.

Some things to consider during the migration:

  • It's possible that some Analyzers from Lucene and Solr extensions where moved around to other jars, but if you're depending to hibernate-search-analyzers via Maven, again it looks like you shouldn't need to change anything.
  • The max_field_length option is not meaningful anymore, see the docs on how to implement something similar if needed.
  • Hibernate Search 3.4.0.CR2 actually requires Lucene 3.1

more performance optimizations

Besides the nice boost inherited from the updated Lucene, our internal engine also got smarter.

It figures possible work to skip in the objects graph, being now much better when reacting to collections update events. See HSEARCH-679 for the hairy details, and many thanks to Tom Waterhouse for a complex functional test and the hard work of convincing me of the importance of this improvement.

Infinispan integration

There are several interactions between Hibernate Search and Infinispan, above the most obvious usage of Infinispan as a second level cache you can also:

Cluster indexes via Lucene

Nothing changed in our code, just a reminder that it's possible to replicate or distribute the Lucene indexes on an Infinispan grid, and it is compatible with both Infinispan 4.2.1.FINAL and with 5.0.0.BETA1

Infinispan Query

In Infinispan 5 the query engine is Hibernate Search itself: the integration just got much better, making it easier to use and exposing all features from latest Search versions, including for example Faceting and clustering via Infinispan itself. More improvements coming, especially documentation.

join us for JUDCon!

I'm going to talk about this integration at JUDCon 2011, in Boston, May 2-3 during the talk Advanced Queries on the Infinispan Data Grid, see you there!

This is the latest release before Hibernate Search 3.3 Final. Please test it before next tuesday as we have change some sensitive parts (for better performance).

This release comes with three major changes:

  • a complete revamp of the queuing algorithm. For complex domain models, you should see a big (as in night and day) performance improvement, in particular if you have many indexed associations (we have more to come by the way but that will be for 3.4).
  • a brand new Infinispan-based Lucene directory provider (I'm sure Sanne will blog about it)
  • a major documentation cleanup: now is the time to read it :)

We have also fixed a few issues and incompatibilities, in particular:

  • with Seam 2.2
  • with JBoss AS 6 (MassIndexer)

Check out the new release on's Maven repository or download the distribution. You can also read the documentation.

If you find an issue, you know the way.


PS: Many thanks to my partners in crime, Hardy and Sanne for this fight against Murphy's law today.

PPS: Many thanks to the Git and GitHub contributors, you saved our day.

Just in time for the holidays and New Year we present to you Episode 7 of JBoss Asylum

This one is a recording Emmanuel and I did at Devoxx with Manik Surtani on the topic of Infinispan.

We managed to cover a lot of ground in this one about Clustering, scalability, distributed caching, massive indexing and queryable caches via Hibernate Search.

We even let Manik explain what Infinispan is and what he thinks about Devoxx.

Grab it from The Asylum Episode 7

back to top