# Loading synonyms from file vs from list in settings performance

**URL:** <https://discuss.elastic.co/t/loading-synonyms-from-file-vs-from-list-in-settings-performance/115692>\
**Category:** Elasticsearch\
**Created:** [January 16, 2018, 10:46am UTC](https://discuss.elastic.co/t/loading-synonyms-from-file-vs-from-list-in-settings-performance/115692 "2018-01-16T10:46:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_GR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_gr/32/26608_2.png) [@Roman\_GR](https://discuss.elastic.co/u/Roman_GR)\
**Post date:** [January 16, 2018, 10:46am UTC](https://discuss.elastic.co/t/loading-synonyms-from-file-vs-from-list-in-settings-performance/115692/1 "2018-01-16T10:46:19Z")

</div>

When I use synonyms dictionary from the file it works from the start of the ES node but when I upload it via api as part of index settings it takes a lot of time to "analyze" them (I don't actually know why it takes more time than read them from file). And I'm sure that it's not caused by network issues because even if AWS breaks request due to timeout after 1 min, settings appears after 10 min for example.  
Is it expected behaviour and are there any ways to decrease this time?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 13, 2018, 10:46am UTC](https://discuss.elastic.co/t/loading-synonyms-from-file-vs-from-list-in-settings-performance/115692/2 "2018-02-13T10:46:25Z")

</div>

Closed on February 13, 2018, 10:46am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
