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
e4ceea52
Commit
e4ceea52
authored
Apr 28, 2020
by
Carina Antunes
Browse files
remove binary mappings
parent
8302af40
Changes
3
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/modules/cernsearch/jsonschemas/test/test/binary_v0.0.2.json
deleted
100644 → 0
View file @
8302af40
{
"title"
:
"Custom record schema v0.0.1"
,
"id"
:
"http://localhost:5000/schemas/test/binary_v0.0.1.json"
,
"$schema"
:
"http://localhost:5000/schemas/test/binary_v0.0.1.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"
,
"title"
:
{
"type"
:
"string"
,
"description"
:
"Record title."
},
"description"
:
{
"type"
:
"string"
,
"description"
:
"Description for record."
},
"link"
:
{
"type"
:
"string"
,
"description"
:
"URL where to find the original file."
},
"b64"
:
{
"type"
:
"string"
,
"description"
:
"Base64 encoded binary file."
},
"content"
:
{
"type"
:
"object"
,
"description"
:
"Extracted content of the binary file"
,
"properties"
:
{
"content"
:
{
"type"
:
"string"
},
"title"
:
{
"type"
:
"string"
},
"keywords"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"author"
:
{
"type"
:
"string"
},
"content_type"
:
{
"type"
:
"string"
}
}
}
},
"control_number"
:
{
"type"
:
"string"
},
"$schema"
:
{
"type"
:
"string"
}
}
}
\ No newline at end of file
cern_search_rest_api/modules/cernsearch/mappings/test/v6/test/binary_v0.0.2.json
deleted
100644 → 0
View file @
8302af40
{
"settings"
:
{
"index.percolator.map_unmapped_fields_as_string"
:
true
,
"index.mapping.total_fields.limit"
:
3000
},
"mappings"
:
{
"binary_v0.0.2"
:
{
"dynamic"
:
"strict"
,
"numeric_detection"
:
true
,
"_meta"
:
{
"_owner"
:
"CernSearch-Administrators@cern.ch"
},
"properties"
:
{
"_access"
:
{
"type"
:
"object"
,
"properties"
:
{
"owner"
:{
"type"
:
"keyword"
},
"read"
:
{
"type"
:
"keyword"
},
"update"
:
{
"type"
:
"keyword"
},
"delete"
:
{
"type"
:
"keyword"
}
}
},
"_data"
:
{
"type"
:
"object"
,
"properties"
:
{
"title"
:
{
"type"
:
"keyword"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"description"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"link"
:
{
"type"
:
"keyword"
},
"b64"
:
{
"enabled"
:
false
},
"content"
:
{
"type"
:
"object"
,
"properties"
:
{
"content"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"title"
:
{
"type"
:
"keyword"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"keywords"
:
{
"type"
:
"keyword"
},
"author"
:
{
"type"
:
"keyword"
},
"content_type"
:
{
"type"
:
"keyword"
}
}
}
}
},
"_updated"
:
{
"type"
:
"date"
},
"_created"
:
{
"type"
:
"date"
},
"control_number"
:
{
"type"
:
"keyword"
},
"$schema"
:
{
"enabled"
:
false
}
}
}
}
}
cern_search_rest_api/modules/cernsearch/mappings/test/v7/test/binary_v0.0.2.json
deleted
100644 → 0
View file @
8302af40
{
"settings"
:
{
"index.percolator.map_unmapped_fields_as_text"
:
true
,
"index.mapping.total_fields.limit"
:
3000
,
"index.query.default_field"
:
[
"_data.*"
]
},
"mappings"
:
{
"dynamic"
:
"strict"
,
"numeric_detection"
:
true
,
"_meta"
:
{
"_owner"
:
"CernSearch-Administrators@cern.ch"
},
"properties"
:
{
"_access"
:
{
"type"
:
"object"
,
"properties"
:
{
"owner"
:
{
"type"
:
"keyword"
},
"read"
:
{
"type"
:
"keyword"
},
"update"
:
{
"type"
:
"keyword"
},
"delete"
:
{
"type"
:
"keyword"
}
}
},
"_data"
:
{
"type"
:
"object"
,
"properties"
:
{
"title"
:
{
"type"
:
"keyword"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"description"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"link"
:
{
"type"
:
"keyword"
},
"b64"
:
{
"enabled"
:
false
},
"content"
:
{
"type"
:
"object"
,
"properties"
:
{
"content"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"title"
:
{
"type"
:
"keyword"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
}
}
},
"keywords"
:
{
"type"
:
"keyword"
},
"author"
:
{
"type"
:
"keyword"
},
"content_type"
:
{
"type"
:
"keyword"
}
}
}
}
},
"_updated"
:
{
"type"
:
"date"
},
"_created"
:
{
"type"
:
"date"
},
"control_number"
:
{
"type"
:
"keyword"
},
"$schema"
:
{
"enabled"
:
false
}
}
}
}
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