manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1428) Allow tika config parameter
Date Thu, 18 May 2017 14:24:04 GMT

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

Karl Wright commented on CONNECTORS-1428:
-----------------------------------------

Hi Julien,

It's not a good idea to configure connectors in MCF from files, especially since this makes
little sense in a clustered environment.

If you want configurability, what we'd need to do is add a list of name/value pairs to either
the Configuration or Specification UI's for the connector.  There are a number of these widgets
around in other connectors, so it should be straightforward to port one of those to the proper
place in the Tika connectors.

Is this something you'd like to provide a patch for?  

> Allow tika config parameter
> ---------------------------
>
>                 Key: CONNECTORS-1428
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1428
>             Project: ManifoldCF
>          Issue Type: Wish
>          Components: Tika extractor
>    Affects Versions: ManifoldCF 2.7
>            Reporter: Julien Massiera
>            Assignee: Karl Wright
>            Priority: Minor
>
> It would be nice to have an option to pass a tika config file to the connector through
the UI.
> The connector would load it in the "TikaParser" class like : 
> private static Parser parser = new AutoDetectParser(new TikaConfig(new File("path/to/file")));
> This is just an example of course, it has to be done properly



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message