Project

General

Profile

Actions

Bug #19214

closed

New Option "index_metatags" is not available for crawler-hooks

Added by Christian Trabold over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2008-08-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I encountered that the new option "index_metatags" ($this->conf['index_metatags']) is not available in my crawler hook, that I implemented for index-search.

Thus keywords and description are not stored in the search index, which results in false search results.

Currently the Option is initialized in hook_indexContent() only. To use the option in hooks it has to be initialized it in backend_initIndexer() too.

I must admit that I haven't proofed if there's a better solution for the fix than duplicating the code (make it DRY).

Maybe some "indexed_search-master" can think this over. ;)
(issue imported from #M9160)


Files

class.indexer.php.patch (615 Bytes) class.indexer.php.patch Administrator Admin, 2008-08-12 13:22
class.indexer-2.php.patch (587 Bytes) class.indexer-2.php.patch Administrator Admin, 2008-08-13 09:20
Actions

Also available in: Atom PDF