lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Overriding SloppySimScorer
Date Mon, 13 Feb 2012 12:16:37 GMT
On Mon, Feb 13, 2012 at 6:39 AM, Alan Woodward
<alan.woodward@romseysoftware.co.uk> wrote:
> Hello,
>
> (I'm not interested in Tf or Idf here)
> I've already extended DefaultSimilarity

In this case, then extending DefaultSimilarity/TFIDFSimilarity is not
the best approach.

> Or should the SimScorer methods on TDIDFSimilarity be unfinalized?

No, it must be final, because TFIDFSimilarity only exposes its
historical api: tf(), idf(), etc.

> Am I going about this the wrong way?

Maybe you should just extend Similarity...

-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message