Hi,

Sweet spot is designed to punish too long or too short documents.

Did you reindex?

Can you see the mention of sweet spot in debugQuery=true response?

Ahmet



On Sunday, June 19, 2016 2:18 PM, dirmanhafiz <dirmanha...@gmail.com> wrote:
Hi , Im Dirman and im trying experiment solr with sweetspot similarity,,
can someone tell me min max in sweetspot similarity is about lengthdoc ?
i have average lengthdoc 3-205 tokens / doc and why while i wrote in my
schema.xml parameter sweetspot similairity didnt work ?

<field name="textSS" type="text_generalSS"  indexed="true" stored="false"
multiValued="true" >

      <similarity class="solr.SweetSpotSimilarityFactory">
        <int name="lengthNormMin">10</int>
        <int name="lengthNormMax">50</int>
        <float name="lengthNormSteepness">0.5</float>
      </similarity>

   </field>

i want make out of range min max lengthdoc  will be punished 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Can-someone-explain-about-Sweetspot-Similarity-tp4283248.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to