basic rag implementation - Search