# Mapping.attachment.indexed\_chars: -1 does not work for index of elasticsearch-mapper-attachments

**URL:** <https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967>\
**Category:** Elasticsearch\
**Created:** [May 15, 2013, 6:48am UTC](https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967 "2013-05-15T06:48:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xinxi\_Li](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@Xinxi\_Li](https://discuss.elastic.co/u/Xinxi_Li)\
**Post date:** [May 15, 2013, 6:48am UTC](https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967/1 "2013-05-15T06:48:52Z")

</div>

i have set index.mapping.attachment.indexed\_chars: -1 or indexed\_chars: 1  
in elasticsearch.yml,but get the same error:Failed to extract [100000]  
characters of text for [null].

--  
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:** [May 15, 2013, 7:25am UTC](https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967/2 "2013-05-15T07:25:25Z")

</div>

Hey,

When writing to Elasticsearch mailing list, you should give some context.  
That said, I answered to your question in: [Modify Indexed Characters limit · Issue #17 · dadoonet/fscrawler · GitHub](https://github.com/dadoonet/fsriver/issues/17#issuecomment-17922514)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 15 mai 2013 à 08:48, Xinxi Li [nk05xy@gmail.com](mailto:nk05xy@gmail.com) a écrit :

> i have set index.mapping.attachment.indexed\_chars: -1 or indexed\_chars: 1 in elasticsearch.yml,but get the same error:Failed to extract [100000] characters of text for [null].
> 
> --  
> 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:** ![Xinxi\_Li](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@Xinxi\_Li](https://discuss.elastic.co/u/Xinxi_Li)\
**Post date:** [May 15, 2013, 7:36am UTC](https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967/3 "2013-05-15T07:36:21Z")

</div>

i known that,thank you,david.

在 2013年5月15日星期三UTC+8下午3时26分50秒，David Pilato写道：

> Hey,
> 
> When writing to Elasticsearch mailing list, you should give some context.  
> That said, I answered to your question in:  
> [Modify Indexed Characters limit · Issue #17 · dadoonet/fscrawler · GitHub](https://github.com/dadoonet/fsriver/issues/17#issuecomment-17922514)
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 15 mai 2013 à 08:48, Xinxi Li \<[nk0...@gmail.com](mailto:nk0...@gmail.com) \<javascript:\>\> a écrit  
> :
> 
> i have set index.mapping.attachment.indexed\_chars: -1 or indexed\_chars: 1  
> in elasticsearch.yml,but get the same error:Failed to extract [100000]  
> characters of text for [null].
> 
> --  
> 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:36am UTC](https://discuss.elastic.co/t/mapping-attachment-indexed-chars-1-does-not-work-for-index-of-elasticsearch-mapper-attachments/11967/4 "2017-07-06T02:36:40Z")

</div>


