You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/18 09:05:09 UTC

[jira] [Commented] (SOLR-10703) Add prepare() and finish() into DocTransformer

    [ https://issues.apache.org/jira/browse/SOLR-10703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015460#comment-16015460 ] 

ASF GitHub Bot commented on SOLR-10703:
---------------------------------------

GitHub user diegoceccarelli opened a pull request:

    https://github.com/apache/lucene-solr/pull/202

    SOLR-10703 Add prepare and finish in DocTrasformer

    This patch adds a prepare and a finish method to the interface of DocTransformer allowing a developer to perform actions before/after a doc transformer is applied to a result set. My use case was to benchmark the performance of a transformer, since transformer time is not part of QTime.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/diegoceccarelli/lucene-solr SOLR-10703

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/202.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #202
    
----
commit 48859507d8c0df5507e66ab84bbe721cedc7c49f
Author: diego <di...@gmail.com>
Date:   2017-05-03T15:33:29Z

    Add prepare and finish in DocTrasformer

----


> Add prepare() and finish() into DocTransformer 
> -----------------------------------------------
>
>                 Key: SOLR-10703
>                 URL: https://issues.apache.org/jira/browse/SOLR-10703
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Diego Ceccarelli
>            Priority: Minor
>             Fix For: master (7.0)
>
>
> This patch adds a {{prepare}} and a {{finish}} method to the interface of {{DocTransformer}} allowing a developer to perform actions before/after a doc transformer is applied to a result set. My use case was to benchmark the performance of a transformer, since transformer time is not part of {{QTime}}. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org