# Full text search for when text/document is split chunks

**URL:** https://discuss.elastic.co/t/full-text-search-for-when-text-document-is-split-chunks/208487
**Category:** Elasticsearch
**Created:** [November 19, 2019, 10:36am UTC](https://discuss.elastic.co/t/full-text-search-for-when-text-document-is-split-chunks/208487 "2019-11-19T10:36:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![smerchant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smerchant/32/46221_2.png) [@smerchant](https://discuss.elastic.co/u/smerchant)
#### Post date: [November 19, 2019, 10:36am UTC](https://discuss.elastic.co/t/full-text-search-for-when-text-document-is-split-chunks/208487/1 "2019-11-19T10:36:09Z")

</div>

We have large number of books and we would like to store each book (size of the single book itself could be very large) into small chucks/sections (let's say between 300 to 500 words).

I am not sure how search would work if I search for a phrase, **'The boy is standing in a blue shirt'**. especially when it is split into multiple record/documents

1. document 1: ...The boy is standing document
2. document 2: in a blue shirt. ...

We really would like the exact phrase match to work even if it is split.

What would be best way to achieve this?

Thank you

---

<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: [November 21, 2019, 4:14am UTC](https://discuss.elastic.co/t/full-text-search-for-when-text-document-is-split-chunks/208487/2 "2019-11-21T04:14:37Z")

</div>

Welcome!

You can't really do that as the text will go to x documents instead of a single one.

---

<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: [December 19, 2019, 4:14am UTC](https://discuss.elastic.co/t/full-text-search-for-when-text-document-is-split-chunks/208487/3 "2019-12-19T04:14:40Z")

</div>

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