Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3230017641 for ; Wed, 8 Oct 2014 13:09:34 +0000 (UTC) Received: (qmail 38752 invoked by uid 500); 8 Oct 2014 13:09:34 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 38707 invoked by uid 500); 8 Oct 2014 13:09:34 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 38694 invoked by uid 99); 8 Oct 2014 13:09:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 13:09:33 +0000 Date: Wed, 8 Oct 2014 13:09:33 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1069) Transformer or hook to allow tagging data at ingestion time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)