[Typo3] API for indexed search

Courcy courcy.michael at wanadoo.fr
Wed Sep 7 22:40:39 CEST 2005


The search engine remains a mistery for me on many points.
But it globaly work thus I don't want to fight with it.

Jan Bednarik wrote:

>>$this->ind = t3lib_div::makeInstance("tx_indexedsearch_indexer");
>>
>>$this->ind->pObj = $GLOBALS['TSFE'];
>>
>>$this->ind->init();
>>
>>$this->ind->indexRegularDocument($link);
>>    
>>
>
>That's almost what I have
>
>$this->ind = t3lib_div::makeInstance("tx_indexedsearch_indexer");
>$this->ind->hook_indexContent($GLOBALS['TSFE']);
>$this->ind->init();
>$this->ind->initializeExternalParsers(); 
>$this->ind->indexRegularDocument($pathtoafile,TRUE);
>
>But it doesn't work very well. When I enter a page, it gets indexed, 
>after a click on a link, I call a script, which containt these lines 
>above and the page is indexed again, but with no content, just a title. 
>However, the original indexed content doesn't disappear.
>
>--
>Jan Bednarik
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>  
>




More information about the TYPO3-english mailing list