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
f7e9bc17
Commit
f7e9bc17
authored
Apr 02, 2020
by
Carina Antunes
Browse files
mappings fix
parent
0641f370
Changes
2
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/modules/cernsearch/mappings/egroupsarchives/v6/egroupsarchives/archive_v1.0.0.json
View file @
f7e9bc17
...
...
@@ -4,7 +4,7 @@
"index.mapping.total_fields.limit"
:
100
},
"mappings"
:
{
"archive_v0.0
.1
"
:
{
"archive_v
1.
0.0"
:
{
"dynamic"
:
"strict"
,
"numeric_detection"
:
true
,
"properties"
:
{
...
...
@@ -57,24 +57,36 @@
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
},
"exact_match"
:
{
"type"
:
"keyword"
},
"whitespace"
:
{
"type"
:
"text"
,
"analyzer"
:
"whitespace"
}
}
}
}
},
"group"
:
{
"type"
:
"keyword"
,
"enabled"
:
false
},
"date"
:
{
"type"
:
"date"
,
"format"
:
"dd-MM-yyyy HH:mm"
},
"$schema"
:
{
"enabled"
:
false
},
"control_number"
:
{
"type"
:
"keyword"
},
"$schema"
:
{
"enabled"
:
false
"_created"
:
{
"type"
:
"date"
},
"_updated"
:
{
"type"
:
"date"
}
}
}
...
...
cern_search_rest_api/modules/cernsearch/mappings/egroupsarchives/v7/egroupsarchives/archive_v1.0.0.json
View file @
f7e9bc17
{
"settings"
:
{
"index.percolator.map_unmapped_fields_as_
string
"
:
true
,
"index.percolator.map_unmapped_fields_as_
text
"
:
true
,
"index.mapping.total_fields.limit"
:
100
},
"mappings"
:
{
"dynamic"
:
"strict"
,
"numeric_detection"
:
true
,
"properties"
:
{
"_access"
:
{
"type"
:
"object"
,
"properties"
:
{
"owner"
:
{
"type"
:
"keyword"
},
"read"
:
{
"type"
:
"keyword"
},
"update"
:
{
"type"
:
"keyword"
},
"delete"
:
{
"type"
:
"keyword"
"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"
}
,
"_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"
},
"from"
:
{
"type"
:
"keyword"
},
"attachments"
:
{
"type"
:
"keyword"
},
"subject"
:
{
"type"
:
"text"
,
"fields"
:
{
"english"
:
{
"type"
:
"text"
,
"analyzer"
:
"english"
},
"french"
:
{
"type"
:
"text"
,
"analyzer"
:
"french"
},
"exact_match"
:
{
"type"
:
"keyword"
},
"whitespace"
:
{
"type"
:
"text"
,
"analyzer"
:
"whitespace"
}
}
}
}
},
"group"
:
{
"enabled"
:
false
},
"date"
:
{
"type"
:
"date"
,
"format"
:
"dd-MM-yyyy HH:mm"
},
"$schema"
:
{
"enabled"
:
false
},
"control_number"
:
{
"type"
:
"keyword"
},
"_created"
:
{
"type"
:
"date"
},
"_updated"
:
{
"type"
:
"date"
}
},
"group"
:
{
"type"
:
"keyword"
,
"enabled"
:
false
},
"date"
:
{
"type"
:
"date"
,
"format"
:
"dd-MM-yyyy HH:mm"
},
"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