• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate Search indexing...w/ Compass

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic