fieldName does not make sense as the key, use sourceInfo instead

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@707990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2008-10-26 13:23:43 +00:00
parent 0b94b4a0cb
commit 079c1d1b9b
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,8 @@ Other Changes
2. SOLR-805: Upgraded to Lucene 2.9-dev (r707499) (koji)
3. DumpRequestHandler (/debug/dump): changed 'fieldName' to 'sourceInfo'. (ehatcher)
Build
----------------------

View File

@ -42,7 +42,7 @@ public class DumpRequestHandler extends RequestHandlerBase
for( ContentStream content : req.getContentStreams() ) {
NamedList<Object> stream = new SimpleOrderedMap<Object>();
stream.add( "name", content.getName() );
stream.add( "fieldName", content.getSourceInfo() );
stream.add( "sourceInfo", content.getSourceInfo() );
stream.add( "size", content.getSize() );
stream.add( "contentType", content.getContentType() );
stream.add( "stream", IOUtils.toString( content.getStream() ) );