CouncilDataProject / seattle_v2

Website for interacting with Seattle's instance of CDP
https://councildataproject.github.io/seattle
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Add sort by `Relevance` or `Date` on search pages #32

Closed evamaxfield closed 4 years ago

evamaxfield commented 4 years ago

There has been some confusion about how search works by users. I think the best way to describe what is happening is simply add a dropdown that has two options, Sort By: Relevance and Sort By: Date. With the default being Relevance.

Sort By: Date would still search against the index but it would sort by the event_datetime instead of the sum of the index terms (relevance)

evamaxfield commented 4 years ago

A third category of Relevance weight by date may be useful... Thinking on how to do this needed.

evamaxfield commented 4 years ago

Closing in favor of #77