I want to show all of the highlights for all documents (i.e if a document has 10 000 hits I need them all). Setting the highlighter option number_of_fragments to a really high number does the job, but if a document has thousands of hits for that search the client will overload. Attempts to find pagination support for highlights have failed. Can this be solved in some other clever way?
That isn't a feature that exists now.
The closest you can get now is to index a document per page and highlight those.
Thanks, I'll see if I can make that work.