Author: hardy.ferentschik
Date: 2007-07-24 05:52:27 -0400 (Tue, 24 Jul 2007)
New Revision: 12807
Modified:
trunk/HibernateExt/search/src/test/org/hibernate/search/test/SearchTestCase.java
Log:
HSEARCH-67.
Setting a mergeFactor to verify that the changes work. Unfortuantely verification is based
on visual inspecition. There is no unit test yet. Maybe some mocking would help here ??
Modified:
trunk/HibernateExt/search/src/test/org/hibernate/search/test/SearchTestCase.java
===================================================================
---
trunk/HibernateExt/search/src/test/org/hibernate/search/test/SearchTestCase.java 2007-07-24
09:51:04 UTC (rev 12806)
+++
trunk/HibernateExt/search/src/test/org/hibernate/search/test/SearchTestCase.java 2007-07-24
09:52:27 UTC (rev 12807)
@@ -40,5 +40,7 @@
protected void configure(org.hibernate.cfg.Configuration cfg) {
cfg.setProperty( "hibernate.search.default.directory_provider",
RAMDirectoryProvider.class.getName() );
cfg.setProperty( Environment.ANALYZER_CLASS, StopAnalyzer.class.getName() );
+ cfg.setProperty( "hibernate.search.default.merge_factor", "100" );
+ cfg.setProperty( "hibernate.search.default.max_buffered_docs",
"1000" );
}
}
Show replies by date