Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
d5a1d3d0
Commit
d5a1d3d0
authored
Apr 16, 2020
by
Carina Antunes
Browse files
[
SEARCH-71
] egroupsarchives: make group searchable
parent
88e2417d
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES.md
View file @
d5a1d3d0
Changes
=======
**Version 1.0.9-beta (released 2020-04-16)**
Changes:
-
[SEARCH-71] egroupsarchives: make group searchable
----
**Version 1.0.8-beta (released 2020-04-14)**
Changes:
...
...
cern_search_rest_api/modules/cernsearch/jsonschemas/egroupsarchives/egroupsarchives/archive_v3.0.0.json
0 → 100644
View file @
d5a1d3d0
{
"title"
:
"Archive schema v3.0.0"
,
"id"
:
"http://<host:port>/schemas/egroupsarchives/archive_v3.0.0.json"
,
"$schema"
:
"http://<host:port>/schemas/egroupsarchives/archive_v3.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_v3.0.0.json
0 → 100644
View file @
d5a1d3d0
{
"settings"
:
{
"index.percolator.map_unmapped_fields_as_string"
:
true
,
"index.mapping.total_fields.limit"
:
100
},
"mappings"
:
{
"archive_v3.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"
:
{
"type"
:
"keyword"
},
"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"
}
}
}
}
}
cern_search_rest_api/version.py
View file @
d5a1d3d0
...
...
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from
__future__
import
absolute_import
,
print_function
__version__
=
'1.0.
8
-beta'
__version__
=
'1.0.
9
-beta'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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