Full text search for when text/document is split chunks

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

Welcome!

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