lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r491880 - /incubator/solr/trunk/client/ruby/flare/README
Date Tue, 02 Jan 2007 18:20:20 GMT
Author: ehatcher
Date: Tue Jan  2 10:20:20 2007
New Revision: 491880

URL: http://svn.apache.org/viewvc?view=rev&rev=491880
Log:
remove redundant example code

Modified:
    incubator/solr/trunk/client/ruby/flare/README

Modified: incubator/solr/trunk/client/ruby/flare/README
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/client/ruby/flare/README?view=diff&rev=491880&r1=491879&r2=491880
==============================================================================
--- incubator/solr/trunk/client/ruby/flare/README (original)
+++ incubator/solr/trunk/client/ruby/flare/README Tue Jan  2 10:20:20 2007
@@ -12,8 +12,6 @@
   >> request = Solr::AddDocumentRequest.new(doc)
   => #<Solr::AddDocumentRequest:0x267d12c @url_path="/solr/update", @response_format=:xml,
@body="<add><doc><field name='title'>Solr Flare in Action</field><field
name='id'>529</field></doc></add>">
   >> connection = Solr::Connection.new("http://localhost:8983")
-  >> request = Solr::AddDocumentRequest.new(doc)
-  => #<Solr::AddDocumentRequest:0x265f104 @url_path="/solr/update", @response_format=:xml,
@body="<add><doc><field name='text'>Solr Flare in Action</field><field
name='id'>529</field></doc></add>">
   >> connection.send(request)
   => #<Solr::XmlResponse:0x2654c2c @raw_response="<result status=\"0\"></result>">
   >> request = Solr::UpdateRequest.new("<commit/>")  # TODO: yes, this will be
mapped as a simpler command!



Mime
View raw message