Skip to content

Commit

Permalink
fix for last ranking commit
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2529 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Sep 8, 2006
1 parent cc97a3e commit 94d7ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaSearchPreOrder.java
Expand Up @@ -152,7 +152,7 @@ public boolean hasNext() {
public Object[] /*{indexEntry, Long}*/ next() {
String top = (String) pageAcc.firstKey();
//System.out.println("preorder-key: " + top);
Long preranking = new Long(Long.parseLong(top.substring(0, 16), 16));
Long preranking = new Long(Long.MAX_VALUE - Long.parseLong(top.substring(0, 16), 16));
return new Object[]{(indexEntry) pageAcc.remove(top), preranking};
}

Expand Down
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaSearchResult.java
Expand Up @@ -204,7 +204,7 @@ public void removeRedundant() {
// scan all subpaths of the url
while (shorten != null) {
if (paths.containsKey(shorten)) {
System.out.println("deleting path from search result: " + path + " is redundant to " + shorten);
//System.out.println("deleting path from search result: " + path + " is redundant to " + shorten);
try {
i.remove();
} catch (IllegalStateException e) {
Expand Down

0 comments on commit 94d7ced

Please sign in to comment.