Re: problem with payload retrieval in custom query - lucene 5.3.1

2015-12-24 Thread Bob Price
Thanks Adrien! That was the missing piece. Now I can access the payloads. On Thu, Dec 24, 2015 at 8:50 AM, Adrien Grand wrote: > Note that payloads are stored per position, not per document. Maybe the > problem is that you never call docs.nextPosition()? > > Le mer. 23 déc. 2015 à 19:30, Bob P

Re: problem with payload retrieval in custom query - lucene 5.3.1

2015-12-24 Thread Adrien Grand
Note that payloads are stored per position, not per document. Maybe the problem is that you never call docs.nextPosition()? Le mer. 23 déc. 2015 à 19:30, Bob Price a écrit : > Via elasticsearch 2.1 we have written a custom Lucene TokenFilter that adds > a payload to a special term during indexin