From cd490f915a005083c4418aa4fbf2250321e90b77 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Thu, 18 Mar 2010 04:39:17 +0000 Subject: [PATCH] switch Solr to really run off lucene trunk rather than just copy jars - still needs some love (too many duplicate lucene refs for one) but its a start git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924634 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 18 ----- solr/build.xml | 81 ++++++++++++++++--- solr/common-build.xml | 18 ++--- solr/contrib/clustering/build.xml | 15 +++- solr/contrib/dataimporthandler/build.xml | 17 +++- solr/contrib/extraction/build.xml | 15 +++- solr/contrib/velocity/build.xml | 15 +++- solr/lib/lucene-analyzers-3.1-dev.jar | 2 - solr/lib/lucene-core-3.1-dev.jar | 2 - ...lucene-fast-vector-highlighter-3.1-dev.jar | 2 - solr/lib/lucene-highlighter-3.1-dev.jar | 2 - solr/lib/lucene-memory-3.1-dev.jar | 2 - solr/lib/lucene-misc-3.1-dev.jar | 2 - solr/lib/lucene-queries-3.1-dev.jar | 2 - solr/lib/lucene-spatial-3.1-dev.jar | 2 - solr/lib/lucene-spellchecker-3.1-dev.jar | 2 - 16 files changed, 136 insertions(+), 61 deletions(-) delete mode 100644 solr/lib/lucene-analyzers-3.1-dev.jar delete mode 100644 solr/lib/lucene-core-3.1-dev.jar delete mode 100644 solr/lib/lucene-fast-vector-highlighter-3.1-dev.jar delete mode 100644 solr/lib/lucene-highlighter-3.1-dev.jar delete mode 100644 solr/lib/lucene-memory-3.1-dev.jar delete mode 100644 solr/lib/lucene-misc-3.1-dev.jar delete mode 100644 solr/lib/lucene-queries-3.1-dev.jar delete mode 100644 solr/lib/lucene-spatial-3.1-dev.jar delete mode 100644 solr/lib/lucene-spellchecker-3.1-dev.jar diff --git a/build.xml b/build.xml index cdd57ffd2d8..3046f04ee87 100644 --- a/build.xml +++ b/build.xml @@ -33,24 +33,6 @@ - - - - - - - - - - - - - - - - - - diff --git a/solr/build.xml b/solr/build.xml index 334061e66d1..1267da8be36 100644 --- a/solr/build.xml +++ b/solr/build.xml @@ -87,7 +87,7 @@ - + @@ -116,12 +116,24 @@ + + + + + + + + + + + + - + + depends="compile-lucene, compile-solrj,init-forrest-entities"> @@ -339,18 +351,15 @@ - - - - + + - @@ -396,7 +405,7 @@ failureProperty="tests.failed" dir="src/test/test-files/" > - + @@ -492,7 +501,7 @@ + depends="compile, make-manifest, dist-jar, dist-solrj, lucene-jars-to-solr"> + + + @@ -637,6 +649,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/solr/common-build.xml b/solr/common-build.xml index 0ee504de3a8..5cca8b89dc0 100644 --- a/solr/common-build.xml +++ b/solr/common-build.xml @@ -15,13 +15,13 @@ limitations under the License. --> - + This file is designed for importing into a main build file, and not intended for standalone use. - + @@ -42,7 +42,7 @@ - + - - + + @@ -131,7 +131,7 @@ - + @@ -168,7 +168,7 @@ - + - + diff --git a/solr/contrib/clustering/build.xml b/solr/contrib/clustering/build.xml index b9a18f07024..4642103a47b 100644 --- a/solr/contrib/clustering/build.xml +++ b/solr/contrib/clustering/build.xml @@ -30,11 +30,24 @@ + + + + + + + + + + + + + @@ -106,7 +119,7 @@ + manifest="../../${dest}/META-INF/MANIFEST.MF"/> diff --git a/solr/contrib/dataimporthandler/build.xml b/solr/contrib/dataimporthandler/build.xml index b2832a79acb..107d1af7d48 100644 --- a/solr/contrib/dataimporthandler/build.xml +++ b/solr/contrib/dataimporthandler/build.xml @@ -24,6 +24,18 @@ + + + + + + + + + + + + Data Import Handler @@ -37,6 +49,7 @@ + @@ -103,9 +116,9 @@ + manifest="../../${dest}/META-INF/MANIFEST.MF" /> + manifest="../../${dest}/META-INF/MANIFEST.MF" /> diff --git a/solr/contrib/extraction/build.xml b/solr/contrib/extraction/build.xml index 471389a1e86..510970249ee 100644 --- a/solr/contrib/extraction/build.xml +++ b/solr/contrib/extraction/build.xml @@ -25,6 +25,18 @@ + + + + + + + + + + + + Solr Integration with Tika for extracting content from binary file formats such as Microsoft Word and Adobe PDF. @@ -34,6 +46,7 @@ + @@ -63,7 +76,7 @@ + manifest="../../${dest}/META-INF/MANIFEST.MF"> diff --git a/solr/contrib/velocity/build.xml b/solr/contrib/velocity/build.xml index 3f2b71209f4..a0faaa8a8d4 100644 --- a/solr/contrib/velocity/build.xml +++ b/solr/contrib/velocity/build.xml @@ -23,6 +23,18 @@ + + + + + + + + + + + + Solritas: Velocity Response Writer @@ -32,6 +44,7 @@ + @@ -61,7 +74,7 @@ + manifest="../../${dest}/META-INF/MANIFEST.MF"> diff --git a/solr/lib/lucene-analyzers-3.1-dev.jar b/solr/lib/lucene-analyzers-3.1-dev.jar deleted file mode 100644 index cef807be50e..00000000000 --- a/solr/lib/lucene-analyzers-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[b0cbcc9f623660e1a8ccdf2d22e0f9847687b260] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-core-3.1-dev.jar b/solr/lib/lucene-core-3.1-dev.jar deleted file mode 100644 index 2be38db7b13..00000000000 --- a/solr/lib/lucene-core-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[a3e0b5ba94c0be4f1b90678a3edad30f5bda7bda] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-fast-vector-highlighter-3.1-dev.jar b/solr/lib/lucene-fast-vector-highlighter-3.1-dev.jar deleted file mode 100644 index 2059a2fdbc5..00000000000 --- a/solr/lib/lucene-fast-vector-highlighter-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[9a1be03163402a081ca97f77cbc9fb9e0ece9ea8] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-highlighter-3.1-dev.jar b/solr/lib/lucene-highlighter-3.1-dev.jar deleted file mode 100644 index be75c98b37d..00000000000 --- a/solr/lib/lucene-highlighter-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[80a77c9bf82d5e170629e022160ef33f7328a6d1] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-memory-3.1-dev.jar b/solr/lib/lucene-memory-3.1-dev.jar deleted file mode 100644 index d491cff09a8..00000000000 --- a/solr/lib/lucene-memory-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[3b4288125250d3860d6323669c79b9e8a89f642f] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-misc-3.1-dev.jar b/solr/lib/lucene-misc-3.1-dev.jar deleted file mode 100644 index 2131ca2451b..00000000000 --- a/solr/lib/lucene-misc-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[55da71e9537b5d05aee891cdf24abcfeb516ac5b] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-queries-3.1-dev.jar b/solr/lib/lucene-queries-3.1-dev.jar deleted file mode 100644 index 610dde528ca..00000000000 --- a/solr/lib/lucene-queries-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[d02ab15d502b54929e9129c923de9d52ae8e2b20] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-spatial-3.1-dev.jar b/solr/lib/lucene-spatial-3.1-dev.jar deleted file mode 100644 index 0b3173e91df..00000000000 --- a/solr/lib/lucene-spatial-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[b6add459cd59cde7e7cbf95b56cf57cab172d0e9] was removed in git history. -Apache SVN contains full history. \ No newline at end of file diff --git a/solr/lib/lucene-spellchecker-3.1-dev.jar b/solr/lib/lucene-spellchecker-3.1-dev.jar deleted file mode 100644 index 40c3bc32b8d..00000000000 --- a/solr/lib/lucene-spellchecker-3.1-dev.jar +++ /dev/null @@ -1,2 +0,0 @@ -AnyObjectId[42b53bd657ba935286f349d24ebb7641bd9e3cc7] was removed in git history. -Apache SVN contains full history. \ No newline at end of file