# Elasticsearch Weight query

**URL:** https://discuss.elastic.co/t/elasticsearch-weight-query/304975
**Category:** Elasticsearch
**Tags:** eql-elastic-query-language
**Created:** [May 17, 2022, 4:58pm UTC](https://discuss.elastic.co/t/elasticsearch-weight-query/304975 "2022-05-17T16:58:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![painless\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/painless_elastic/32/94652_2.png) [@painless\_elastic](https://discuss.elastic.co/u/painless_elastic)
#### Post date: [May 17, 2022, 4:58pm UTC](https://discuss.elastic.co/t/elasticsearch-weight-query/304975/1 "2022-05-17T16:58:24Z")

</div>

I tried finding the example queries where **weight param** is used to do **relevancy and scoring** , but couldn't; able to do so.

**Is it possible to add weight in the search query similar to boost in the Elasticsearch community edition?**

As per [App Search](https://www.elastic.co/guide/en/app-search/current/relevance-tuning-guide.html), **weight is also used with a boost to do relevancy and scoring.**

---

<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: [June 14, 2022, 4:58pm UTC](https://discuss.elastic.co/t/elasticsearch-weight-query/304975/2 "2022-06-14T16:58:53Z")

</div>

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