Hi guys. I was checking this doc on synonyms supp...
# all-things-deployment
b
Hi guys. I was checking this doc on synonyms support.https://datahubproject.io/docs/architecture/stemming_and_synonyms/ I did not find how a user could configure the synonyms. I did find a list in metadata-io module https://raw.githubusercontent.com/datahub-project/datahub/2bd8be47907b614cd259a031f7fd8b5[…]io/src/main/resources/elasticsearch/synonyms/default.txt Questions: 1. If i have to add my synonyms, should i add in this module and do rebuild and reindex? 2. Any way to update synonym list without down time? Please share your experience and thoughts. Thank you
d
@bulky-soccer-26729 would love you help here!
b
hmm this is a good platform question that I might get @orange-night-91387 to help out on!
a
1. Yes, that would be the way to do it. 2. Unfortunately not currently. There is dynamic synonyms support on the Elastic side, but we do not currently support a way to inject them into our queries and like the documentation says it can have significant performance implications.
b
@orange-night-91387 @bulky-soccer-26729 Thanks for the reply. May I know if there are any other ways we can add our synonyms? It would have been great if it was possible to configure externally. Also the documentation is not clear on how to use this feature.
a
It's not really intended to be customized heavily in its current implementation. We don't have immediate plans to expand on it to my knowledge.
b
ok. Although in my humble opinion, I feel since Datahub mentions synonyms as a feature, it should be easily configurable. I understand downtime is required and I am ok with it but it could have been externally configurable.Just giving my feedback.