Re: Payload Example for Lucene 3.0.0

2010-04-19 Thread Ajay_978
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

Re: Payload Example for Lucene 3.0.0

2010-04-18 Thread Ajay_978
I am struggling to use PayTermQuery because of PayloadFunction. I didnt find any example of PayTermQuery. I am already using BoostTermQuery but I am not able to extract payload value. I am using example mention in http://www.lucidimagination.com/blog/2009/08/05/getting-started-with-payloads/commen

Payload Example for Lucene 3.0.0

2010-04-16 Thread Ajay_978
Hi, I would like to have example of adding payload for lucene 3.0. I found an example on internet which uses BoostingTermQuery but I couldn't find this class in Lucene 3.0.0 jar and I was wondering if someone knows the workaround or where can I find. If someone can post an example that will be ver