mirror of https://github.com/apache/lucene.git
use default field list for single doc
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@417023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da7f6e0ec7
commit
b5919a7dc1
|
@ -379,7 +379,7 @@ final public class XMLWriter {
|
||||||
} else if (val instanceof Double) {
|
} else if (val instanceof Double) {
|
||||||
writeDouble(name, ((Double)val).doubleValue());
|
writeDouble(name, ((Double)val).doubleValue());
|
||||||
} else if (val instanceof Document) {
|
} else if (val instanceof Document) {
|
||||||
writeDoc(name, (Document)val, null, 0.0f, false);
|
writeDoc(name, (Document)val, defaultFieldList, 0.0f, false);
|
||||||
} else if (val instanceof DocList) {
|
} else if (val instanceof DocList) {
|
||||||
// requires access to IndexReader
|
// requires access to IndexReader
|
||||||
writeDocList(name, (DocList)val, defaultFieldList);
|
writeDocList(name, (DocList)val, defaultFieldList);
|
||||||
|
|
Loading…
Reference in New Issue