lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <>
Subject Re: Indexing Term Frequency Vectors
Date Tue, 09 Apr 2013 18:35:06 GMT

On Tue, Apr 9, 2013 at 5:24 PM, Sharon Tam <> wrote:
> I tried following following this payloads tutorial to attach the term
> frequencies as payloads:
> But I'm confused as to where I need to override the term frequency counter
> so that it uses my term frequencies.  I think term frequency counts are
> calculated during indexing, so I don't think I can just write my own
> Similarity class?

This is correct, frequencies are computed at indexing time. I just
wanted to mention that you can influence scores based on payloads:,
int, int, org.apache.lucene.util.BytesRef)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message