• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Search In Action Apache Lucene & SOLR

 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Search with Hibernate ignites some questions in my mind:

1- How can we distinguish search using Apache Lucene and with Hibernate?
2- Is it fast if we compare this with apache lucene or SOLR on the same
matrices?
3- Can we integrate hibernate with apache lucene to make it work better?


Congrats Emmanuel Bernard & John Griffin coming up with a good book,
though don't know much about.
 
John Griffin
author
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chandra,

I'll answer your questions in reverse order.

3. This is exactly what Hibernate Search does. It uses Lucene as its engine but abstracts all the low level work you must do when using Lucene alone. In addition we provide clustered searching out of the box with some simple configuration options. We also solve the 'pessimistic lock' update problem of Lucene. There are many more benefits too numerous to mention.

2. I cannot speak for SOLR. I haven't used it but we are as fast as Lucene is when querying and ease of use of Hibernate Search should take it 'over the top' with implementors.

1. I'm not quite sure I know what you are asking with this question. Can you be a little more specific?

John G
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks John,

I got answer to my first question, as you said It uses Lucene as its engine
but abstracts all the low level work you must do when using Lucene alone.


Relevancy scoring configuration should be more easy in configuration, and
customized as I hope it does with Hibernate.

How easy and customizable will it be configuring relevancy scoring?
[ December 08, 2008: Message edited by: Chandra Bhatt ]
 
John Griffin
author
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chandra,

Changing relevance scoring is fairly easy. Getting it correct is another story. I wrote chapter 12 which deals exclusively with scoring modification and can be an intense read. It covers overriding the DefaultSimilarity class and writing your own Weight and Score classes.

The key thing to remember is changing it is easy, getting at you want is hard. You will have to test every little change to make sure it's what you want.

Hope this helps.

John G.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is SOLR
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
APACHE SOLR
 
super sonic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,
You had mentioned about your book in many of your posts, i am unable to find the book.
i want to explore more about solr relevance score.any help is most welcome..

Thanks
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You had mentioned about your book in many of your posts, i am unable to find the book.
What did you search for? Did you google for the author's name and the book title?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic