SOLR-2282: fix concurrency for distributed search test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059426 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2011-01-16 00:12:58 +00:00
parent d08d464528
commit 12a35431a9
4 changed files with 4 additions and 7 deletions

View File

@ -18,9 +18,9 @@ $Id$
This release of C2 also does not have a specific Lucene dependency. (Stanislaw Osinski, gsingers)
* SOLR-2282: Add distributed search support for search result clustering.
(Brad Giaccio, koji)
(Brad Giaccio, Dawid Weiss, Stanislaw Osinski, rmuir, koji)
================== Release 1.4.0 ==================
Solr Clustering will be released for the first time in Solr 1.4. See http://wiki.apache.org/solr/ClusteringComponent
for details on using.
for details on using.

View File

@ -124,7 +124,7 @@ public class CarrotClusteringEngine extends SearchClusteringEngine {
// is included in the code base of Solr, so that it's possible to refactor
// the Lucene APIs the factory relies on if needed.
initAttributes.put("PreprocessingPipeline.languageModelFactory",
new LuceneLanguageModelFactory());
LuceneLanguageModelFactory.class);
this.controller.init(initAttributes);
this.idFieldName = core.getSchema().getUniqueKeyField().getName();

View File

@ -200,7 +200,7 @@ public class LuceneLanguageModelFactory extends DefaultLanguageModelFactory {
logger
.warn(
"Could not instantiate Lucene stemmer for Arabic, clustering quality "
+ "of Chinese content may be degraded. For best quality clusters, "
+ "of Arabic content may be degraded. For best quality clusters, "
+ "make sure Lucene's Arabic analyzer JAR is in the classpath",
e);
}

View File

@ -20,9 +20,6 @@ package org.apache.solr.handler.clustering;
import org.apache.solr.BaseDistributedSearchTestCase;
import org.apache.solr.common.params.CommonParams;
import org.junit.Ignore;
@Ignore("FIXME: test fails on hudson")
public class DistributedClusteringComponentTest extends
BaseDistributedSearchTestCase {