Raising the exception here makes the name no longer accurate (because this is also called from the thumbnail function; perhaps NoSearchableTextException should be renamed MalformedDataException (or similar).