Skip to content

Commit

Permalink
Fixing glob pattern parsing to handling non docvaluesasstored fields …
Browse files Browse the repository at this point in the history
…for all field types except SortableTextField
  • Loading branch information
Justin Sweeney committed Oct 6, 2023
1 parent 38c7694 commit bb252b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit bb252b8

Please sign in to comment.