RAG Architecture: Offline Indexing vs Online Query Path