Index: branches/lucene-search-2.1/src/org/wikimedia/lsearch/config/GlobalConfiguration.java |
— | — | @@ -1536,7 +1536,7 @@ |
1537 | 1537 | } |
1538 | 1538 | |
1539 | 1539 | public ArticleNamespaceScaling getNamespaceScaling(String dbname){ |
1540 | | - if(namespaceBoost.contains(dbname)) |
| 1540 | + if(namespaceBoost.containsKey(dbname)) |
1541 | 1541 | return namespaceBoost.get(dbname); |
1542 | 1542 | else if(namespaceBoost.containsKey("<default>")) |
1543 | 1543 | return namespaceBoost.get("<default>"); |