modified snippet to add abstracts if no 
documents are found.