new pipeline for snippet retrieval