Open n8upham opened 1 year ago
One way to help support this search functionality is to pre-render json files( using some jekyll template) that are organized by key-value - where key is the search term and value is a list of search results (or ids that point to same result).
Each of the search terms would have their own dedicated json file e.g., index-country.json, index-status.json, index-common-names.json
Then, in the search tool, the various indexes can be used to help narrow down the search results given the user's interest.
Curious to hear your thoughts!
related to #44
@jhpoelen can you think of ways in which we could improve our current filter-based search at mammaldiversity.org? I've been discussing with @liphardt but no easy solutions emerged
Some fields of the JSON endpoint we'd like to be able to search include: