Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-884

Dynamic loading of Parser and Detector services

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None

    Description

      When deployed in an OSGi container, calling new Tika() will dynamically load all available Parser and Detector services. This works fine for the typical use case where the facade instance is only used for a single specific task (parsing a single document, etc.).

      However, if a client instead uses a singe, long-lived Tika instance, the list of referenced services never gets updated even if the set of services in the container changes over time. To address this problem we should make Tika reload the set of available services each time they're needed. The performance overhead of doing this should be minimal compared to the typical parsing or type detection tasks.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: