lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m-khl <>
Subject [GitHub] lucene-solr pull request #202: SOLR-10703 Add prepare and finish in DocTrasf...
Date Wed, 07 Jun 2017 20:36:50 GMT
Github user m-khl commented on a diff in the pull request:
    --- Diff: solr/core/src/java/org/apache/solr/response/transform/ ---
    @@ -41,12 +41,26 @@
       public abstract String getName();
    +  /**
    +   * This is called before {@link #transform} to provide context for any subsequent transformations.
    +   *
    +   * @param context The {@link ResultContext} stores information about how the documents
were produced.
    +   * @see #needsSolrIndexSearcher
    +   */
    +  public void prepare( ResultContext context ) {
    --- End diff --
    I suppose if anything can be done with existing facilities, they should be utilised. I
don't take it much if some name is misleading. We have a lot of much more severe issues and
live with them.  -1 for "just add"

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message