Yonik Seeley wrote:
Could you elaborate on the advantage of having say a TermQuery that
could be either normal-scoring or constant-scoring vs two different
Query classes for doing this?  They seem roughly equivalent.

You could code it that way too. It would require exposing TermWeight and TermScorer as public classes that would also need to be subclassed. My guess is that you'd have to write more code to implement it that way than to have a boolean flag.


Doug

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



Reply via email to