# Boosting date parameter

**URL:** https://discuss.elastic.co/t/boosting-date-parameter/75705
**Category:** Elasticsearch
**Created:** [February 20, 2017, 10:09am UTC](https://discuss.elastic.co/t/boosting-date-parameter/75705 "2017-02-20T10:09:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [February 20, 2017, 10:09am UTC](https://discuss.elastic.co/t/boosting-date-parameter/75705/1 "2017-02-20T10:09:27Z")

</div>

Hi All,

I have a doc search where i am performing search based on some terms and search is fine.now i want to perform search operation such a way that the term we are searching it should search in current month docs , last month docs , next previous month logs etc...so results should display in current month docs contains this term , last month docs contains this term etc.... Can we boost date field is it to get this type search scenarios?

version of ES using : 1.5.2

i found one link to do this can i perform search like this.

> <https://stackoverflow.com/questions/12091365/is-it-possible-to-boost-newest-items-using-elasticsearch-foqelasticabundle>

Thanks  
phani

---

<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: [March 20, 2017, 10:09am UTC](https://discuss.elastic.co/t/boosting-date-parameter/75705/2 "2017-03-20T10:09:31Z")

</div>

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