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

Allow easier XML serialization of TikaConfig

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13
    • Component/s: None
    • Labels:
      None

      Description

      In TIKA-1418, we added an example for how to dump the config file so that users could easily modify it. I think we should go further and make this an option at the tika-core level with hooks for tika-app and tika-server. I propose adding a main() to TikaConfig that will print the xml config file that Tika is currently using to stdout.

      I'd like to put this into core so that e.g. Solr's DIH users can get by without having to download tika-app separately.

      There's every chance that I've not accounted for issues with dynamic loading etc. Also, I'd be ok with only having this available in tika-app and tika-server if there are good reasons.

      Feedback?

        Attachments

        1. TIKA-1657v1.patch
          33 kB
          Tim Allison
        2. TIKA-1558-blacklist-effective.xml
          21 kB
          Tim Allison

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tallison@apache.org Tim Allison
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: