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 38BE810047 for ; Fri, 12 Jul 2013 21:13:44 +0000 (UTC) Received: (qmail 14067 invoked by uid 500); 12 Jul 2013 21:13:43 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 14013 invoked by uid 500); 12 Jul 2013 21:13:43 -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 14004 invoked by uid 99); 12 Jul 2013 21:13:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 21:13:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of Richard.Nichols@tellabs.com) Received: from [216.32.180.30] (HELO va3outboundpool.messaging.microsoft.com) (216.32.180.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2013 21:13:37 +0000 Received: from mail103-va3-R.bigfish.com (10.7.14.237) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 14.1.225.22; Fri, 12 Jul 2013 21:12:55 +0000 Received: from mail103-va3 (localhost [127.0.0.1]) by mail103-va3-R.bigfish.com (Postfix) with ESMTP id 0F6D04C02F7; Fri, 12 Jul 2013 21:12:55 +0000 (UTC) X-Forefront-Antispam-Report: CIP:204.154.129.192;KIP:(null);UIP:(null);IPV:NLI;H:usnvwwmspedge01.tellabs-west.tellabsinc.net;RD:none;EFVD:NLI X-SpamScore: -7 X-BigFish: VPS-7(zzbb2dI9371I8fcdK542I1dbaI4015Izz1f42h1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz8275dhz2ei2a8h668h839h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dfeh1dffh1155h) Received-SPF: neutral (mail103-va3: 204.154.129.192 is neither permitted nor denied by domain of tellabs.com) client-ip=204.154.129.192; envelope-from=Richard.Nichols@tellabs.com; helo=usnvwwmspedge01.tellabs-west.tellabsinc.net ;llabsinc.net ; Received: from mail103-va3 (localhost.localdomain [127.0.0.1]) by mail103-va3 (MessageSwitch) id 1373663572938539_25564; Fri, 12 Jul 2013 21:12:52 +0000 (UTC) Received: from VA3EHSMHS014.bigfish.com (unknown [10.7.14.251]) by mail103-va3.bigfish.com (Postfix) with ESMTP id D633DC0051; Fri, 12 Jul 2013 21:12:52 +0000 (UTC) Received: from usnvwwmspedge01.tellabs-west.tellabsinc.net (204.154.129.192) by VA3EHSMHS014.bigfish.com (10.7.99.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 12 Jul 2013 21:12:51 +0000 Received: from usnvwwmspht02.tellabs-west.tellabsinc.net (172.23.211.70) by usnvwwmspedge01.tellabs-west.tellabsinc.net (204.154.131.192) with Microsoft SMTP Server (TLS) id 8.3.298.1; Fri, 12 Jul 2013 16:12:17 -0500 Received: from EX-WEST.tellabs-west.tellabsinc.net ([172.23.211.73]) by usnvwwmspht02.tellabs-west.tellabsinc.net ([172.23.211.70]) with mapi; Fri, 12 Jul 2013 16:12:50 -0500 From: "Nichols, Richard" To: "user@manifoldcf.apache.org" , Hermo Date: Fri, 12 Jul 2013 16:12:51 -0500 Subject: RE: ElasticSearch Mappings Question Thread-Topic: ElasticSearch Mappings Question Thread-Index: Ac5/C8JSReSuDTmTRAuoF0kkAtDu7wAN83Ow Message-ID: <6355997B50A79B48B60F55953D30E3B601A5E71A8CA9@EX-WEST.tellabs-west.tellabsinc.net> References: <4534274893465930731@unknownmsgid> In-Reply-To: <4534274893465930731@unknownmsgid> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: tellabs.com X-Virus-Checked: Checked by ClamAV on apache.org Hermo, Be aware that changes for CONNECTORS-690 (which I believe will be in the ne= xt release) will expect that you have already set up a specific default map= ping. I realize this doesn't actually address your issue, but you should b= e aware of it. Rick -----Original Message----- From: Karl Wright [mailto:daddywri@gmail.com] Sent: Friday, July 12, 2013 9:26 AM To: Hermo; user@manifoldcf.apache.org Subject: RE: ElasticSearch Mappings Question Hi Hermo, The mapping is determined by the elasticsearch connector. As of this time, there is no way to change it other than to change the connector code. If you want such a feature, please create a jira ticket describing what you think the connector should be able to do. Thanks, Karl Sent from my Windows Phone From: Hermo Sent: 7/12/2013 9:30 AM To: user@manifoldcf.apache.org Subject: ElasticSearch Mappings Question Hi, I have the following scenario: I configured a Job with a Windows Share repository connector, and an ElasticSearch output connector. It seems that, when a file in the share is crawled, it is ingested in ElasticSearch with a very specific mapping as follows: "myindex" is the name of the index and "docs" is the type. { "myindex" : { "docs" : { "properties" : { "_content_type" : { "type" : "string" }, "_name" : { "type" : "string" }, "allow_token_document" : { "type" : "string" }, "allow_token_share" : { "type" : "string" }, "deny_token_document" : { "type" : "string" }, "deny_token_share" : { "type" : "string" }, "file" : { "type" : "string" }, "lastModified" : { "type" : "string" }, "type" : { "type" : "string" } } } } } I have the following questions: 1) What determines this mapping: The repository connector (in above scenario the windows share connector), or the ElasticSearch connector? 2) Is there a way that I could specify my own mapping, for example I would like to map the _name property to something different like _productname. Where would be the correct place to do this? Looking forward to any help and suggestions. Regards, Hermo Terblanche =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D