# Fragment texts starting with "..."

**URL:** <https://discuss.elastic.co/t/fragment-texts-starting-with/125829>\
**Category:** Elasticsearch\
**Created:** [March 27, 2018, 9:55pm UTC](https://discuss.elastic.co/t/fragment-texts-starting-with/125829 "2018-03-27T21:55:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MolloKhan](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MolloKhan](https://discuss.elastic.co/u/MolloKhan)\
**Post date:** [March 27, 2018, 9:55pm UTC](https://discuss.elastic.co/t/fragment-texts-starting-with/125829/1 "2018-03-27T21:55:04Z")

</div>

Hi, I've been searching for documentation that guides me to how to prepend/append a fragmented text with "..." (3 dots), just like this site does, but all that I've found is this: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html#specify-fragmenter](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html#specify-fragmenter)  
I don't want to do it manually (replacing the first 3 chars by dots) because I can't be certain if the snippet of the text is the very beginning or not.

If someone can help me through this I would be very thankful.

---

<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:** [March 28, 2018, 2:20am UTC](https://discuss.elastic.co/t/fragment-texts-starting-with/125829/2 "2018-03-28T02:20:10Z")

</div>

I never heard about something like that.

---

<div class="post-metadata">

**Author:** ![MolloKhan](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MolloKhan](https://discuss.elastic.co/u/MolloKhan)\
**Post date:** [March 28, 2018, 3:57pm UTC](https://discuss.elastic.co/t/fragment-texts-starting-with/125829/3 "2018-03-28T15:57:53Z")

</div>

Oh, really? I thought it was a common use case. Google does it for their search result descriptions.

---

<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:** [April 25, 2018, 3:58pm UTC](https://discuss.elastic.co/t/fragment-texts-starting-with/125829/4 "2018-04-25T15:58:32Z")

</div>

Closed on April 25, 2018, 3:58pm UTC

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