Full Analysis of the RAG Pipeline in AI Search Engines: Technical Targets and Implementation Framework for GEO Optimization