# \-ve boosting documents at index time

**URL:** <https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144>\
**Category:** Elasticsearch\
**Created:** [March 13, 2013, 9:44pm UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144 "2013-03-13T21:44:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Patel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amit_patel/32/2323_2.png) [@Amit\_Patel](https://discuss.elastic.co/u/Amit_Patel)\
**Post date:** [March 13, 2013, 9:44pm UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/1 "2013-03-13T21:44:17Z")

</div>

I would like to know if its possible to down weight some of the documents  
at index time, based on list of terms?  
Lets say I have a document containing following fileds:  
th\_name,  
th\_description,  
th\_show\_title

I want to down weight anything which has "news" in the filed "th\_name". So  
when I search for news, all docs having "news" in the "th\_name" filed will  
have less score than other docs with "news" in th\_description.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Amit\_Patel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amit_patel/32/2323_2.png) [@Amit\_Patel](https://discuss.elastic.co/u/Amit_Patel)\
**Post date:** [March 14, 2013, 1:10am UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/2 "2013-03-14T01:10:54Z")

</div>

Anyone?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 14, 2013, 7:03am UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/3 "2013-03-14T07:03:57Z")

</div>

Use mapping. See boost in [http://www.elasticsearch.org/guide/reference/mapping/core-types.html](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mars 2013 à 22:44, Amit Patel [avpatel.257@gmail.com](mailto:avpatel.257@gmail.com) a écrit :

I would like to know if its possible to down weight some of the documents at index time, based on list of terms?  
Lets say I have a document containing following fileds:  
th\_name,  
th\_description,  
th\_show\_title

## I want to down weight anything which has "news" in the filed "th\_name". So when I search for news, all docs having "news" in the "th\_name" filed will have less score than other docs with "news" in th\_description.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [March 14, 2013, 11:23am UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/4 "2013-03-14T11:23:12Z")

</div>

On Wed, 2013-03-13 at 18:10 -0700, Amit Patel wrote:

> Anyone?

Please don't spam the list just a few hours after asking the original  
question.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Amit\_Patel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amit_patel/32/2323_2.png) [@Amit\_Patel](https://discuss.elastic.co/u/Amit_Patel)\
**Post date:** [March 14, 2013, 7:58pm UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/5 "2013-03-14T19:58:26Z")

</div>

Thanks David. You saved me a lot of time.

On Thursday, March 14, 2013 3:03:57 AM UTC-4, David Pilato wrote:

> Use mapping. See boost in  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 13 mars 2013 à 22:44, Amit Patel \<[avpat...@gmail.com](mailto:avpat...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> I would like to know if its possible to down weight some of the documents  
> at index time, based on list of terms?  
> Lets say I have a document containing following fileds:  
> th\_name,  
> th\_description,  
> th\_show\_title
> 
> I want to down weight anything which has "news" in the filed "th\_name". So  
> when I search for news, all docs having "news" in the "th\_name" filed will  
> have less score than other docs with "news" in th\_description.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:46am UTC](https://discuss.elastic.co/t/ve-boosting-documents-at-index-time/11144/6 "2017-07-06T02:46:22Z")

</div>


