# Indexing large text fields

**URL:** <https://discuss.elastic.co/t/indexing-large-text-fields/210694>\
**Category:** Elasticsearch\
**Created:** [December 5, 2019, 11:51am UTC](https://discuss.elastic.co/t/indexing-large-text-fields/210694 "2019-12-05T11:51:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxim\_Golman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maxim_golman/32/45217_2.png) [@Maxim\_Golman](https://discuss.elastic.co/u/Maxim_Golman)\
**Post date:** [December 5, 2019, 11:51am UTC](https://discuss.elastic.co/t/indexing-large-text-fields/210694/1 "2019-12-05T11:51:44Z")

</div>

Hello,

I'm trying to index news and other articles that my clients upload and allow free text search on them.  
Is elasticsearch the right choice since there's a limit to text field size which get indexed.

---

<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:** [December 5, 2019, 12:15pm UTC](https://discuss.elastic.co/t/indexing-large-text-fields/210694/2 "2019-12-05T12:15:17Z")

</div>

Welcome!

> [@Maxim\_Golman](#):
>
> since there's a limit to text field size

Which limit are you referring to?

> [@Maxim\_Golman](#):
>
> Is elasticsearch the right choice

Yes. Think about wikipedia. They are indexing lot of content in elasticsearch.  
Also have a look at [AppSearch](https://www.elastic.co/products/app-search) and may be [Site Search](https://www.elastic.co/products/site-search). That could be even easier.

---

<div class="post-metadata">

**Author:** ![Maxim\_Golman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maxim_golman/32/45217_2.png) [@Maxim\_Golman](https://discuss.elastic.co/u/Maxim_Golman)\
**Post date:** [December 9, 2019, 10:22am UTC](https://discuss.elastic.co/t/indexing-large-text-fields/210694/3 "2019-12-09T10:22:56Z")

</div>

Sorry, in the mapping configuration, there was a confusing term:

> "type" : "text",  
> "fields" : {  
> " keyword" : {  
> "type" : "keyword",  
> "ignore\_above" : 256  
> }  
> }

The "ignore\_above" value refers to a single word, not the entire field.

---

<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:** [January 6, 2020, 10:23am UTC](https://discuss.elastic.co/t/indexing-large-text-fields/210694/4 "2020-01-06T10:23:03Z")

</div>

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