You don't have to build a search engine that is better than Google's - you may only need to build one that is roughly in the running and keep it around until such time as you have to divest from Google.
And working for years on a project that may never see the light of day can be hard.
And working for years on a project that may never see the light of day can be hard.