On Oct 29, 2007, at 8:51 PM, Karl Wettin wrote:
25 okt 2007 kl. 01.23 skrev Karl Wettin:
The use case is that I want a normalized frequency, and I'd like to
do that by loading the factor from an IndexReader in setExpectations.
Moving along in this code, how about passing down the current
document number to the mapper? Perhaps in setExpectations, perhaps
as a simple setter method.
Really no big deal to handle that my self via an ad hoc setter
method, but I think it make sense that the mapper is aware of what
document it is working with, that the mapper is told when it is used
for a new/different document.
Seems reasonable, feel free to submit a patch. Not sure if we need to
worry too much back-compatibility, since it hasn't been released.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]