-->
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: ConcurrentMergeScheduler.setMaxThreadCount
PostPosted: Wed Sep 05, 2012 5:28 am 
Newbie

Joined: Wed Aug 22, 2012 2:02 am
Posts: 7
Hallo,

I would like to set ConcurrentMergeScheduler.setMaxThreadCount via Hibernate Search Config.
Is that possible, and if yes: How is that best done?

Best Wishes
Eva


Top
 Profile  
 
 Post subject: Re: ConcurrentMergeScheduler.setMaxThreadCount
PostPosted: Wed Sep 05, 2012 7:45 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Eva,
there is no such option, but it looks like it's very easy to add; just edit the function

Code:
org.hibernate.search.backend.impl.lucene.IndexWriterHolder.createNewIndexWriter()


to apply such an option, and org.hibernate.search.backend.spi.LuceneIndexingParameters.ParameterSet to hold a new configuration attribute.

then if you can add a unit test to cover this and make a patch of your work, I'll be glad to integrate it.

https://community.jboss.org/wiki/ContributingToHibernateSearch

_________________
Sanne
http://in.relation.to/


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.