I apologize. I did not know where exactly I needed to post this - I'll remove the others.
As for indexing, I'm using Solr example docs script to post the documents & then using the mentioned code to get the token stream of that index. I've the following doc : ipod_video_1.xml : <add><doc> <field name="id">MA147LL/A</field> <field name="name">Running Apple 60 GB iPod with Video Playback Black - Apple</field> <field name="name2">Sample Running Apple 60 GB iPod with Video Playback Black - Apple</field> </doc></add> And I indexed it using the "post.sh" script in example docs via "sh post.sh ipod_video_1.xml" Thanks. ----- -- Phani -- View this message in context: http://lucene.472066.n3.nabble.com/Token-Stream-with-Offsets-Token-Sources-class-tp4054383p4054514.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org