lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject Re: Similarity
Date Mon, 23 May 2011 19:41:26 GMT
As far as i know, SweetSpotSimilarty needs be configured. I did use it once but 
wrapped a factory around it to configure the sweet spot. It worked just as 
expected and explained in that paper about the subject.

If you use a custom similarity that , for example, caps tf to 1. Does it then 

> Hi all,
> I'm having trouble getting the basic similarity example to work. If you
> notice at the bottom of the schema.xml file, there is a line there that is
> commented out:
> <!-- <similarity class=""/> -->
> I uncomment that line and replace it with the following:
> <similarity class="org.apache.lucene.misc.SweetSpotSimilarity"/>
> Which comes natively with lucene. However, the scores before and after
> making this change are the same. I did a full import both times but that
> didn't seem to help.
> I ran svn up on both my solr directory and my lucene directory. Actually,
> my lucene directory was not previously under svn so I removed everything
> in there and did svn co
> So why isn't my installation taking the SweetSpot Similarity change?
> Thanks,
> Brian Lamb

View raw message