This will require some development efforts, but you can achieve this by indexing each page of each document as a separate Solr document, and then use code failure to group different page images for each document.
Please note that for this you need night time, the collapse of the field is not implemented in any of the currently released versions of Solr.
Also note: field folding is implemented in Solr 3.3 . Additional updates are expected in the next big version ( Solr 4.0 )
source
share