Skip to content

Apache Lucene open-source search software

SOLR-1314: cleans up Carrot2 implementation and upgrades it to latest release

Grant Ingersoll720656ac1205
diff --git a/contrib/clustering/CHANGES.txt b/contrib/clustering/CHANGES.txt
new file mode 100644
index 00000000000..8de6fec0094
--- /dev/null
+++ b/contrib/clustering/CHANGES.txt
@@ -0,0 +1,14 @@
+Apache Solr Clustering Implementation
+
+Intro:
+
+See http://wiki.apache.org/solr/ClusteringComponent
+
+CHANGES
+
+$Id:$
+
+================== Release 1.4-dev ==================
+
+Solr Clustering will be released for the first time in Solr 1.4. See http://wiki.apache.org/solr/ClusteringComponent
+ for details on using.
\ No newline at end of file
diff --git a/contrib/clustering/lib/carrot2-mini-3.0.1.jar b/contrib/clustering/lib/carrot2-mini-3.0.1.jar
deleted file mode 100644
index fa4153772e0..00000000000
--- a/contrib/clustering/lib/carrot2-mini-3.0.1.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[06a00de18c7ed6f96313327cc435db48975d9e19] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/carrot2-mini-3.1.0.jar b/contrib/clustering/lib/carrot2-mini-3.1.0.jar
new file mode 100644
index 00000000000..34cc9bc1e09
--- /dev/null
+++ b/contrib/clustering/lib/carrot2-mini-3.1.0.jar
@@ -0,0 +1,2 @@
+AnyObjectId[5ca86c5e72b2953feb0b58fbd87f76d0301cbbf6] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/ehcache-1.6.0-beta3.jar b/contrib/clustering/lib/ehcache-1.6.0-beta3.jar
deleted file mode 100644
index 766b6afa988..00000000000
--- a/contrib/clustering/lib/ehcache-1.6.0-beta3.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[bb1dcd314deb13c412f2eab8abd54784d36ebd5a] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/ehcache-1.6.2.jar b/contrib/clustering/lib/ehcache-1.6.2.jar
new file mode 100644
index 00000000000..37d60601738
--- /dev/null
+++ b/contrib/clustering/lib/ehcache-1.6.2.jar
@@ -0,0 +1,2 @@
+AnyObjectId[85a0ab428be7c8913c120aa932a3d78f705fa73a] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/google-collections-1.0-rc2.jar b/contrib/clustering/lib/google-collections-1.0-rc2.jar
new file mode 100644
index 00000000000..fea040f447f
--- /dev/null
+++ b/contrib/clustering/lib/google-collections-1.0-rc2.jar
@@ -0,0 +1,2 @@
+AnyObjectId[63dc866c7ad756bbd02ccd89cb9a8a5a61852778] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/google-collections.jar b/contrib/clustering/lib/google-collections.jar
deleted file mode 100644
index 5f0dea97ce1..00000000000
--- a/contrib/clustering/lib/google-collections.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[967c8045c23297a8e7fd4fe565f71734e48fe3bb] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/jackson-0.9.2-patched.jar b/contrib/clustering/lib/jackson-0.9.2-patched.jar
deleted file mode 100644
index e767fb7feae..00000000000
--- a/contrib/clustering/lib/jackson-0.9.2-patched.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[cce3e8929ae214ea1221890ea4cd8d67d4b54fde] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/jackson-core-asl-0.9.9-6.jar b/contrib/clustering/lib/jackson-core-asl-0.9.9-6.jar
new file mode 100644
index 00000000000..13b2de58b96
--- /dev/null
+++ b/contrib/clustering/lib/jackson-core-asl-0.9.9-6.jar
@@ -0,0 +1,2 @@
+AnyObjectId[f6f425d4a0c127d5249d939b7a93b1250d454cdd] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/lib/jackson-mapper-asl-0.9.9-6.jar b/contrib/clustering/lib/jackson-mapper-asl-0.9.9-6.jar
new file mode 100644
index 00000000000..955b2f64f29
--- /dev/null
+++ b/contrib/clustering/lib/jackson-mapper-asl-0.9.9-6.jar
@@ -0,0 +1,2 @@
+AnyObjectId[c1652907ebda1e69895d85730f4fc83e1160306e] was removed in git history.
+Apache SVN contains full history.
\ No newline at end of file
diff --git a/contrib/clustering/src/test/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngineTest.java b/contrib/clustering/src/test/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngineTest.java
index a17d02b1a9e..c418bec6511 100644
--- a/contrib/clustering/src/test/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngineTest.java
+++ b/contrib/clustering/src/test/java/org/apache/solr/handler/clustering/carrot2/CarrotClusteringEngineTest.java
@@ -40,11 +40,11 @@ import java.util.List;
@SuppressWarnings("unchecked")
public class CarrotClusteringEngineTest extends AbstractClusteringTest {
public void testCarrotLingo() throws Exception {
- checkEngine(getClusteringEngine("default"), 9);
+ checkEngine(getClusteringEngine("default"), 10);
}
public void testCarrotStc() throws Exception {
- checkEngine(getClusteringEngine("stc"), 2);
+ checkEngine(getClusteringEngine("stc"), 1);
}
public void testWithoutSubclusters() throws Exception {