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
Thanks.I Agree.
Regards
Ashish
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
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
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
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
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
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
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.
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.
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
: 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
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
: Can anyone explain or provide some links?
https://wiki.apache.org/solr/SolrRelevancyFAQ#How_are_documents_scored
-Hoss
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
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
message in context:
http://lucene.472066.n3.nabble.com/score-calculation-tp4026669.html
Sent from the Solr - User mailing list archive at Nabble.com.
16 matches
Mail list logo