Making search queue more generic.
Extra error logging when ES indexing fails.