Well, according to the javadoc, PayloadTermQuery "factors in the value of the payload located at each of the positions where the Term occurs".
Have you read some of the info available from Google by searching for "lucene payloads"? -- Ian. On Fri, Nov 23, 2012 at 8:32 AM, wgggfiy <wuqiu.m...@qq.com> wrote: > After I finish "packing your information into a payload", but > is there some method to search with the information ? > what is the "PayloadTermQuery" for ?? > thx > > > > ----- > -------------------------- > Email: wuqiu.m...@qq.com > -------------------------- > -- > View this message in context: > http://lucene.472066.n3.nabble.com/what-is-the-offsets-and-payload-in-DocsAndPositionsEnum-for-tp4020933p4021981.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org