mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Merged master to dist_macOS branch.
This commit is contained in:
commit
39ea28adfd
|
@ -1439,10 +1439,19 @@ public final class SearchEvent {
|
|||
long r = 0;
|
||||
|
||||
// for media search: prefer pages with many links
|
||||
switch (this.query.contentdom) {
|
||||
case IMAGE:
|
||||
r += rentry.limage() << this.query.ranking.coeff_cathasimage;
|
||||
break;
|
||||
case AUDIO:
|
||||
r += rentry.laudio() << this.query.ranking.coeff_cathasaudio;
|
||||
break;
|
||||
case VIDEO:
|
||||
r += rentry.lvideo() << this.query.ranking.coeff_cathasvideo;
|
||||
break;
|
||||
case APP:
|
||||
r += rentry.lapp() << this.query.ranking.coeff_cathasapp;
|
||||
}
|
||||
|
||||
// apply citation count
|
||||
//System.out.println("POSTRANKING CITATION: references = " + rentry.referencesCount() + ", inbound = " + rentry.llocal() + ", outbound = " + rentry.lother());
|
||||
|
|
Loading…
Reference in New Issue
Block a user