Issue Bug Closed

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

Christian Trabold 08/12/08, 13:22 updated 09/09/13, 09:44

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.