Skip to content
Browse files

MODE-1692 - Fixed the names of the hibernate search worker parameters

  • Loading branch information...
1 parent c5e09b9 commit a2c7d0a9966187e546910a967d6765c4ea8dd8ce @hchiorean hchiorean committed Oct 25, 2012
View
6 ...hape-jcr/src/main/java/org/modeshape/jcr/query/lucene/basic/BasicLuceneConfiguration.java
@@ -163,9 +163,9 @@ public BasicLuceneConfiguration( String repositoryName,
setProperty("hibernate.search.worker.batch_size", batchSize);
setProperty("hibernate.search.lucene_version", indexFormat);
setProperty("hibernate.search.reader.strategy", readerStrategy);
- setProperty("hibernate.search.worker.execution", mode); // sync or async
- setProperty("hibernate.search.worker.thread_pool.size", asyncThreadPoolSize);
- setProperty("hibernate.search.worker.buffer_queue.max", asyncMaxQueueSize);
+ setProperty("hibernate.search.default.worker.execution", mode); // sync or async
+ setProperty("hibernate.search.default.worker.thread_pool.size", asyncThreadPoolSize);
+ setProperty("hibernate.search.default.worker.buffer_queue.max", asyncMaxQueueSize);
for (Object keyObj : indexing.keySet()) {
String key = keyObj.toString();

0 comments on commit a2c7d0a

Please sign in to comment.
Something went wrong with that request. Please try again.