Project

General

Profile

Actions

Feature #17723

closed

Index-search also indexes external links when marker is set

Added by Jens Körte over 16 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-10-25
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

I noticed that indexedsearch will index external links (pdf, word, ...), though the marker says not to, i.e. the content isn't indexed with the words but the documents are.

TYPO3 ver. 4.0.6
IndexedSearch ver. 2.9.3

I found the problem situated in class.indexer.php at the following lines:

old:
574 : $this->extractLinks($this->conf['content']);

my version:
$meinInhalt = $this->conf['content'];
$this->typoSearchTags($meinInhalt);
$this->extractLinks($meinInhalt);

The whole content is given to "extractLinks". I used the cleaned one after "typo3SearchTags"
(issue imported from #M6592)

Actions

Also available in: Atom PDF