Commit Graph

541 Commits

Author SHA1 Message Date
Erik Hatcher 753ae838e8 OOify case statements in Request::Base. Added more tests to increase code coverage
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495830 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 03:36:10 +00:00
Erik Hatcher ebab2b4cad Change gem name from solr to solrb, based on personal preference. Open to discussion on this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495828 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 03:02:26 +00:00
Erik Hatcher b397f4b2be Add ASL header
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495827 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 03:01:48 +00:00
Erik Hatcher 2dc186201c SOLR-101: Refactored request classes, adding Document/Field abstractions. (contributed by Ed Summers)
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495826 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 02:53:39 +00:00
Yonik Seeley 92c5c6933c throw error for missing sort direction, sort on unindexed field: SOLR-99 SOLR-9
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495772 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:48:44 +00:00
Yonik Seeley 6e43239634 maxWarmingSearchers: SOLR-91
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495753 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:00:08 +00:00
Erik Hatcher 5f57b25a51 freeze rails edge
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495386 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 21:33:25 +00:00
Erik Hatcher 856341b092 removed a symlink file, it seems
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495354 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 19:50:44 +00:00
Erik Hatcher 2d5f7d6250 Add tests to cover the exception handling, bringing code coverage back to 100%
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495258 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 15:42:57 +00:00
Erik Hatcher 0cad261fb8 SOLR-100: added Exception handling to solrb (submitted by William Groppe)
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495223 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 13:54:22 +00:00
Erik Hatcher b3d61ea8de add RubyGem build directory, pkg, to ignores
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494791 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 11:43:20 +00:00
Chris M. Hostetter a2beac1e38 SOLR-89 new PatternReplaceFilter, TrimFilter, and corrisponding Factories
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494675 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 01:18:38 +00:00
Erik Hatcher ae6c58f278 add coverage and coverage.data ignores
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494211 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 22:00:46 +00:00
Erik Hatcher e6467d8838 a test of Solrs ruby escaping, mainly as a real example of adding a document and then searching for it
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494208 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 21:50:30 +00:00
Erik Hatcher c10a85f982 adjust test not to rely on hash ordering
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494189 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 20:43:25 +00:00
Erik Hatcher 6d0d02f41b Added TestSolrServer.wrap. Adjusted Rakefile to use .wrap method in test target, and added functional tests to code coverage run.
Test coverage now at 100%!



git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494186 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 20:23:28 +00:00
Erik Hatcher c1311749ac Add more test coverage, with the currently only uncovered code being the mocked Connection#post method
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494129 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 17:28:36 +00:00
Erik Hatcher 25d727100e Fix rcov for unit tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494119 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 16:57:36 +00:00
Erik Hatcher bfa8e6f4b8 move test_solr_server to test/functional
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494112 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 16:28:19 +00:00
Erik Hatcher 092f7375ed SOLR-97: Rakefile now supports functional and unit tests. Also added partially functioning test:coverage task
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494108 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 16:05:02 +00:00
Erik Hatcher fbc98a7eda remove data directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493727 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 14:30:11 +00:00
Erik Hatcher 3d5823fc28 ignore data directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493726 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 14:28:59 +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
Chris M. Hostetter 21b830ba5c SOLR-82 - allow default field values to be specified in the schema.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493170 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:12:18 +00:00
Mike Klaas 4202fc353f Changed the query processed by the highlighter for DisMax: instead of using the whole query
(which included boost and filter terms), the highlighting will be limited to the user's query 
terms by default.

 --This line, and those below, will be ignored--

M    CHANGES.txt
M    src/java/org/apache/solr/request/DisMaxRequestHandler.java


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492793 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 22:47:54 +00:00
Erik Hatcher 5bc0a3b009 add mock base class
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492698 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 19:18:25 +00:00
Erik Hatcher 9da08c70d7 refactor the solr mock a bit more
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492692 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 19:09:20 +00:00
Erik Hatcher 0b3fc2da6b first attempt at making a mock Solr::Connection base test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492628 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 16:40:07 +00:00
Erik Hatcher e534b04f31 Ignore the solr test data directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492584 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 14:39:55 +00:00
Erik Hatcher 0e22e6fd27 remove diagnostic puts and add ASL
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492583 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 14:39:13 +00:00
Erik Hatcher d526f56974 SOLR-95: refactored how Solr starts for tests. A few additional changes: added conf directory under test to allow the Solr test server to have its own configuration and data directory and set solr.solr.home when launching Solr.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492570 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 14:00:18 +00:00
Erik Hatcher 7641746534 SOLR-94: start Solr before tests are run, shut it down afterwards (contributed by Ed Summers). Original patch modified slightly to set the Jetty port to 8888
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492374 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:00:30 +00:00
Erik Hatcher 93635b2d34 Move solr installation from flare to solrb
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492150 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 13:53:10 +00:00
Erik Hatcher d57c97bdd7 move core ruby-solr API to client/ruby/solrb
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492143 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 13:30:57 +00:00
Erik Hatcher 4d9c4504e1 sooner rather than later, tease the Solr DSL out from the web framework
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492042 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 04:57:00 +00:00
Erik Hatcher 42ec4b2acc Fix issue with non-Rails environment from
require 'solr'

Reported by Ed Summers (edsu).



git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492019 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 02:30:09 +00:00
Erik Hatcher ed0f589bae improve README
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491883 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 18:25:02 +00:00
Erik Hatcher 69d5d408b3 ignore index dir
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491881 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 18:20:55 +00:00
Erik Hatcher e6a093f30b remove redundant example code
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491880 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 18:20:20 +00:00
Erik Hatcher 1469ed8390 add empty data directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491875 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 18:11:54 +00:00
Erik Hatcher 522c1afa69 remove index, let solr create it individually
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491838 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 16:31:39 +00:00
Erik Hatcher c6166be4e9 add log file ignores
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491830 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 16:14:48 +00:00
Erik Hatcher 4c78c098c6 add some of Rails generated directories
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491828 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 16:13:28 +00:00
Erik Hatcher 8570fa21b3 add a version of Solr under Flare too
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491827 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 16:11:42 +00:00
Erik Hatcher 01048167ae initial commit of Flare beginnings
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@491824 13f79535-47bb-0310-9956-ffa450edef68
2007-01-02 16:05:29 +00:00
Yonik Seeley 2a5ac64a26 LF endings for scripts.conf
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@490746 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 15:52:47 +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
Chris M. Hostetter e44e51ece0 SOLR-92: better handling of Attributes in DOMUtils.getText
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489961 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 01:10:00 +00:00
Bertrand Delacretaz c19acfe50f comments added to explain the role of these schema files
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489747 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:32:02 +00:00
Yonik Seeley 62658b3885 update release date in news, add link to download dir
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489446 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 19:37:51 +00:00