Commit Graph

104 Commits

Author SHA1 Message Date
Ryan McKinley 9a9d11385c SOLR-20: Adding a java client. The client includes two implementaions: CommonsHttpSolrServer.java and EmbeddedSolrServer.java
There are major changes to build.xml -- these should be closely reviewed.

This includes a test that will start jetty and run tests against the example solr install.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547436 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 22:53:25 +00:00
Ryan McKinley b4d1694ef7 SOLR-135: refactoring common classes into a "common" package. This commit moves the files (and updates the imports).
THIS BREAKS API COMPATIBILITY!!!

the next commit will put stub classes in place where the missing classes are.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547101 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 03:26:18 +00:00
Ryan McKinley 817c3d5bab adding svnversion to Implementation-Version
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544006 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 23:04:28 +00:00
Yonik Seeley b31cb889b7 bump trunk version to 1.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542877 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 16:56:36 +00:00
Chris M. Hostetter 0f5fea7c1f include the example/logs/ dir in the package, but exclude it's contents
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542765 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 06:45:56 +00:00
Yonik Seeley 358055ce21 new jetty needs example/logs dir, so package it
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542758 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 05:46:36 +00:00
Chris M. Hostetter 1e5e40cb9c SOLR-238: make tutorial explicit about the version it applies to
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542626 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:16:09 +00:00
Otis Gospodnetic 9f16bb262d - Typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539097 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 20:00:47 +00:00
Ryan McKinley d75a031c5e fixing a request parsing bug. When posting "application/x-www-form-urlencoded" and including a charset, application/x-www-form-urlencoded; charset=utf-8, the parser would treat the body as raw content.
This includes tests to repeat the error.

