manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1439) No CretedOn, LastModified etc. datetimes on ElasticSearch output with File System input.
Date Fri, 30 Jun 2017 22:54:02 GMT

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

Karl Wright commented on CONNECTORS-1439:
-----------------------------------------

This is due to the file-system connector simply using standard File objects for access.  The
only metadata available through this Java-standard mechanism is lastModified().  Other attributes
are not available.


> No CretedOn, LastModified etc. datetimes on ElasticSearch output with File System input.
> ----------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1439
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1439
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Elastic Search connector
>    Affects Versions: ManifoldCF 2.7.1
>         Environment: Ubuntu 16.10
> Manifold Trunk
> Using "attachment" type or "generictype" indices.
> Mapping for attachment type:
> {
>   "attachment" : {
>     "_source" : {
>       "excludes" : [ "file" ]
>     },
>     "properties": { 
>       "allow_token_document" : { 
>         "type" : "string" 
>       },
>       "allow_token_parent" : { 
>         "type" : "string" 
>       },
>       "allow_token_share" : { 
>         "type" : "string" 
>       },
>       "attributes" : {
>         "type" : "string"
>       },
>       "createdOn" : {
>         "type" : "string"
>       },
>       "deny_token_document" : {
>         "type" : "string"
>       },
>       "deny_token_parent" : {
>         "type" : "string"
>       },
>       "deny_token_share" : {
>         "type" : "string"
>       },
>       "lastModified" : {
>         "type" : "string"
>       },
>       "shareName" : {
>         "type" : "string"
>       },
>       "file" : {
>         "type" : "attachment",
>         "path" : "full",
>         "fields" : {
>           "file" : {
>             "store" : true,
>             "term_vector" : "with_positions_offsets",
>             "type" : "string"
>           }
>         }
>       }
>     }
>   }
> }
> Dynamic mapping for generictype.
>            Reporter: Steph van Schalkwyk
>            Assignee: Karl Wright
>
> No DateTime fields when crawling Linux File System files. 
> Files have Last Changed fields etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message