Thursday, May 29, 2008

Two third of Hibernate Search in Action out!

We have just pushed another set of chapters for Hibernate Search in Action and reached the symbolic limit of 2/3. Yoohoo! We have also enhanced some of the existing chapters based on the feedbacks we received and the perseverance of our editor. They have just shipped as part of the early access program available in ebook format. I am very happy with the new chapters especially the description of analyzers in chapter 5.

I describe the use of Hibernate Search and the new Solr integration (coming up in Hibernate Search 3.1) to enable synonym, phonetic, n-gram and snowball search. Snowball is an algorithm that deduces the root of a word enabling searches for words of the same family: work, working, worker will all be reduced to the same root (called stemmer). The chapter both aims at demystifying analyzers and providing a concrete approach on how to use them. I really enjoyed writing it, I hope you will like reading it.

Beyond analyzers, here is a small list of the subjects I am personally happy with in the book:

  • the introduction gives you a nice picture of what search is, why it matters nowadays and how it can be implemented in todays applications
  • custom bridges: chapter 4 gives some nice examples of custom bridges including how to write one for composite identifiers
  • mapping associations has always been a confusing subject for beginners. Chapter 4 comes with some nice diagrams that should clarify this topic
  • chapter 5 explores when and how to use synchronous indexing, asynchronous indexing and clustered indexing (through JMS) and describes what is going on under the hood

We (and by we, I mean John) also have finished the Lucene dedicated content. While Hibernate Search hides the gory details of indexing and searching, its let you use all the flexibility of Lucene queries. Understanding Lucene is key and we have added the necessary knowledge you need for your daily work with Hibernate Search.

Let us know what you think and, of course, go buy the e-book :)

6 comments:

Vinicius Carvalho said...

Way to go! I've bought your ebook and I do recommend everyone to do so :) I has not only helped us in our Hibernate Search usage, but also cleared a lot of questions we had with lucene it self.
Man, before Hibernate Search we were even considering an interceptor on hibernate to index the entities :D, thanks god we found Hibernate Search! Great work

Unknown said...

Thanks, appreciated :)

Anonymous said...

Hello, I'm really interested in the Hibernate Search / Solr integration, but I haven't found any information in the latest 3.1 beta 1 documentation, nor anywhere else.

Would you please give me some hint about where to search? In the meanwhile I should consider buying the "Hibernate Search in action" book, in which I think the Solr integration is discussed?

Unknown said...

oh sorry, the doc missed the release. I have opened a JIRA issue http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-252

This is documented in the book yes, so if you buy the early access program, go read chapter 5.

You can also look at the test suite and look for org.hibernate.search.test.analyzer.solr

Unknown said...

From 8 month i works in hibernate,now i want to use hibernate search in my project 4 full text search,can there is any link to download hibernate search in action,any help wold be highely appreceted.
Tahnks ----

Unknown said...

Check out
http://search.hibernate.org
The doc is here: http://www.hibernate.org/hib_docs/search/reference/en/html_single/
The download is here http://hibernate.org/6.html

And of course, buy Hibernate Search in Action, it's out now.