# Elastic: "\[match\] analyzer \[synonymAnalyzer\] not found"

**URL:** <https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609>\
**Category:** Questions\
**Created:** [August 25, 2020, 12:54pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609 "2020-08-25T12:54:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [August 25, 2020, 12:54pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609/1 "2020-08-25T12:54:47Z")

</div>

Free text search is not wokring with elastic, error “[match] analyzer [synonymAnalyzer] not found” do i manually need to activat it somehow`? Or will it only be activated if i enable synonym callback in the web config?

To be clear, i have not added any synonyms, and have not added the callback string but i expect that the plugin code should work anyhow?

```
					if (!string.IsNullOrWhiteSpace(searchQuery.Text))
					{
						var fuzziness = searchQuery.Text.Length > 2 ? Fuzziness.EditDistance(2) : Fuzziness.Auto;
						allQueries.Add((qc.Match(x => x.Field(z => z.Name).Query(searchQuery.Text).Fuzziness(fuzziness).Boost(10).SynonymAnalyzer())
										|| qc.Match(x => x.Field(z => z.ArticleNumber).Query(searchQuery.Text.ToLower()).Boost(2).SynonymAnalyzer())
										|| qc.Match(x => x.Field(z => z.Content).Query(searchQuery.Text).Fuzziness(fuzziness).SynonymAnalyzer())));
					}

```

??

If i remove the .SynonymAnalyzer() it work fine

Litium version: 7.4

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [August 25, 2020, 3:00pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609/2 "2020-08-25T15:00:08Z")

</div>

It’s an known bug and will be fixed in next release.

[https://docs.litium.com/support/bugs/bug\_details?id=50010](https://docs.litium.com/support/bugs/bug_details?id=50010)

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [August 25, 2020, 3:02pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609/3 "2020-08-25T15:02:29Z")

</div>

So it should work if i add the pingback string and rebuild the index?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [August 25, 2020, 3:03pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609/4 "2020-08-25T15:03:43Z")

</div>

Yes, that should work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [September 22, 2020, 3:03pm UTC](https://forum.litium.com/t/elastic-match-analyzer-synonymanalyzer-not-found/1609/5 "2020-09-22T15:03:44Z")

</div>

Closed on September 22, 2020, 3:03pm UTC

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