Github user moshebla commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/443#discussion_r214569119
  
    --- Diff: 
solr/core/src/java/org/apache/solr/response/transform/DocTransformer.java ---
    @@ -114,4 +114,27 @@ public void transform(SolrDocument doc, int docid, 
float score) throws IOExcepti
       public String toString() {
         return getName();
       }
    +
    +  /**
    +   * Trivial Impl that ensure that the specified field is requested as an 
"extra" field,
    +   * but then does nothing during the transformation phase.
    +   */
    +  public static final class NoopFieldTransformer extends DocTransformer {
    --- End diff --
    
    Yeah I added a default constructor to and changed another bit so it works 
either way.
    I would prefer if this was left here, where it is easily accessible, 
preventing duplication of code.


---

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

Reply via email to