Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Search indexing...w/ Compass

 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have an exist web application consisting of Struts + Hibernate + Spring. I want to integrate it with Hibernate Search. The problem is, I don't want the Lucene index to reside on a local file directory. I was the index to be store in the database instead. I was reading that COMPASS is the way to integrate database indexing with Hibernate Search Lucene component.

Does anyone have examples or tutorials to get me started with configuring Compass with Hibernate + Spring + Lucene?

Thanks in advance....
 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great...thanks for your suggestion. This is just what I need.

I problem I'm having now is to figure out how I can change my current search DAO that uses Hibernate Search (lucene) to Compass.

It's not clear when the index is created using Compass and how you implement the Full-text search DAO.

This is my DAO:





This is my Test class:


Thanks is Advance!!!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are good questions. Unfortunately those two links where just the first two that popped up when I did a Google search. I have not used Compass at all.

Good Luck and maybe someone else on this forum has used Compass and can help you out.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic