CDRH / api

Codenamed "Apium": An API to access all public Center for Digital Research in the Humanities resources
https://cdrhdev1.unl.edu/api_frontend
MIT License
3 stars 1 forks source link

elasticsearch 6 removes multiple _type #85

Closed jduss4 closed 4 years ago

jduss4 commented 6 years ago

We had been splitting our collections apart using _type, but now that functionality is being removed in elasticsearch 6:

https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html

We should look into whether or not elasticsearch has pan-index searches, in which case perhaps we have a different index per collection (which would lead to more protection than we currently have against a collection pushing a bad field and needing to redo the entire thing for all projects to "remove" that field, OR we just switch to using the collection field within the API and the data repository for handling different repositories.

jduss4 commented 6 years ago

Related to #83 and https://github.com/CDRH/data/issues/112

jduss4 commented 4 years ago

We switched to using "collection"