You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Muhammad Ismail <it...@gmail.com> on 2015/04/07 20:54:42 UTC
Lucene (3.0) print payload information
Hi
I have created a sample index with 2 fields i.e. [title & body] I have
saved payload information (float value) with title field. Now I am trying
to print payload value for each term in title field.
Getting termpositions from reader does not work.
reader.termpoistion().isPayloadAvailable() is not working for me
Code snippet to get payload value for each term in field will help
Thanks