dsmiley commented on code in PR #4965:
URL: https://github.com/apache/solr/pull/4965#discussion_r4179061031


##########
changelog/unreleased/SOLR-10198.yml:
##########
@@ -0,0 +1,7 @@
+title: Normalize Lucene stored fields to SolrJ-native types in JavaBin 
responses, including EmbeddedSolrServer streaming.

Review Comment:
   ```suggestion
   title: EmbeddedSolrServer StreamingResponseCallback: Normalize Lucene stored 
fields to SolrJ-native types.
   ```
   
   Since I believe the problem is scoped specifically to EmbeddedSolrServer



##########
solr/core/src/java/org/apache/solr/response/DocsStreamer.java:
##########
@@ -220,7 +234,12 @@ public static SolrDocument 
externalizeStoredValues(SolrDocument doc, IndexSchema
 
   private static Object externalizeValue(Object val, IndexSchema schema) {
     if (val instanceof IndexableField f) {
-      return getValue(schema.getFieldOrNull(f.name()), f);
+      try {
+        return getValue(schema.getFieldOrNull(f.name()), f);
+      } catch (Exception e) {

Review Comment:
   When does this happen?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to