# Lucene with synonyms

**URL:** <https://forum.litium.com/t/lucene-with-synonyms/1817>\
**Category:** Questions\
**Tags:** litium-6\
**Created:** [December 15, 2020, 2:54pm UTC](https://forum.litium.com/t/lucene-with-synonyms/1817 "2020-12-15T14:54:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AOhlin](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@AOhlin](https://forum.litium.com/u/AOhlin)\
**Post date:** [December 15, 2020, 2:54pm UTC](https://forum.litium.com/t/lucene-with-synonyms/1817/1 "2020-12-15T14:54:16Z")

</div>

Hi,  
Our customer is asking about using synonyms for searches on their site.  
What I can see there is no support for this with lucene on our version.  
Have I missed something? Is there a solution for this?

Customer wants e.g the search word “Jackor” to also get hits on items that contains “jacka” in their name.

Thanks!

Litium version: 6.1

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [December 15, 2020, 5:14pm UTC](https://forum.litium.com/t/lucene-with-synonyms/1817/2 "2020-12-15T17:14:36Z")

</div>

You can either implement your own logic Or add a new text field to the product e.g. Synonyms and add all related words with a hyphen, for example Jackor-jacka-Winterwear-orWhatEver…

---

<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:** [January 12, 2021, 5:14pm UTC](https://forum.litium.com/t/lucene-with-synonyms/1817/3 "2021-01-12T17:14:44Z")

</div>

Closed on January 12, 2021, 5:14pm UTC

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