open-contracting / standard

Documentation of the Open Contracting Data Standard (OCDS)
http://standard.open-contracting.org/
Other
139 stars 46 forks source link

Add and/or make content relevant to people and planet more discoverable #1717

Open jpmckinney opened 4 hours ago

jpmckinney commented 4 hours ago
jpmckinney commented 3 hours ago

Ran this on the server:

curl -n -X PUT -H "Content-Type: application/json" -H "Accept: application/json" \
  "https://standard.open-contracting.org/search/_synonyms/synonyms" \
  --data '{"synonyms_set":[{"synonyms":"gender, women"},{"synonyms":"green, spp, sustainable"},{"synonyms":"sme, small business"}]}'

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-with-synonyms.html https://www.elastic.co/guide/en/elasticsearch/reference/current/put-synonyms-set.html

ocds-index uses language analyzers