cedadev / archive-opensearch

Prototype Opensearch Application for the CEDA Archive
0 stars 0 forks source link

Give a preferred string for facet names and facet values #75

Closed rsmith013 closed 4 years ago

rsmith013 commented 4 years ago

Which is where the search terms(facets) are defined in OpenSearch could have the preferred readable text for each entry.

e.g. ‘Greenhouse Gases’ in Dashboard = ‘GHG’ and in SearchUI = ‘greenhouse gases (14)’

Definition in the above link:

<param:Option label="GHG (12)" value="GHG"/> Which could be extended to
<param:Option label="GHG (12)" value="GHG" text=”Greenhouse Gases/>

And the text can be used consistently throughout the SearchUi/Dashboard