Check the "Need help in understanding output of searcher.explain()
function" thread.

http://mail-archives.apache.org/mod_mbox/lucene-java-user/201008.mbox/%3CAANLkTi=m9a1guhrahpeyqaxhu9gta9fjbnr7-8-zi...@mail.gmail.com%3E

Regards,
Jayendra

On Fri, Feb 25, 2011 at 6:57 AM, Bagesh Sharma <mail.bag...@gmail.com> wrote:
>
> Hi sir ,
>
> Can anyone explain me how this score is being calculated. i am searching
> here "software engineer" using dismax handler. Total documents indexed are
> 477 and query results are 28.
>
> Query is like that -
>       q=software+engineer&fq=location%3Adelhi
>
> dismax setting is -
>
>       <str name="qf">
>             alltext
>             title^2
>             functional_role^1
>        </str>
>
>        <str name="pf">
>              body^100
>        </str>
>
>
> Here alltext field is made by copying all fields.
> body field contains detail of job.
>
> I am unable to understand how these scores have been calculated. From where
> to start score calculating and what are default score for any term matching.
>
> <str name="20080604/3eb9a7b30131a782a0c0a0e2cdb2b6b8.html">
>
> 0.5901718 = (MATCH) sum of:
>  0.0032821721 = (MATCH) sum of:
>    0.0026574256 = (MATCH) max plus 0.1 times others of:
>      0.0026574256 = (MATCH) weight(alltext:softwar in 339), product of:
>        0.0067262817 = queryWeight(alltext:softwar), product of:
>          3.6121683 = idf(docFreq=34, maxDocs=477)
>          0.0018621174 = queryNorm
>        0.39508092 = (MATCH) fieldWeight(alltext:softwar in 339), product
> of:
>          1.0 = tf(termFreq(alltext:softwar)=1)
>          3.6121683 = idf(docFreq=34, maxDocs=477)
>          0.109375 = fieldNorm(field=alltext, doc=339)
>    6.2474643E-4 = (MATCH) max plus 0.1 times others of:
>      6.2474643E-4 = (MATCH) weight(alltext:engin in 339), product of:
>        0.0032613424 = queryWeight(alltext:engin), product of:
>          1.7514161 = idf(docFreq=224, maxDocs=477)
>          0.0018621174 = queryNorm
>        0.19156113 = (MATCH) fieldWeight(alltext:engin in 339), product of:
>          1.0 = tf(termFreq(alltext:engin)=1)
>          1.7514161 = idf(docFreq=224, maxDocs=477)
>          0.109375 = fieldNorm(field=alltext, doc=339)
>  0.5868896 = weight(body:"softwar engin"^100.0 in 339), product of:
>    0.9995919 = queryWeight(body:"softwar engin"^100.0), product of:
>      100.0 = boost
>      5.3680387 = idf(body: softwar=34 engin=223)
>      0.0018621174 = queryNorm
>    0.58712924 = fieldWeight(body:"softwar engin" in 339), product of:
>      1.0 = tf(phraseFreq=1.0)
>      5.3680387 = idf(body: softwar=34 engin=223)
>      0.109375 = fieldNorm(field=body, doc=339)
> </str>
>
>
> please suggest me.
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/solr-score-issue-tp2574680p2574680.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to