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 <result status=0></result>

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533556 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-04-29 20:28:33 +00:00
parent 0775861944
commit 53dc0b4317
1 changed files with 4 additions and 1 deletions

View File

@ -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);