Same thing here, but in reverse. Not all documents will have the mime extra field.

It would also be good to have a test that checks if the mime field returns for those search results that are files and it's not present on things like links.