summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/mdssvc/elasticsearch_mappings.json
blob: 9f68a64925bebaf3ec19aa741775095d0a46bc24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
    "attribute_mappings": {
        "*": {
            "type": "fts",
            "attribute": ""
        },
        "kMDItemTextContent": {
            "type": "str",
            "attribute": "content"
        },
        "_kMDItemGroupId": {
            "type": "type",
            "attribute": "file.content_type"
        },
        "kMDItemContentType": {
            "type": "type",
            "attribute": "file.content_type"
        },
        "kMDItemContentTypeTree": {
            "type": "type",
            "attribute": "file.content_type"
        },
        "kMDItemFSContentChangeDate": {
            "type": "date",
            "attribute": "file.last_modified"
        },
        "kMDItemFSCreationDate": {
            "type": "date",
            "attribute": "file.created"
        },
        "kMDItemFSName": {
            "type": "str",
            "attribute": "file.filename"
        },
        "kMDItemFSOwnerGroupID": {
            "type": "str",
            "attribute": "attributes.owner"
        },
        "kMDItemFSOwnerUserID": {
            "type": "str",
            "attribute": "attributes.group"
        },
        "kMDItemFSSize": {
            "type": "num",
            "attribute": "file.filesize"
        },
        "kMDItemPath": {
            "type": "str",
            "attribute": "path.real"
        },
        "kMDItemAttributeChangeDate": {
            "type": "date",
            "attribute": "file.last_modified"
        },
        "kMDItemAuthors": {
            "type": "str",
            "attribute": "meta.author"
        },
        "kMDItemContentCreationDate": {
            "type": "date",
            "attribute": "file.created"
        },
        "kMDItemContentModificationDate": {
            "type": "date",
            "attribute": "file.last_modified"
        },
        "kMDItemCreator": {
            "type": "str",
            "attribute": "meta.raw.creator"
        },
        "kMDItemDescription": {
            "type": "str",
            "attribute": "meta.raw.description"
        },
        "kMDItemDisplayName": {
            "type": "str",
            "attribute": "file.filename"
        },
        "kMDItemDurationSeconds": {
            "type": "num",
            "attribute": "meta.raw.xmpDM:duration"
        },
        "kMDItemNumberOfPages": {
            "type": "num",
            "attribute": "meta.raw.xmpTPg:NPages"
        },
        "kMDItemTitle": {
            "type": "str",
            "attribute": "meta.title"
        },
        "kMDItemAlbum": {
            "type": "str",
            "attribute": "meta.raw.xmpDM:album"
        },
        "kMDItemBitsPerSample": {
            "type": "num",
            "attribute": "meta.raw.tiff:BitsPerSample"
        },
        "kMDItemPixelHeight": {
            "type": "num",
            "attribute": "meta.raw.Image Height"
        },
        "kMDItemPixelWidth": {
            "type": "num",
            "attribute": "meta.raw.Image Width"
        },
        "kMDItemResolutionHeightDPI": {
            "type": "num",
            "attribute": "meta.raw.Y Resolution"
        },
        "kMDItemResolutionWidthDPI": {
            "type": "num",
            "attribute": "meta.raw.X Resolution"
        }
    },
    "mime_mappings": {
        "1": "message/rfc822",
        "2": "text/x-vcard",
        "6": "text/x-vcard",
        "7": "video/*",
        "8": "application/octet-stream",
        "9": "text/directory",
        "10": "audio/*",
        "11": "application/pdf",
        "12": "application/vnd.oasis.opendocument.presentation",
        "13": "image/*",
        "public.content": "message/rfc822 application/pdf application/vnd.oasis.opendocument.presentation image/* text/*",
        "public.jpeg": "image/jpeg",
        "public.tiff": "image/tiff",
        "com.compuserve.gif": "image/gif",
        "public.png": "image/png",
        "com.microsoft.bmp": "image/bmp",
        "public.mp3": "audio/mpeg",
        "public.mpeg-4-audio": "audio/x-aac",
        "public.text": "text/*",
        "public.plain-text": "text/plain",
        "public.rtf": "text/rtf",
        "public.html": "text/html",
        "public.xml": "text/xml",
        "public.archive": "application/zip application/x-bzip application/x-bzip2 application/x-tar application/x-7z-compressed"
    }
}