mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(index) Add more qdebug factors
This commit is contained in:
parent
e4f04af044
commit
4ece5f847b
@ -88,6 +88,11 @@ public class IndexResultScoreCalculator {
|
|||||||
int docSize = index.getDocumentSize(docId);
|
int docSize = index.getDocumentSize(docId);
|
||||||
DocumentSpans spans = index.getDocumentSpans(arena, docId);
|
DocumentSpans spans = index.getDocumentSpans(arena, docId);
|
||||||
|
|
||||||
|
if (rankingFactors != null) {
|
||||||
|
rankingFactors.addDocumentFactor("doc.docId", Long.toString(combinedId));
|
||||||
|
rankingFactors.addDocumentFactor("doc.combinedId", Long.toString(docId));
|
||||||
|
}
|
||||||
|
|
||||||
double score = calculateSearchResultValue(
|
double score = calculateSearchResultValue(
|
||||||
rankingFactors,
|
rankingFactors,
|
||||||
searchTerms,
|
searchTerms,
|
||||||
|
Loading…
Reference in New Issue
Block a user