SolrIndexSearcher RankQuery Score calculation

2020-11-02 Thread Dawn
Hi: SolrIndexSearcher.getDocListNC and getDocListAndSetNC code snippet: if (cmd.getSort() != null && query instanceof RankQuery == false && (cmd.getFlags() & GET_SCORES) != 0) { TopFieldCollector.populateScores(topDocs.scoreDocs, this, query); } When this query includes a filterQuery, `Query

Re: Relevancy Score Calculation

2019-02-11 Thread Ashish Bisht
Thanks.I Agree. Regards Ashish -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Relevancy Score Calculation

2019-02-07 Thread Erick Erickson
Why do you think that would help? This sounds like an XY problem, you are asking how to do X because you think it'll help with problem Y but haven't told us what Y is. At any rate, it would require a code change, in many places. It's unlikely to be worth the effort anyway, because the term _freque

Relevancy Score Calculation

2019-02-03 Thread Ashish Bisht
Hi, Currently score is calculated based on "Max Doc" instead of "Num Docs".Is it possible to change it to "Num Docs"(i.e without deleted docs).Will it require a code change or some config change. Regards Ashish -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: field length within BM25 score calculation in Solr 6.3

2016-12-15 Thread Sascha Szott
ntrast, the value of avgFieldLength is correct. The same observation can be made if the index consists of two simple documents: doc1: title = 1 2 3 4 doc2: title = 1 2 3 4 5 6 7 8 The BM25 score calculation of doc2 is explained as: 0.14143422 = weight(title_alt:1 in 1) [SchemaSimilarity], resu

field length within BM25 score calculation in Solr 6.3

2016-12-04 Thread Sascha Szott
ple documents: doc1: title = 1 2 3 4 doc2: title = 1 2 3 4 5 6 7 8 The BM25 score calculation of doc2 is explained as: 0.14143422 = weight(title_alt:1 in 1) [SchemaSimilarity], result of: 0.14143422 = score(doc=1,freq=1.0 = termFreq=1.0), product of: 0.18232156 = idf(docFreq=2, docCo

Re: SolrCloud - Score calculation

2013-06-20 Thread Jack Krupansky
20, 2013 11:05 AM To: solr-user@lucene.apache.org Subject: Re: SolrCloud - Score calculation Thanks for your response. So in case of SolrCloud, SOLR/zookeeper takes care of managing the indexing / searching. So in that case I assume most of the shards will be of equal size (I am just going to push

Re: SolrCloud - Score calculation

2013-06-20 Thread Learner
almost equal... Am I right? -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Score-calculation-tp4071805p4071900.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud - Score calculation

2013-06-19 Thread Upayavira
core of all 6 > documents have same value(5 from shard 1 and 1 from shard 2 -if all the > fields have same value except for unique id)? > > Thanks, > BB > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SolrCloud-Score-calculation-tp4071805.html > Sent from the Solr - User mailing list archive at Nabble.com.

SolrCloud - Score calculation

2013-06-19 Thread Learner
documents have same value(5 from shard 1 and 1 from shard 2 -if all the fields have same value except for unique id)? Thanks, BB -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Score-calculation-tp4071805.html Sent from the Solr - User mailing list archive at

Re: score calculation

2012-12-14 Thread Jack Krupansky
: Friday, December 14, 2012 1:36 AM To: solr-user@lucene.apache.org Subject: Re: score calculation Using Toms reply i have got most of the terms, The following is my understanding of a single doc score, 5.528805 = (MATCH) sum of: (sum of scores = 0.08775589 + 5.441049) 0.08775589 = (MATCH

Re: score calculation

2012-12-13 Thread Sangeetha
still i am not clear of fieldNorm(lenghNorm *boost(index) - how to get boost(index) and how queryWeight is calculated Thanks, Sangeetha -- View this message in context: http://lucene.472066.n3.nabble.com/score-calculation-tp4026669p4026946.html Sent from the Solr - User mailing list archive at

Re: score calculation

2012-12-13 Thread Chris Hostetter
: Can anyone explain or provide some links? https://wiki.apache.org/solr/SolrRelevancyFAQ#How_are_documents_scored -Hoss

Re: score calculation

2012-12-13 Thread Aloke Ghoshal
ry terms matched in the document > maxOverlap = the total number of terms in the query > > > FunctionQuery = could be any kind of custom ranking function, which > outcome is added to, or multiplied with the default rank score. > Implication: various > > > Look a

RE: score calculation

2012-12-12 Thread Burgmans, Tom
ous Look at the EXPLAIN information to see how the final score is calculated. Tom -Original Message- From: Sangeetha [mailto:sangeetha...@gmail.com] Sent: Thursday 13 December 2012 08:33 To: solr-user@lucene.apache.org Subject: score calculation I want to know how score is calculated

score calculation

2012-12-12 Thread Sangeetha
message in context: http://lucene.472066.n3.nabble.com/score-calculation-tp4026669.html Sent from the Solr - User mailing list archive at Nabble.com.