r49809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49808‎ | r49809 | r49810 >
Date:09:35, 24 April 2009
Author:daniel
Status:deferred
Tags:
Comment:
force more indexes
Modified paths:
  • /trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabaseLocalConceptStoreBuilder.java (modified) (history)

Diff [purge]

Index: trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/store/builder/DatabaseLocalConceptStoreBuilder.java
@@ -748,7 +748,7 @@
749749 if (beginTask("finishAliases", "resolveRedirects:link")) {
750750 //XXX: SLOW!
751751 //TODO: smaller chunks? chunk on target table, not alias table? force index?
752 - int n = resolveRedirects(aliasTable, linkTable, "target_name", "target", AliasScope.REDIRECT, 8, null, null);
 752+ int n = resolveRedirects(aliasTable, linkTable, "target_name", "target", AliasScope.REDIRECT, 8, "target_anchor", null);
753753 endTask("finishAliases", "resolveRedirects:link", n+" entries");
754754 }
755755

Status & tagging log