# Full-text search in the Rollup index

**URL:** <https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283>\
**Category:** Elasticsearch\
**Tags:** rollups\
**Created:** [September 15, 2021, 12:35pm UTC](https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283 "2021-09-15T12:35:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IliaIsakhin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iliaisakhin/32/75238_2.png) [@IliaIsakhin](https://discuss.elastic.co/u/IliaIsakhin)\
**Post date:** [September 15, 2021, 12:35pm UTC](https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283/1 "2021-09-15T12:35:44Z")

</div>

Greetings!  
I've configured roll-up jobs for my Elasticsearch cluster. As I see from docs, roll-up index by default contains fields with types keyword or numeric.  
I want to perform full-text search by certain fields in my roll-up index. What solution will be best for my case?

1. Manually insert same fields with the text type.
2. Do not use roll-up index, perform full-text search on the source ES index. (I wouldn't prefer that case because source index is quite big, and I should store data for 1.5 years for search)

Thank you

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2021, 10:26pm UTC](https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283/2 "2021-09-15T22:26:34Z")

</div>

What sort of text do you want to add/keep in the rollup?

---

<div class="post-metadata">

**Author:** ![IliaIsakhin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iliaisakhin/32/75238_2.png) [@IliaIsakhin](https://discuss.elastic.co/u/IliaIsakhin)\
**Post date:** [September 16, 2021, 5:47am UTC](https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283/3 "2021-09-16T05:47:21Z")

</div>

It will be duplicated values of existing fields with keyword type.

For example, my mapping could be like this:

```auto
{ "request.query.terms.keyword": "Foo Bar", "type": "keyword" }
{ "request.query.terms.text": "Foo Bar", "type": "text" } 

```

---

<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:** [October 14, 2021, 5:47am UTC](https://discuss.elastic.co/t/full-text-search-in-the-rollup-index/284283/4 "2021-10-14T05:47:35Z")

</div>

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