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

Investigate: ES sort by multivalued field? #34

Closed jduss4 closed 5 years ago

jduss4 commented 7 years ago

In Solr you specify if a field is single or multivalued. Since in ES it is flexible, how would it look if a multivalued field was requested to sort by?

jduss4 commented 7 years ago

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option

jduss4 commented 7 years ago

I think this could potentially wait til v2 because I'm not sure it's much of an issue for Cather at the moment

karindalziel commented 7 years ago

In implementation we probably don't want to allow sort on multivalued and instead build a field to sort on.