You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "stillalex (via GitHub)" <gi...@apache.org> on 2023/06/07 22:41:43 UTC

[GitHub] [solr] stillalex commented on a diff in pull request #1664: SOLR-16799 upgrade Solr to use Lucene 9.6.0

stillalex commented on code in PR #1664:
URL: https://github.com/apache/solr/pull/1664#discussion_r1222251980


##########
solr/core/src/java/org/apache/solr/search/SolrDocumentFetcher.java:
##########
@@ -539,6 +541,21 @@ public Reader readerValue() {
     public Number numericValue() {
       return null;
     }
+
+    @Override
+    public StoredValue storedValue() {
+      if (fieldType().stored() == false) {
+        return null;
+      } else {
+        return new StoredValue(stringValue());
+      }

Review Comment:
   I think you are correct. will remove the if block



-- 
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: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org