PayloadNearSpanScorer explain method

2010-02-15 Thread Peter Keegan
The 'explain' method in PayloadNearSpanScorer assumes the AveragePayloadFunction was used. I don't see an easy way to override this because 'payloadsSeen' and 'payloadScore' are private/protected. It seems like the 'PayloadFunction' interface should have an 'explain' method that the Scorer could ca

Re: PayloadNearSpanScorer explain method

2010-02-16 Thread Grant Ingersoll
That sounds reasonable. Patch? On Feb 15, 2010, at 10:29 AM, Peter Keegan wrote: > The 'explain' method in PayloadNearSpanScorer assumes the > AveragePayloadFunction was used. I don't see an easy way to override this > because 'payloadsSeen' and 'payloadScore' are private/protected. It seems > l

Re: PayloadNearSpanScorer explain method

2010-02-17 Thread Peter Keegan
Yes, I will provide a patch. Our new proxy server has broken my access to the svn repository, though :-( On Tue, Feb 16, 2010 at 1:12 PM, Grant Ingersoll wrote: > That sounds reasonable. Patch? > > On Feb 15, 2010, at 10:29 AM, Peter Keegan wrote: > > > The 'explain' method in PayloadNearSpanSco

Re: PayloadNearSpanScorer explain method

2010-02-22 Thread Peter Keegan
Patch is in JIRA: LUCENE-2272 On Wed, Feb 17, 2010 at 8:40 PM, Peter Keegan wrote: > Yes, I will provide a patch. Our new proxy server has broken my access to > the svn repository, though :-( > > > On Tue, Feb 16, 2010 at 1:12 PM, Grant Ingersoll wrote: > >> That sounds reasonable. Patch? >> >>