Author: epbernard
Date: 2007-07-30 20:13:51 -0400 (Mon, 30 Jul 2007)
New Revision: 12856
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/reader/ReaderProviderFactory.java
Log:
HSEARCH-106 set shared as the default reader strategy
Modified:
trunk/HibernateExt/search/src/java/org/hibernate/search/reader/ReaderProviderFactory.java
===================================================================
---
trunk/HibernateExt/search/src/java/org/hibernate/search/reader/ReaderProviderFactory.java 2007-07-31
00:04:27 UTC (rev 12855)
+++
trunk/HibernateExt/search/src/java/org/hibernate/search/reader/ReaderProviderFactory.java 2007-07-31
00:13:51 UTC (rev 12856)
@@ -34,7 +34,7 @@
ReaderProvider readerProvider;
if ( StringHelper.isEmpty( impl ) ) {
//put another one
- readerProvider = new NotSharedReaderProvider();
+ readerProvider = new SharedReaderProvider();
}
else if ( "not-shared".equalsIgnoreCase( impl ) ) {
readerProvider = new NotSharedReaderProvider();