On Jul 16, 2007, at 9:24 PM, Chris Hostetter wrote:


Hmmm... perhaps what we need is a generalization of the pyaload API to
allow storing/reading payloads on a per document, per field, or per index basis ... along with some sort of "PayloadMerger" that could be used by
InexWriter when merging segments get merged ... so you could write doc
length stats for each field when when closing a segmentwriter, and then merge those stats when merging segments, and when reading segments do a
quick calculation to compute the average across all segments.

The Similarity portion of the payload functionality could be used for scoring binary fields.

-Grant

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to