# Weights for synonyms

**URL:** https://discuss.elastic.co/t/weights-for-synonyms/257467
**Category:** Elasticsearch
**Created:** [December 3, 2020, 8:31am UTC](https://discuss.elastic.co/t/weights-for-synonyms/257467 "2020-12-03T08:31:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![TatianaParshina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatianaparshina/32/80151_2.png) [@TatianaParshina](https://discuss.elastic.co/u/TatianaParshina)
#### Post date: [December 3, 2020, 8:31am UTC](https://discuss.elastic.co/t/weights-for-synonyms/257467/1 "2020-12-03T08:31:58Z")

</div>

Hi,

Is there a way to provide weight/boost for synonyms? For example, I have synonyms: ["laptop", "notebook"]. I want that score of "laptop" should be more then score of "notebook" and I want to specify this score.  
I have found that Apache Solr introduced Weighted Synonyms. I tried to do the same in ElasticSearch but it doesn't work

```auto
tiger, tigre|0.9

```

> **[Introducing Weighted Synonyms in Apache Lucene/Solr - Sease](https://sease.io/2020/03/introducing-weighted-synonyms-in-apache-lucene.html)**
>
> This blog post is about our latest contribution to the Apache Lucene project: introducing weighted synonyms to provide better query expansion.

Thank you!

---

<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: [December 31, 2020, 8:32am UTC](https://discuss.elastic.co/t/weights-for-synonyms/257467/2 "2020-12-31T08:32:15Z")

</div>

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