Commit Graph

23 Commits

Author SHA1 Message Date
Erik Hatcher d5bc3ec4ba add new indexinfo request capability
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498440 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 20:00:18 +00:00
Erik Hatcher 189ffc877c Push @response down into Request::Standard, because not all Ruby responses have a response key
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498439 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 19:58:54 +00:00
Erik Hatcher 18e95b18a7 Remove creating new Solr::Document in #add, as AddDocument.new already does this. This change allows a SolrDocument to be passed to #add/#update, instead of just a Hash
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498436 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 19:54:53 +00:00
Erik Hatcher 3250a9b7b9 add ASL to several files
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496983 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:37:56 +00:00
Erik Hatcher 9373fa3f45 update to facet parameter changes to Solr via SOLR-106
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496954 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:57:48 +00:00
Erik Hatcher bd3e81a1a8 add TODO discussion comment to ruby.rb
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496953 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:55:00 +00:00
Erik Hatcher 59f0a1bc46 Update example to use _text field name and have explicit require/include code too, suitable for copy/pasting right into irb to work it, and cleaned up output
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496939 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 05:44:37 +00:00
Erik Hatcher 8b963995a0 SOLR-111: add new response classes and enhance connection. one change i made was to make autocommit off by default and use a symbol for :on/:off
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 22:02:29 +00:00
Erik Hatcher ce8064d4bb temporary change, make parsed response publicly available until facets are robustly implemented. seems odd that facet response is not inside the *response* container though
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496865 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 21:29:59 +00:00
Erik Hatcher 4f85c3998b Exempt nil parameters from the Solr request
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496863 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 21:28:44 +00:00
Erik Hatcher 4c8747190b oops, broke a test, fixed when a field value does not respond to :each
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496821 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 19:01:13 +00:00
Erik Hatcher 5e4dcfa889 Allow field hash to take an array for values
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496797 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:50:55 +00:00
Erik Hatcher 162dbee7ea SOLR-108: Request::Standard cleanup (contributed by William Groppe), with slight addition to fix failing test because rows became zero instead of nil
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496551 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 00:41:47 +00:00
Erik Hatcher cde074eec5 Modeled Solr's StandardRequestHandler (qt=standard) as Solr::Request::Standard (includes common, standard, and facet parameters, but not highlighting parameters).
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496202 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 01:41:18 +00:00
Erik Hatcher c20a0cc4d8 refactor Document slightly, allowing << to take multiple fields in a Hash
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495837 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 04:31:47 +00:00
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 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
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 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 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 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 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