Documentation and notes
authorKasper Skårhøj <kasper@typo3.org>
Mon, 25 Jun 2007 10:01:57 +0000 (10:01 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 25 Jun 2007 10:01:57 +0000 (10:01 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2365 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_refindex.php

index 08be36a..ae5bda9 100755 (executable)
@@ -851,11 +851,15 @@ class t3lib_refindex {
         *******************************/
 
        /**
-        *
+        * Indexing words from table records. Can be useful for quick backend look ups in records across the system.
         */
        function wordIndexing($table,$uid)      {
-               return; // Disabled until Kasper finishes this feature.
-
+               return; // Disabled until Kasper finishes this feature. If someone else needs it in the meantime you are welcome to complete it. Below my todo list.
+               
+               // TODO:
+               // - Flag to disable indexing
+               // - Clean-up to remove words not used anymore  and indexes for records not in the system anymore.
+               // - UTF-8 compliant substr()
                $lexer = t3lib_div::makeInstance('tx_indexedsearch_lexer');
                $words = $lexer->split2Words(implode(' ',$this->words_strings));
                foreach($words as $w) {