# How to save tabs(four whitespaces) to a keyword field?

**URL:** <https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614>\
**Category:** Elasticsearch\
**Created:** [April 24, 2020, 9:59am UTC](https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614 "2020-04-24T09:59:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wywx](https://avatars.discourse-cdn.com/v4/letter/w/f4b2a3/32.png) [@wywx](https://discuss.elastic.co/u/wywx)\
**Post date:** [April 24, 2020, 9:59am UTC](https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614/1 "2020-04-24T09:59:44Z")

</div>

Hi all,  
I want to save a string like "I am fine. --Bob" to a keyword filed,but I get a doc "I am fine. --Bob" that I loss three whitespaces. What should I do?

---

<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:** [May 22, 2020, 9:59am UTC](https://discuss.elastic.co/t/how-to-save-tabs-four-whitespaces-to-a-keyword-field/229614/2 "2020-05-22T09:59:53Z")

</div>

Closed on May 22, 2020, 9:59am UTC

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