Optimizing AI for Search Engines