lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ype Kingma <ykin...@xs4all.nl>
Subject Re: How to change similarity measure...
Date Tue, 02 Dec 2003 03:45:37 GMT
On Monday 01 December 2003 05:38, Ralph wrote:
> Hi,
>
> does somebody has an example of how to use another similarity class
> implementation for searching? Assuming I have implemented MySimilarity
>
> class MySimilarity implements Similarity{ ....
>
> how do I have to plug it in to acutally use it for a search in a way that I
> have to program as least as possible :-) ?

Try inheriting from DefaultSimilarity.

Have fun,
Ype


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


Mime
View raw message