FIX: function is named getLink()

This commit is contained in:
Will Rossiter 2012-09-09 17:13:51 +12:00
parent f322d7a528
commit b4dc440650

View File

@ -82,7 +82,7 @@ class RebuildLuceneDocsIndex extends BuildTask {
$doc->addField(Zend_Search_Lucene_Field::Keyword('Version', $page->getVersion())); $doc->addField(Zend_Search_Lucene_Field::Keyword('Version', $page->getVersion()));
$doc->addField(Zend_Search_Lucene_Field::Keyword('Language', $page->getLang())); $doc->addField(Zend_Search_Lucene_Field::Keyword('Language', $page->getLang()));
$doc->addField(Zend_Search_Lucene_Field::Keyword('Entity', $entity)); $doc->addField(Zend_Search_Lucene_Field::Keyword('Entity', $entity));
$doc->addField(Zend_Search_Lucene_Field::Keyword('Link', $page->Link())); $doc->addField(Zend_Search_Lucene_Field::Keyword('Link', $page->Link));
// custom boosts // custom boosts
$titleField->boost = 3; $titleField->boost = 3;