dsmiley commented on code in PR #5298:
URL: https://github.com/apache/solr/pull/5298#discussion_r4786213411
##########
solr/core/src/java/org/apache/solr/response/transform/DocTransformer.java:
##########
@@ -116,6 +116,15 @@ public String[] getExtraRequestFields() {
return null;
}
+ /**
+ * Whether index-backed RealTime Get should retain its legacy document
loading and conversion for
+ * this transformer, because its stored-field dependencies cannot be
determined in advance. Prefer
+ * declaring dependencies with {@link #getExtraRequestFields()} where
possible.
+ */
+ public boolean requiresFullDocumentForRTG() {
+ return false;
+ }
+
Review Comment:
Hmmm; I'm better understanding the issue now. Perhaps getExtraRequestFields
can be documented as returning *exactly* `["*"]` in this case; we can even have
a constant declared for it that implementors can return. WDYT?
--
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]