Hi I am able to manage getpayload value using TermPosition class but now I am having one issue. I have document with doc_id and Title and I want to get payload for a given term in a given document but current API's takes input as term only. There is no parameter for document id. API example: Term t = new Term("Title", "Java"); TermPositions positions = ir.termPositions(t)
I want to iterate for all documents and wants to get payload for each document separately. Is there any API available ? -- View this message in context: http://n3.nabble.com/Payload-Example-for-Lucene-3-0-0-tp723757p729590.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