LPS-44476 Format source

Hey @ealonso 

@arboliveira has prepared some tests regarding SearchResultsUtil. Since you created that class I think it's important for you to review it.

I think we should change the name of the methods `createDocument` and `createDocumentWithAlternateKey` because right now they are not very semantic. I think we should put something related to attachments or comments? Because I think that's what they are used for, right? When searching in attachments and comments. Probably you can figure it out.

Thanks!