It also adds easymock.jar to lib, and excludes it from distribution.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535548 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 17:14:22 +00:00
Chris M. Hostetter c233b1ad83 fail on javadoc errors so we won't get any future builds without javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535333 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 17:56:18 +00:00
Chris M. Hostetter db98c1dc64 tweak so 'ant test' output is brief by default in both ant 1.6.5 and 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533237 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 21:52:31 +00:00
Erik Hatcher 4ac02f06f8 SOLR-86: SimplePostTool, contributed by Bertrand Delecretaz
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 21:30:03 +00:00
Erik Hatcher 33c0b65e47 SOLR-79: Add system property ${<sys.prop>[:<default>]} substitution for
configuration files loaded, including schema.xml and solrconfig.xml.
    (Erik Hatcher with inspiration from Andrew Saar)



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508485 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:42:49 +00:00
Erik Hatcher b631c61ad3 Add ability to see details of test failures by adding -Djunit.details to the command-line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498333 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 14:56:35 +00:00
Yonik Seeley 1c62f43aaf remove incubating from README/build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497250 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 23:46:30 +00:00
Chris M. Hostetter fc9b7af572 refactoring some redundency with the junit check, also stealing the more useful failure message from lucene-java's common-build.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493229 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 23:14:26 +00:00
Yoav Shapira 445eca12ec test for JUnit presence, and fail with an informative message if JUnit is not present for the build. Somewhat surprisingly, we need JUnit for the core compile target, as opposed to just the compileTests target, so do that test in compile as well. Also a minor language improvement in tutorial.xml for the web site.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@490031 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 15:07:37 +00:00
Yonik Seeley 43fb64bb80 set exe bits for zip too
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488067 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 22:28:56 +00:00
Chris M. Hostetter c2946f7e44 explicitly set executable bit on scripts when packaging tgz release artifact
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488054 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 21:38:20 +00:00
Yonik Seeley c900566f79 bump version numbers
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487935 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 03:37:59 +00:00
Yonik Seeley fe6343a808 crlf text files in zip archive
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487885 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 21:08:42 +00:00
Chris M. Hostetter 9d29a06cf5 added copy of the website to the distribution, and added some verbage to the README.txt file so it would be more usefull to people downloading distributions
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487638 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 19:53:10 +00:00
Chris M. Hostetter 636477db58 build.xml cleanup: removed some targets that were not longer useful, clarified the descriptions of some targets, added a macro to build the MD5 checksum files as part of hte package target
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@484780 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 21:01:58 +00:00
Chris M. Hostetter ec9f977a90 add description to example target
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@483882 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:32:57 +00:00
Chris M. Hostetter db54dcf890 war now contains the solr jar, instead of the direct class files ... this also allows us to display the MANIFEST.MF version info on registry.jsp (it can't read from the WAR's manifest for some reason)
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@483872 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:01:51 +00:00
Bertrand Delacretaz 58fc48e498 make 'ant example' more visible and self-explaining
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@483871 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 07:48:20 +00:00
Chris M. Hostetter fc9694bd2f new numeric build property specversion added so we can ensure our manifest files have a purely numeric Specification-Version
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@482538 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 07:34:22 +00:00
Yonik Seeley 07918af75d change ver to 1.1-dev
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481687 13f79535-47bb-0310-9956-ffa450edef68
2006-12-03 02:14:24 +00:00
Yonik Seeley 1275a2bd98 put license and notice in solr jar and war
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481314 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 17:40:39 +00:00
Chris M. Hostetter c5dbbf9f4a SOLR-3 Removed src/apps containing the legacy SolrTest app
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@480683 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 18:58:27 +00:00
Chris M. Hostetter 1900dbebbb first pass at a decent manifest file for our JAR and WAR
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@480436 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:08:17 +00:00
Yonik Seeley ea57196686 prepend apache to name, add tgz when packaging
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@480259 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 22:36:42 +00:00
Yonik Seeley 0546616464 ASF license headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@473134 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:13:58 +00:00
Erik Hatcher af0d115a76 Add description to javadoc and test-reports targets, and add more output to <junit>
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@442993 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 14:33:28 +00:00
Yonik Seeley e63135a59f new OpenBitSet, BitDocSet changes to use it, HashDocSet size params moved to the DocSetHitCollector: SOLR-15
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@413324 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 16:05:12 +00:00
Chris M. Hostetter 4f4219196f more improvements to javadocs
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@412029 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 07:53:40 +00:00
Chris M. Hostetter e42880a5dc first significant push at improving javadocs for interfaces/classes used heavily by request handler plugins
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@409900 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 00:41:33 +00:00
Chris M. Hostetter 2fbda0c197 minor javadoc tweaks to reduce warnings
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@409886 13f79535-47bb-0310-9956-ffa450edef68
2006-05-27 21:55:39 +00:00
Chris M. Hostetter f5874a38f3 minor cleanup of existing javadocs to reduce warnings
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@409791 13f79535-47bb-0310-9956-ffa450edef68
2006-05-27 01:35:44 +00:00
William Au dd8d4e28db fixed scripts permission in example
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@405459 13f79535-47bb-0310-9956-ffa450edef68
2006-05-09 16:27:51 +00:00
William Au 2e492c27b1 copy scripts into example
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@399691 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 12:53:31 +00:00
Chris M. Hostetter c2338fca20 adding neccessary SolrConfig hooks so TestHarness and unit tests can specify arbitrary solrconfig.xml files, modified unit tests to demonstrate this -- per SOLR-3 and SOLR-8
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@395148 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 06:00:20 +00:00
Chris M. Hostetter b2aca12c43 SOLR-3 - a general purpose test harness, JUnit base class, and migrated version of SolrTest's newtest.txt to JUnit
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@393142 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 04:36:46 +00:00
Yonik Seeley 039f7c853a add debugging info by default so we get linenumbers in stacktraces
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@387984 13f79535-47bb-0310-9956-ffa450edef68
2006-03-23 01:00:38 +00:00
Yonik Seeley 03009fad6b temporary fix for solr.war missing in example
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@381199 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 23:13:52 +00:00
Chris M. Hostetter 9185558954 code requires 1.5, so be explicit in build.xml to cause a meaningful failure
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@380879 13f79535-47bb-0310-9956-ffa450edef68
2006-02-25 01:21:36 +00:00
Yonik Seeley d61f5dcc8f document "ant example"
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@380243 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 22:20:55 +00:00
Yonik Seeley d0edbc44f3 new targets javadocs, nightly, changes to other targets
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@378666 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 00:17:44 +00:00
Yonik Seeley 6e454e8330 add example and dist-example targets to build.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@378133 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 01:05:55 +00:00
Yonik Seeley d1e8ad24c7 move SolarTest to SolrTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@375743 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 22:09:17 +00:00
Yonik Seeley d978defacf make apps/SolarTest runnable via ant test
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@375736 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 22:04:39 +00:00
Yonik Seeley 00de122b8f remove lucene package and lucene_extras dir, FieldSortedHitQueue is now public in lucene.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@375308 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 16:24:21 +00:00
Yoav Shapira e818051f18 It semi-works now, but some cleanup still needed, especially around lucene_extras and the unit tests conversion to JUnit.
BTW, why is the XPP jar named with an O (the letter) instead of a 0 (the digit zero) in the version?


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@373320 13f79535-47bb-0310-9956-ffa450edef68
2006-01-29 15:50:23 +00:00
Yoav Shapira b663f5916a Initial version of build.xml -- not working yet, but I need to commit here since there's no JDK 1.5 on minotaur, and I'll continue on my laptop to make it work.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@373315 13f79535-47bb-0310-9956-ffa450edef68
2006-01-29 15:16:56 +00:00