manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Leybovich (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CONNECTORS-1274) SharePoint connector missing metadata and ACL information
Date Wed, 10 Feb 2016 22:33:18 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141841#comment-15141841
] 

Andrey Leybovich edited comment on CONNECTORS-1274 at 2/10/16 10:33 PM:
------------------------------------------------------------------------

Example:

Request:
{code}
GET /_search
{
    "query": {
        "match_phrase": {"Title":"lorem"}
    }
}
{code}

Response:
{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}



was (Author: andreyl):
Example:

Request:
{code}
GET /_search
{
    "query": {
        "match_phrase": {"Title":"lorem"}
    }
}
{code}

Response:
{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",
          "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": "",
          "Created By": "",
          "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}


> SharePoint connector missing metadata and ACL information
> ---------------------------------------------------------
>
>                 Key: CONNECTORS-1274
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1274
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Elastic Search connector, SharePoint connector
>    Affects Versions: ManifoldCF 2.3
>         Environment: SharePoint 2013, ElasticSearch 2.2, MCF 2.3
>            Reporter: Andrey Leybovich
>
> When crawling a SharePoint 2013 list, there are three issues:
> 1. Some important metadata fields, such as "Created By" and "Content Type" are blank.
In SharePoint they are always non-empty
> 2. No ACL (permissions) information is present 
> 3. All metadata is pushed to elastic as string. Thus date fields like "Created", "Modified"
etc are not searchable/sortable as dates



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message