How Search Engines Evolved: From TF-IDF and BM25 to Transformers and RAG

From Keywords to Transformers: How Search Learned to Understand Meaning