Closed jduss4 closed 6 years ago
I ended up putting some of these into orchid to indicate assumptions through UI. For example, that if query and no sort, then must be relevance desc, etc. Should revisit these assumptions and make sure that they are perpetuated through bridge and any other places they might be showing up (like in elasticsearch's behavior itself).
I think that I disagree with my first statement about using Elasticsearch defaults, since if this is designed to be backend agnostic, we should communicate default behavior to the users clearly and not rely on elasticsearch fallbacks.
the users should only get elasticsearch defaults when querying the API, but since we already know that if there is a q then we should sort by relevance descending, if not then title asc or date asc, etc, we should build those assumptions into api_bridge.
something else to consider: do blanks go at the top or bottom of search results? See: OSCYS project, which wants n.d. in a specific place