You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/10/08 15:09:33 UTC

[jira] [Commented] (CONNECTORS-1069) Transformer or hook to allow tagging data at ingestion time

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

Karl Wright commented on CONNECTORS-1069:
-----------------------------------------

Hi Mary,

See framework/agents/src/main/java/org/apache/manifoldcf/agents/interfaces/IPipelineConnector.java .  You would want to create a transformation connector that would implement addOrReplaceDocumentWithException(), and modified the RepositoryDocument object before calling activities.sendDocument().



> Transformer or hook to allow tagging data at ingestion time
> -----------------------------------------------------------
>
>                 Key: CONNECTORS-1069
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1069
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: LiveLink connector
>    Affects Versions: ManifoldCF 1.7
>         Environment: Redhat Linux, Tomcat Apache
>            Reporter: Mary Green White
>              Labels: Ingestion, LiveLink, Tagging
>             Fix For: ManifoldCF 1.7
>
>
> We need the ability to create dynamic fields for metadata about documents in livelink. For example, we want to analyze the file name at ingestion time at determine the application type and create a field in the index called applicationType which is set to WORD for mimetypes of word and so on. Is there a hook or method available currently to be able to accomplish this type of functionality?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)