Thanks Simon!
On 29.10.2012 г. 21:38, Simon Willnauer wrote:
you should call currDocsAndPositions.nextPosition() before you call
currDocsAndPositions.getPayload() payloads are per positions so you
need to advance the pos first!
simon
On Mon, Oct 29, 2012 at 6:44 PM, Ivan Vasilev wrote:
Hi G
you should call currDocsAndPositions.nextPosition() before you call
currDocsAndPositions.getPayload() payloads are per positions so you
need to advance the pos first!
simon
On Mon, Oct 29, 2012 at 6:44 PM, Ivan Vasilev wrote:
> Hi Guys,
>
> I use the following code to index documents and set Pa
Hi Guys,
I use the following code to index documents and set Payloads to term
positions:
public class TestPayloads_ {
private static final String INDEX_DIR =
"E:/Temp/Index";
public static void main(String[] args) throws Exception {
IndexWriterConfig iwc = new
Ind