lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Allan Hill <>
Subject RE: SweetSpotSimilarity
Date Thu, 16 Feb 2012 01:24:37 GMT
I'd love to hear what you find out.  I have been working with this also.
I only changed the sweet spot to a slightly larger range than the one in the original paper
(but kept the same steepness) and I tweaked the sloppy freq to not score multiple occurances
of a phrase as strong as the they are in the defaultSimilarity, by playing with sloppyFreq(distance).
hyperbolicTf() only comes into play if you override the tf method in your own subclass to
call it instead of the baselineTf which it normally calls.  I also didn't get what it was
trying to do. 


> -----Original Message-----
> From: Peyman Faratin []
> Sent: Wednesday, February 15, 2012 6:40 AM
> To:
> Subject: SweetSpotSimilarity
> Hi
> I have a noobie question. I am trying to use the SweetSpotSimilarity (SSS) class.
> misc/org/apache/lucene/misc/SweetSpotSimilarity.html
> I understand the scoring behavior of Lucene
> h/Similarity.html
> And I am aware that SweetSpotSimilarity resulted from this paper
> However, I was wondering if there was a resource that explained (and gave examples) of
how SSS
> works and what each parameter (hyperbolic, etc) means. I know this is a Lucene list but
I am actually
> trying to use SSS in solr. I am aware of SOLR-1365 patch that makes configuring SSS easier
(in the
> schema.xml)
> but I am having trouble understanding what some of the 13 parameters are and how they
map to SSS.
> Thank you
> Peyman

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message