-->
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: How to prevent creating index directoriess with HSearch
PostPosted: Wed Jan 09, 2008 2:38 pm 
Newbie

Joined: Sat Dec 30, 2006 3:07 pm
Posts: 16
Hibernate version:
3.2.5

Mapping documents:
Annotations 3.3.0

Name and version of the database you are using:
Mysql 5.0

I Have a domain model which is used on several machines, with different projects.

I have a project that imports Amazon Data which uses HSearch

I also have a web application that just uses the domain model.

I was wondering if there was a way to configure HSearch so that the directories for the indexes will only be created for the amazon project.

I manually index the amazon data, and I thought that the directories would not be created until I index one of the objects or search for one, but it happens when I create the session factory.

Thanks

Kal


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 09, 2008 7:35 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Naive question, why not running the indexing part before starting your website (even if it's an empty run)? That way the directories will already be there.

_________________
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.