red-list-ecosystem / typology-map

A global ecosystem typology map
Other
1 stars 1 forks source link

Search: find realms, biomes, or groups #22

Closed tmfrnz closed 4 years ago

tmfrnz commented 4 years ago

As a public user, I want to

so I can quickly find the information I am interested in

jrfep commented 4 years ago

I think we need to add a list of synonyms for some groups. Users will likely search for "Mangrove" instead of "Intertidal forests and shrublands" or "Paramos" / "Andes" instead of "Tropical alpine", etc.

tmfrnz commented 4 years ago

While we could potentially even consider a full text search in the future, a list of relevant keywords for each typology item would be a bit easier to implement.

I could think of 2 options for a keyword search:

  1. Add keywords as comma-separated list to the config files, just as we do for the title. The benefit would be that this is very easy to implement as we already have everything in place
  2. Add keywords as meta data ("front matter") to our markdown content files, generate a static index (will be done automatically anytime a content element is updated) that we then download to enhance the search. This is slightly more effort but the benefit would be that the relevant keywords are maintained together with the content they represent.
tmfrnz commented 4 years ago

Will go with option 1 for now

Also

tmfrnz commented 4 years ago

@jrfep you can now enter keywords as comma-separated lists in the typology config files. You will find an example field that you can use as a template for each first typology item