Speed up payload loading?

2011-05-03 Thread Chris Bamford
Hi, I have been experimenting with using a int payload as a unique identifier, one per Document. I have successfully loaded them in using the TermPositions API with something like: public static void loadPayloadIntArray(IndexReader reader, Term term, int[] intArray, int from, int to)

Re: Speed up payload loading?

2011-05-03 Thread Michael McCandless
On Tue, May 3, 2011 at 5:35 AM, Chris Bamford chris.bamf...@talktalk.net wrote: Hi, I have been experimenting with using a int payload as a unique identifier, one per Document.  I have successfully loaded them in using the TermPositions API with something like:    public static void