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:
Yonik Seeley 2006-06-25 14:50:13 +00:00
parent da7f6e0ec7
commit b5919a7dc1
1 changed files with 1 additions and 1 deletions

View File

@ -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);