mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-30 08:24:16 +00:00
Disable keywords collection from headers as body index enabled
This commit is contained in:
parent
1f3ee435e9
commit
900e3a453f
@ -314,6 +314,8 @@ foreach($index->search('')
|
||||
}
|
||||
|
||||
// Get keywords from headers
|
||||
/* Disable keywords collection from headers as body index enabled
|
||||
|
||||
foreach ($crawler->filter('h1,h2,h3,h4,h5,h6')->each(function($node) {
|
||||
|
||||
return $node->text();
|
||||
@ -346,6 +348,7 @@ foreach($index->search('')
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// Keep keywords unique
|
||||
$keywords = array_unique(
|
||||
|
Loading…
x
Reference in New Issue
Block a user