# Does elasticsearch learn new synonyms and misspellings?

**URL:** <https://discuss.elastic.co/t/does-elasticsearch-learn-new-synonyms-and-misspellings/223509>\
**Category:** Elasticsearch\
**Created:** [March 13, 2020, 12:57pm UTC](https://discuss.elastic.co/t/does-elasticsearch-learn-new-synonyms-and-misspellings/223509 "2020-03-13T12:57:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alberto56](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto56/32/64411_2.png) [@alberto56](https://discuss.elastic.co/u/alberto56)\
**Post date:** [March 13, 2020, 12:57pm UTC](https://discuss.elastic.co/t/does-elasticsearch-learn-new-synonyms-and-misspellings/223509/1 "2020-03-13T12:57:31Z")

</div>

Hi, I am new to Elasticsearch and I'm looking for a product which will do the following:

Let's say people search for "physisian" and end up with no results, then try again with "physician" and click on a result, a would like the system to "learn" that "physisian" is actually a misspelling of "physician".

My question is: does Elasticsearch have some type of automatic learning of misspellings/synonyms?

Other systems I've tried like SOLR work well, but, as far as I can tell, they require me to maintain a synonyms.txt file which is not possible due to the large quantity of content.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 13, 2020, 1:20pm UTC](https://discuss.elastic.co/t/does-elasticsearch-learn-new-synonyms-and-misspellings/223509/2 "2020-03-13T13:20:52Z")

</div>

Welcome!

Just use [https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html) or [https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness](https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness)

---

<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:** [April 10, 2020, 1:21pm UTC](https://discuss.elastic.co/t/does-elasticsearch-learn-new-synonyms-and-misspellings/223509/3 "2020-04-10T13:21:04Z")

</div>

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