mirror of https://github.com/apache/lucene.git
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:
parent
0775861944
commit
53dc0b4317
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue