Deep Iteration of AI Search Optimization Technology: Practical RAG System Framework and Performance Bottleneck Resolution