So langsam nimmt Search Wikia ein wenig Gestalt an. So wirft die Bewertungsfunktion keine Fehlermeldung mehr aus – und neben den Suchtreffern wird auch ein Score-Wert angezeigt. So kann jeder nachvollziehen, warum die Seite google.com bei der Suche nach „Google“ an erster Stelle steht.
Nunja, fast. Denn das Ergebnis sieht so aus:
score for query: google
* 392.83762 = (MATCH) sum of:
o 28.841223 = (MATCH) weight(url:google in 499518), product of:
0.2072123 = queryWeight(url:google), product of:
# 6.959341 = idf(docFreq=3071)
# 0.029774701 = queryNorm
139.18683 = (MATCH) fieldWeight(url:google in 499518), product of:
# 1.0 = tf(termFreq(url:google)=1)
# 6.959341 = idf(docFreq=3071)
# 20.0 = fieldNorm(field=url, doc=499518)
o 4.046237 = (MATCH) weight(content:google in 499518), product of:
0.1409727 = queryWeight(content:google), product of:
# 4.7346473 = idf(docFreq=28417)
# 0.029774701 = queryNorm
28.702272 = (MATCH) fieldWeight(content:google in 499518), product of:
# 1.7320508 = tf(termFreq(content:google)=3)
# 4.7346473 = idf(docFreq=28417)
# 3.5 = fieldNorm(field=content, doc=499518)
o 243.27173 = (MATCH) weight(title:google^1.5 in 499518), product of:
0.31146276 = queryWeight(title:google^1.5), product of:
# 1.5 = boost
# 6.9737678 = idf(docFreq=3027)
# 0.029774701 = queryNorm
781.062 = (MATCH) fieldWeight(title:google in 499518), product of:
# 1.0 = tf(termFreq(title:google)=1)
# 6.9737678 = idf(docFreq=3027)
# 112.0 = fieldNorm(field=title, doc=499518)
o 116.67844 = (MATCH) weight(host:google in 499518), product of:
0.20838863 = queryWeight(host:google), product of:
# 6.9988484 = idf(docFreq=2952)
# 0.029774701 = queryNorm
559.9079 = (MATCH) fieldWeight(host:google in 499518), product of:
# 1.0 = tf(termFreq(host:google)=1)
# 6.9988484 = idf(docFreq=2952)
# 80.0 = fieldNorm(field=host, doc=499518)
Alles klar?