Index should only be created on server-side