Log warning for too long headwords while indexing