From b4dc44065092752d69cfa1398d0db520a43700ef Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 9 Sep 2012 17:13:51 +1200 Subject: [PATCH] FIX: function is named getLink() --- code/tasks/RebuildLuceneDocsIndex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/tasks/RebuildLuceneDocsIndex.php b/code/tasks/RebuildLuceneDocsIndex.php index 49a0865..10aab5b 100755 --- a/code/tasks/RebuildLuceneDocsIndex.php +++ b/code/tasks/RebuildLuceneDocsIndex.php @@ -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('Language', $page->getLang())); $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 $titleField->boost = 3;