biocaddie / ES-Index

Repository for collecting issues on the DDI ElasticSearch Index.
2 stars 0 forks source link

Review data mapping for PDB record #6

Open ianfore opened 9 years ago

ianfore commented 9 years ago

For example, the type for weight of materialEntity is string. This is losing the basic capability to search or filter by molecular weight. While this hasn't necessarily been outlined as a use case it would be useful not to cut off potential functionality that might reasonably be expected with something like molecular weight.

"materialEntity" : { "properties" : { "formula" :

{ "type" : "string" } , "name" :

{ "type" : "string" } , "role" :

{ "type" : "string" } , "type" :

{ "type" : "string" } , "weight" :

{ "type" : "string" } } },

Citation.Date also appears a string rather than a number.