You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2013/08/29 11:56:53 UTC

[jira] [Commented] (SOLR-5201) UIMAUpdateRequestProcessor should reuse the AnalysisEngine

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

Tommaso Teofili commented on SOLR-5201:
---------------------------------------

ok, now I recall why the caching logic was put in the AEProvider. Basically an UpdateRequestProcessor is instantiated on each update request (it's not reused) and therefore caching it locally wouldn't help.
                
> UIMAUpdateRequestProcessor should reuse the AnalysisEngine
> ----------------------------------------------------------
>
>                 Key: SOLR-5201
>                 URL: https://issues.apache.org/jira/browse/SOLR-5201
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - UIMA
>    Affects Versions: 4.4
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 4.5, 5.0
>
>
> As reported in http://markmail.org/thread/2psiyl4ukaejl4fx UIMAUpdateRequestProcessor instantiates an AnalysisEngine for each request which is bad for performance therefore it'd be nice if such AEs could be reused whenever that's possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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