mirror of https://github.com/apache/lucene.git
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:
parent
0b94b4a0cb
commit
079c1d1b9b
|
@ -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
|
||||
----------------------
|
||||
|
|
|
@ -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() ) );
|
||||
|
|
Loading…
Reference in New Issue