From 53dc0b43176a4e42a367bc06f1a0e2c3503b1d5c Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Sun, 29 Apr 2007 20:28:33 +0000 Subject: [PATCH] removing response information prior to solr1.2 -- in the future, we should offer a more useful response format. For now, this contains the same level of information as solr1.1 git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533556 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/handler/XmlUpdateRequestHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java index 279a944e2d6..58945a89b68 100644 --- a/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java +++ b/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java @@ -51,6 +51,7 @@ public class XmlUpdateRequestHandler extends RequestHandlerBase private XmlPullParserFactory factory; + @Override public void init(NamedList args) { super.init( args ); @@ -80,7 +81,9 @@ public class XmlUpdateRequestHandler extends RequestHandlerBase for( ContentStream stream : req.getContentStreams() ) { Reader reader = stream.getReader(); try { - rsp.add( "update", this.update( reader ) ); + NamedList out = this.update( reader ); + // TODO -- return useful info. + // rsp.add( "update", out ); } finally { IOUtils.closeQuietly(reader);