Solr
  1. Solr
  2. SOLR-5201

UIMAUpdateRequestProcessor should reuse the AnalysisEngine

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5, 5.0
    • Component/s: contrib - UIMA
    • Labels:
      None

      Description

      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.

        Activity

        Tommaso Teofili created issue -
        Tommaso Teofili made changes -
        Field Original Value New Value
        Summary UIMAUpdateRequestProcessor should cache the AnalysisEngine UIMAUpdateRequestProcessor should reuse the AnalysisEngine
        Description As reported in http://markmail.org/thread/2psiyl4ukaejl4fx UIMAUpdateRequestProcessor instantiates an AnalysisEngine for each request which is bad for performance therefore that should be cached in the URP. 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.
        Jun Ohtani made changes -
        Jun Ohtani made changes -
        Tommaso Teofili made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Adrien Grand made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Tommaso Teofili
            Reporter:
            Tommaso Teofili
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development