Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
e7162edc
Commit
e7162edc
authored
Apr 14, 2020
by
Carina Antunes
Browse files
add mailid to egroupsarchives
parent
eae90cc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/modules/cernsearch/jsonschemas/egroupsarchives/egroupsarchives/archive_v2.0.0.json
0 → 100644
View file @
e7162edc
{
"title"
:
"Archive schema v2.0.0"
,
"id"
:
"http://<host:port>/schemas/egroupsarchives/archive_v2.0.0.json"
,
"$schema"
:
"http://<host:port>/schemas/egroupsarchives/archive_v2.0.0.json"
,
"type"
:
"object"
,
"properties"
:
{
"_access"
:
{
"type"
:
"object"
,
"properties"
:
{
"owner"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"read"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"update"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"delete"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
}
}
},
"_data"
:
{
"type"
:
"object"
,
"properties"
:
{
"from"
:
{
"type"
:
"string"
,
"description"
:
"Mail header from."
},
"subject"
:
{
"type"
:
"string"
,
"description"
:
"Mail header subject."
},
"attachments"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
},
"description"
:
"Mail attachments filenames."
},
"body"
:
{
"type"
:
"string"
,
"description"
:
"Mail body."
}
}
},
"mailid"
:
{
"type"
:
"string"
,
"description"
:
"Mail Id."
},
"date"
:
{
"type"
:
"string"
,
"description"
:
"Mail header date."
},
"group"
:
{
"type"
:
"string"
,
"description"
:
"Group name."
},
"control_number"
:
{
"type"
:
"string"
},
"$schema"
:
{
"type"
:
"string"
}
}
}
cern_search_rest_api/modules/cernsearch/mappings/egroupsarchives/v6/egroupsarchives/archive_v2.0.0.json
0 → 100644
View file @
e7162edc
{
"settings"
:
{
"index.percolator.map_unmapped_fields_as_string"
:
true
,
"index.mapping.total_fields.limit"
:
100
},
"mappings"
:
{
"archive_v2.0.0"
:
{
"dynamic"
:
"strict"
,
"numeric_detection"
:
true
,
"properties"
:
{
"_access"
:
{
"type"
:
"object"
,
"properties"
:
{
"owner"
:
{
"type"
:
"keyword"
},
"read"
:
{
"type"
:
"keyword"
},
"update"
:
{
"type"
:
"keyword"
},
"delete"
:
{
"type"
:
"keyword"
}
}
},
"_data"
:
{
"type"
:
"object"
,
"properties"
:
{
"body"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"from"
:
{
"type"
:
"keyword"
},
"attachments"
:
{
"type"
:
"keyword"
},
"subject"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
}
}
},
"group"
:
{
"enabled"
:
false
},
"date"
:
{
"type"
:
"date"
,
"format"
:
"dd-MM-yyyy HH:mm"
},
"mailid"
:
{
"enabled"
:
false
},
"$schema"
:
{
"enabled"
:
false
},
"control_number"
:
{
"type"
:
"keyword"
},
"_created"
:
{
"type"
:
"date"
},
"_updated"
:
{
"type"
:
"date"
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment