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

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

bq. unless the AnalysisEngine constructor/factory/provider does something 
special to keep track of them, they won't know anything about eachother

ok, so I think we can go with the second option of having the 
_UIMAUpdateRequestProcessorFactory_ serve the _AnalysisEngine_ to 
_UIMAUpdateRequestProcessors_.
I'll post a patch later today.
                
> 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
>
>         Attachments: SOLR-5201-ae-cache-every-request_branch_4x.patch, 
> SOLR-5201-ae-cache-only-single-request_branch_4x.patch
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to