diff --git a/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java b/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java index b9ba566b356..58312aab0d8 100644 --- a/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java +++ b/solr/core/src/java/org/apache/solr/handler/export/ExportWriter.java @@ -885,7 +885,8 @@ private void getGlobFields( SchemaField schemaField = searcher.getSchema().getField(fi.getName()); if (fieldsProcessed.add(fi.getName()) && schemaField.hasDocValues() - && schemaField.useDocValuesAsStored()) { + && (!(schemaField.getType() instanceof SortableTextField) + || schemaField.useDocValuesAsStored())) { expandedFields.add(schemaField); } }