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 7B518178FD for ; Wed, 6 May 2015 15:43:19 +0000 (UTC) Received: (qmail 66827 invoked by uid 500); 6 May 2015 15:43:19 -0000 Delivered-To: apmail-manifoldcf-user-archive@manifoldcf.apache.org Received: (qmail 66774 invoked by uid 500); 6 May 2015 15:43:19 -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 66764 invoked by uid 99); 6 May 2015 15:43:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 15:43:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.191.145.13 which is an MX secondary for user@manifoldcf.apache.org) Received: from [54.191.145.13] (HELO mx1-us-west.apache.org) (54.191.145.13) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 15:43:10 +0000 Received: from gwo2.mbox.net (gwo2.mbox.net [165.212.64.22]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 847ED24980 for ; Wed, 6 May 2015 15:42:50 +0000 (UTC) Received: from gwo2.mbox.net (localhost [127.0.0.1]) by gwo2.mbox.net (Postfix) with ESMTP id 3lhhxd6LyGz18XQpM for ; Wed, 6 May 2015 15:42:13 +0000 (UTC) X-USANET-Received: from gwo2.mbox.net [127.0.0.1] by gwo2.mbox.net via mtad (C8.MAIN.4.00W) with ESMTP id 804TeFPQH3664Mo2; Wed, 06 May 2015 15:42:07 -0000 X-USANET-Routed: 5 gwsout-gwsd Q:gwsd X-USANET-Routed: 3 gwsout-vs Q:bmvirus X-USANET-GWS2-Service: gwsdout-archive True X-USANET-GWS2-Tenant: oceaneering.com X-USANET-GWS2-Tagid: OCIN Received: from mail-qg0-f48.google.com [209.85.192.48] by gwo2.mbox.net via smtad (C8.MAIN.4.02Q) with ESMTPS id XID334TeFPQH6838Xo2; Wed, 06 May 2015 15:42:07 -0000 X-USANET-Source: 209.85.192.48 OUT ddelapasse@oceaneering.com mail-qg0-f48.google.com TLS X-USANET-MsgId: XID334TeFPQH6838Xo2 Received: by qgdy78 with SMTP id y78so6558799qgd.0 for ; Wed, 06 May 2015 08:42:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=WKlyMQ5k+s+VB0HSzhSfOz2EsE9F7FxjqDadBt9sluQ=; b=flyFZ61+HeWhibErRCWs6VGD/pucpTMu9pkwvVKRJa2m0eepKcIq7m0dIxkHKEWCnF krf8MFYoB3gV33m5kdtzJ7quI3AIn/TvpWHLw6ACSzQMXEh+uGNylusEGAUT0uLNMgIi MDcCihtlxiS+CTtPOVDXSjQVvrkZXFBZoCOz4EnEyjk9WFkj4ldTdMZcFgmCcmjAVqcs 4z30JUAhENVAtmQ1nKoIajy265cFvP+zC/E3gzJBD5Tdgt471OXOOOVLxZBCYajurBXW zIMvLDjB2/N9+LhK9vvv3sIR3kPAlEZkbN/dBmmHt212S/kOx4/EKHp+/EYJa6BtPa2d PULQ== X-Gm-Message-State: ALoCoQlfuUpnoZFNdzlGkXeIfuyjVYzVhWIfsHhAb48qqKUex/BOyNovrnu8YEISjf0g6EklkTLA0aD6nNCfpIvq3zuS0BIPPdYdIJ3Du0Wz83BO/ZQyfTFzIiRZ+bFBk4Cb+doQPfqcrtVXyKObnotFiVGwMZc4LQ== X-Received: by 10.140.192.73 with SMTP id n70mr42826405qha.91.1430926927032; Wed, 06 May 2015 08:42:07 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.192.73 with SMTP id n70mr42826396qha.91.1430926926947; Wed, 06 May 2015 08:42:06 -0700 (PDT) Received: by 10.140.89.201 with HTTP; Wed, 6 May 2015 08:42:06 -0700 (PDT) Date: Wed, 6 May 2015 10:42:06 -0500 Message-ID: Subject: Question about obtaining metadata values via CMIS connector => ElasticSearch From: "Delapasse, Deanna" To: user@manifoldcf.apache.org Content-Type: multipart/alternative; boundary=001a11415fd42e3e1b05156ba3c6 X-Virus-Checked: Checked by ClamAV on apache.org --001a11415fd42e3e1b05156ba3c6 Content-Type: text/plain; charset=UTF-8 Hi, I'm trying to use ManifoldCF to crawl my Alfresco repo (via the CMIS connector) and push the results into ElasticSearch. My users want to search metadata (including custom) and content. I followed some tutorials and got it running quickly BUT...regardless of my ElasticSearch mapping the only CMIS metadata entity I can find in my indexed results is cmis:objectId. I have tried using various cmis queries (with 'select * ...' and with 'select cmis:name, cmis:lastModifiedBy, ...'. I have verified my queries and they definitely return metadata, but the data doesn't appear in ElasticSearch. I tried a simple attachment mapping and also a mapping where I specifically list some of the cmis properties. Regardless of mapping, my indexes look like this: { "_index":"test", "_type":"file", "_id":" http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/10.0.txt?id=2555a540-a5b3-4c27-90f6-c89b6742bd4f%3B1.0 ", "_version":2, "_score":1, "_source":{ "cmis:objectId":"2555a540-a5b3-4c27-90f6-c89b6742bd4f;1.0", "allow_token_document":"__nosecurity__", "deny_token_document":"__nosecurity__", "allow_token_share":"__nosecurity__", "deny_token_share":"__nosecurity__", "allow_token_parent":"__nosecurity__", "deny_token_parent":"__nosecurity__", "file":{ "_content_type":"text/plain", "_name":"10.0.txt", "_content":"DQpJIGFtIGFuIEFsZnJlc2NvIGZpbGUuDQo=" } } } The ES results are good and I can search perfectly by content & cmis:objectId. I have enabled debugging and no errors appear in the log. *What do I have to DO to get cmis:name, cmis:lastModifiedBy and other properties to appear?* Thanks in advance! This product is very simple to use and has potential to be a HUGE help to us!!! Deanna --001a11415fd42e3e1b05156ba3c6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm trying to use Ma= nifoldCF to crawl my Alfresco repo (via the CMIS connector) and push the re= sults into ElasticSearch.=C2=A0 My users want to search metadata (including= custom) and content. I followed some tutorials and got it running quickly = BUT...regardless of my ElasticSearch mapping the only CMIS metadata entity = I can find in my indexed results is cmis:objectId.

I have tried using various cmis queries (with 'select * ...' and w= ith 'select cmis:name, cmis:lastModifiedBy, ...'.=C2=A0 I have veri= fied my queries and they definitely return metadata, but the data doesn'= ;t appear in ElasticSearch. =C2=A0 I tried a simple attachment mapping and = also a mapping where I specifically list some of the cmis properties. Regar= dless of mapping, my indexes look like this:


<= /div>
{ =C2=A0
=C2=A0 =C2=A0"_index":"test&quo= t;,
=C2=A0 =C2=A0"_type":"file",
=C2=A0 =C2=A0"_version= ":2,
=C2=A0 =C2=A0"_score":1,
=C2=A0 =C2= =A0"_source":{ =C2=A0
=C2=A0 =C2=A0 =C2=A0 "cmis:o= bjectId":"2555a540-a5b3-4c27-90f6-c89b6742bd4f;1.0",
=C2=A0 =C2=A0 =C2=A0 "allow_token_document":"__nosecurity= __",
=C2=A0 =C2=A0 =C2=A0 "deny_token_document":&q= uot;__nosecurity__",
=C2=A0 =C2=A0 =C2=A0 "allow_token_= share":"__nosecurity__",
=C2=A0 =C2=A0 =C2=A0 &quo= t;deny_token_share":"__nosecurity__",
=C2=A0 =C2= =A0 =C2=A0 "allow_token_parent":"__nosecurity__",
=
=C2=A0 =C2=A0 =C2=A0 "deny_token_parent":"__nosecurity_= _",
=C2=A0 =C2=A0 =C2=A0 "file":{ =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"_content_type":"text/pla= in",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"_name":&qu= ot;10.0.txt",
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"_conte= nt":"DQpJIGFtIGFuIEFsZnJlc2NvIGZpbGUuDQo=3D"
=C2= =A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0}
}

The ES results are good and I can search perfectly by content & = cmis:objectId.=C2=A0 I have enabled debugging and no errors appear in the l= og. =C2=A0What do I have to DO to get cmis:name, cmis:lastModifiedBy and= other properties to appear?

Thanks in advance= !=C2=A0 This product is very simple to use and has potential to be a HUGE h= elp to us!!!

Deanna
--001a11415fd42e3e1b05156ba3c6--