You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Omri Suissa <om...@diffdoof.com> on 2012/09/05 18:36:28 UTC

How to read field payload on collect?

Hi,

I'm using filed payload to store field specific information and use it on
my similarity class (ScorePayload). Now I need to use the same information
on my collector.


Until now when I needed to get a field value in the collector I got it in
SetNextReader using the FieldCache_Fields.DEFAULT.GetStrings and use it in
Collect(int doc); but now I need the field value and it's payload. How can
I get it?



Thanks,

Omri