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 995A81831C for ; Thu, 11 Feb 2016 00:20:18 +0000 (UTC) Received: (qmail 79113 invoked by uid 500); 11 Feb 2016 00:20:18 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 79067 invoked by uid 500); 11 Feb 2016 00:20:18 -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 79000 invoked by uid 99); 11 Feb 2016 00:20:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 00:20:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 263382C1F64 for ; Thu, 11 Feb 2016 00:20:18 +0000 (UTC) Date: Thu, 11 Feb 2016 00:20:18 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CONNECTORS-1275) ES connector doesn't deal with dates properly 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-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright updated CONNECTORS-1275: ------------------------------------ Description: The ES connector does not fill in JSON dates in the proper format. For example: {code} { "took": 4, "timed_out": false, "_shards": { "total": 6, "successful": 6, "failed": 0 }, "hits": { "total": 1, "max_score": 0.15342641, "hits": [ { "_index": "index", "_type": "sharepoint", "_id": "http://sample.net/Lists/mylist/DispForm.aspx?ID=1", "_score": 0.15342641, "_source": { "Modified": "2016-02-09 12:35:56", // <--- Wrong type, should be Date "App Created By": "", "GUID": "{D233EA70-CFA7-42DD-8243-AG5BDA3D475B}", "Title": "lorem ipsum bacon", "Edit": "", "App Modified By": "", "Attachments": "0", "Item Child Count": "", "Created": "2016-02-09 12:35:56", "Modified By": "", "Folder Child Count": "", "Type": "", "Version": "", "Content Type": "", // <-- Missing "Created By": "", // <- Missing "ID": "1", "allow_token_document": "AD+Authority+Group:", "deny_token_document": "AD+Authority+Group:DEAD_AUTHORITY", "allow_token_share": "__nosecurity__", "deny_token_share": "__nosecurity__", "allow_token_parent": "__nosecurity__", "deny_token_parent": "__nosecurity__", "contentfield": "" } } ] } } {code} Not sure what the proper format is yet. was: The ES connector does not fill in JSON dates in the proper format. For example: {code} {code} Not sure what the proper format is yet. > ES connector doesn't deal with dates properly > --------------------------------------------- > > Key: CONNECTORS-1275 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1275 > Project: ManifoldCF > Issue Type: Bug > Components: Elastic Search connector > Affects Versions: ManifoldCF 2.3 > Reporter: Karl Wright > Assignee: Karl Wright > Fix For: ManifoldCF 2.4 > > > The ES connector does not fill in JSON dates in the proper format. For example: > {code} > { > "took": 4, > "timed_out": false, > "_shards": { > "total": 6, > "successful": 6, > "failed": 0 > }, > "hits": { > "total": 1, > "max_score": 0.15342641, > "hits": [ > { > "_index": "index", > "_type": "sharepoint", > "_id": "http://sample.net/Lists/mylist/DispForm.aspx?ID=1", > "_score": 0.15342641, > "_source": { > "Modified": "2016-02-09 12:35:56", // <--- Wrong type, should be Date > "App Created By": "", > "GUID": "{D233EA70-CFA7-42DD-8243-AG5BDA3D475B}", > "Title": "lorem ipsum bacon", > "Edit": "", > "App Modified By": "", > "Attachments": "0", > "Item Child Count": "", > "Created": "2016-02-09 12:35:56", > "Modified By": "", > "Folder Child Count": "", > "Type": "", > "Version": "", > "Content Type": "", // <-- Missing > "Created By": "", // <- Missing > "ID": "1", > "allow_token_document": "AD+Authority+Group:", > "deny_token_document": "AD+Authority+Group:DEAD_AUTHORITY", > "allow_token_share": "__nosecurity__", > "deny_token_share": "__nosecurity__", > "allow_token_parent": "__nosecurity__", > "deny_token_parent": "__nosecurity__", > "contentfield": "" > } > } > ] > } > } > {code} > Not sure what the proper format is yet. -- This message was sent by Atlassian JIRA (v6.3.4#6332)