set doc id in snippet extraction passages