Return-Path: X-Original-To: apmail-manifoldcf-user-archive@www.apache.org Delivered-To: apmail-manifoldcf-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65A33110E3 for ; Wed, 2 Jul 2014 18:16:18 +0000 (UTC) Received: (qmail 34635 invoked by uid 500); 2 Jul 2014 18:16:18 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 34585 invoked by uid 500); 2 Jul 2014 18:16:18 -0000 Mailing-List: contact user-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@manifoldcf.apache.org Delivered-To: mailing list user@manifoldcf.apache.org Received: (qmail 34571 invoked by uid 99); 2 Jul 2014 18:16:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 18:16:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ameya.aware@gmail.com designates 209.85.213.169 as permitted sender) Received: from [209.85.213.169] (HELO mail-ig0-f169.google.com) (209.85.213.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 18:16:14 +0000 Received: by mail-ig0-f169.google.com with SMTP id c1so6754134igq.2 for ; Wed, 02 Jul 2014 11:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8IM376r+qMqdHtRTImUEv+NxvYyy5D4wj3ZxJTdec0M=; b=AWqp1UmUhGmgBNmm2nhKQYw5RWj7BCdSH8zdsEVYMggqQ8rA4BG76Q+Dm/d3T/mjLH uIaYyi/XfVzasOjmBn/WLnQQxypdjDin5PLKqKF+utC6k6x6juPEDJLkWzHqPkJA1taB vfaaDnMGHD3fp+21OzNIxCm1aB8txAdJ30apl6nSojcTpIY8emifs3h4gU5tcPEbjF3p huwKBdqfpwhWG1TAJprQVmYhh34ivTLLlLOQqA5zisnB4p2z8OPdh2jfrVtqQWWkJp0I VENHahpULxfExiir0752NC+MrVqqDidROjk9TuPPoOQ7yD2yW4wMpaQB+DqmpqD4ZjWj ZvaQ== MIME-Version: 1.0 X-Received: by 10.50.138.105 with SMTP id qp9mr6680057igb.2.1404324950125; Wed, 02 Jul 2014 11:15:50 -0700 (PDT) Received: by 10.50.57.69 with HTTP; Wed, 2 Jul 2014 11:15:50 -0700 (PDT) In-Reply-To: <745696CC-60DE-49D1-9811-27454D6C1258@gmail.com> References: <745696CC-60DE-49D1-9811-27454D6C1258@gmail.com> Date: Wed, 2 Jul 2014 14:15:50 -0400 Message-ID: Subject: Re: Query about metadata sent into solr From: Ameya Aware To: user@manifoldcf.apache.org Content-Type: multipart/alternative; boundary=001a1134d7c2cd4caa04fd39e172 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134d7c2cd4caa04fd39e172 Content-Type: text/plain; charset=UTF-8 Yeah.. i used addfield method in fileConnector to add metadata. But still it is not sending that to solr. Do i need to change anythnig in Solr connector as well?? Thanks, Ameya On Wed, Jul 2, 2014 at 2:12 PM, Muhammed Olgun wrote: > Hi, > > You can use addField method. > > > On 02 Jul 2014, at 21:07, Ameya Aware wrote: > > Hi > > I am using latest Apache manifoldCF version 1.6.1 > > When i connect to my local file system using 'File System' connector to > send the documents to solr, i see metadata sent to solr in default setting > is 'id, content_type, content, resoursename, version'. > > I have changed code in file system connector to add more metadata to > RepositoryDocument object. How can i send that added extra metadata to Solr? > > > > Thanks in advance, > > > Ameya Aware > > > --001a1134d7c2cd4caa04fd39e172 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yeah.. i used addfield method in fileConnector to add meta= data.

But still it is not sending that to solr.