-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Rebuilding Lucene index files.........
PostPosted: Fri Apr 27, 2007 9:27 pm 
Newbie

Joined: Fri Apr 27, 2007 9:17 pm
Posts: 2
I am using hibernate as a Search in my Web application. Everything works fine as regards to Search. But I have a problem - What would i need to do if the lucene index files get corrupted.

I would have to rebuild the index files based on the database - Can any one please advise me on a clean way to do this????


Thanks in advance

_________________
Regards,
Kiran C Sagi.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 1:39 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
fulltextSession.index(object) is the way to go.
It will force a reindexation of a given object (so looping through all the objects will reindex everything).

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.