# Boosting in query upon source document properties

**URL:** <https://discuss.elastic.co/t/boosting-in-query-upon-source-document-properties/8645>\
**Category:** Elasticsearch\
**Created:** [August 6, 2012, 10:39am UTC](https://discuss.elastic.co/t/boosting-in-query-upon-source-document-properties/8645 "2012-08-06T10:39:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Kournjaev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_kournjaev/32/2552_2.png) [@Roman\_Kournjaev](https://discuss.elastic.co/u/Roman_Kournjaev)\
**Post date:** [August 6, 2012, 10:39am UTC](https://discuss.elastic.co/t/boosting-in-query-upon-source-document-properties/8645/1 "2012-08-06T10:39:40Z")

</div>

HI

We are using ES through the .Net Nest [https://github.com/Mpdreamz/NEST](https://github.com/Mpdreamz/NEST)  
client.

The Index document indexed looks like this :

[ElasticType(  
Name = "tag",  
DateDetection = true,  
NumericDetection = true,  
SearchAnalyzer = "standard",  
IndexAnalyzer = "standard"  
)]  
public class TagIndexDto : AbstractIndexDto  
{

```
    [ElasticProperty(Index = FieldIndexOption.analyzed, OmitNorms = true)]
    public string Name { get; set; }
    [ElasticProperty(Index = FieldIndexOption.analyzed, OmitNorms = true)]
    public string Description { get; set; }
    [ElasticProperty(AddSortField = true)]
    public int FollowerCount { get; set; }
    [ElasticProperty(AddSortField = true)]
    public int ProductCount { get; set; }
    [ElasticProperty(AddSortField = true)]
    public int CatalogCount { get; set; }
}

```

What I want to do is to give a specific boost upon the values of the 3  
counts ( last 3 fields ). And the boost should be configurable , it means  
the exact value of the boost is not known at indexing time.  
Is that actually supported by lucene ? ES ? Or I am looking for a  
nonexisting feature ?

Thanks  
Roman

---

<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:** [July 6, 2017, 3:17am UTC](https://discuss.elastic.co/t/boosting-in-query-upon-source-document-properties/8645/2 "2017-07-06T03:17:38Z")

</div>

Closed on July 6, 2017, 3:17am UTC


