On Tue, Nov 17, 2009 at 10:23 AM, Peter Keegan <[email protected]> wrote:
>>This is a generic solution, but just make sure you don't do the
>>map lookup for every doc collected, if you can help it, else that'll
>>slow down your search.
>
> What I just learned is that a Scorer is created for each segment (lights
> on!).
> So, couldn't I just do the subreader->docBase map lookup once when the
> custom scorer is created? No need to access the map for every doc this way.

Right, that should work.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to