The approach would depend on what your performance requirements are and the total number of docs as well.
But in general, lesser number of words in a single document will be more performant than more number of words.
So I would recommend starting by putting 10K words in a single document, measuring performance and then splitting the large document into smaller chunks and using
group_by
as required.