I've been looking for an answer to this issue I have with an array but so far no answer here nor the web.
We have a TYPO3 website that has indexed search configured and installed. We crawl records (~60000) using the crawler extension. Everything was configured and running fine but we saw that some records were not appearing on the search results.
I debugged the TYPO3 code and found that some words were not related to its records in the index_rel table.
What I found is that when the running code enters the method indexTypo3PageContent() on line 573 the method checkWordList() is called with the array of words passed as an argument. Inside the method there is an unset of some array values. This is where something is wrong because if I am right the array is passed by value, however the array outside the method checkWordList() is changed, there are less words. Therefore some words will not be reverse indexed to its record.
I can change the code. It is very easy. However I want to understand the problem. Is it a PHP bug? Aren't PHP arrays passed by value? I am using PHP 5.5 on Ubuntu.
If anyone can giving a hint of what's happening I will appreciate very much.
Anyway I am posting a bug on TYPO3 bug system.
Bests,
B.