mirror of https://github.com/apache/lucene.git
fix JSONWriter writing of SolrDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@633860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1eaa4395f0
commit
9c3841c013
|
@ -415,8 +415,9 @@ class JSONWriter extends TextResponseWriter {
|
|||
writeArrayOpener(-1); // no trivial way to determine array size
|
||||
writeVal(fname, val);
|
||||
writeArrayCloser();
|
||||
} else {
|
||||
writeVal(fname, val);
|
||||
}
|
||||
writeVal(fname, val);
|
||||
}
|
||||
|
||||
if (pseudoFields !=null && pseudoFields.size()>0) {
|
||||
|
|
Loading…
Reference in New Issue