mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
FIX: function is named getLink()
This commit is contained in:
parent
f322d7a528
commit
b4dc440650
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user