Показать сообщение отдельно
Старый 07.05.2008, 22:52   #2
Valery Romanchev
Administrator
 
Аватар для Valery Romanchev
 
Регистрация: 23.08.2003
Адрес: Moscow, Russia
Сообщений: 1,926
Отправить сообщение для Valery Romanchev с помощью Skype™
По умолчанию

как ни странно, эту тему почти синхронно стали обсуждать в dev листе

http://support.typo3.org/index.php?id=17&tx_nntpreader_pi1[nid]=2&tx_nntpreader_pi1[mid]=340607&cHash=d1d878d7d7

советуют не парится и ждать пока сделают нормальным index_search (однако даже нормальный indexed_search будет искать в 1000 страниц за 4 секунды, что в разы хуже скорости поиска в Сфинксе на тех же смешных объемах данных)

Цитата:
> What do you think of Sphinx as indexed_search replacement?

nothing. Seriously, just wait for the first 4.3 patches after T3DD ...
something's cooking =)

Stucki and me are working on two ends to improve the speed of
indexed_search and TYPO3 as a whole which should be noticeable in many
cases.


Ingo

--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
Цитата:
I tested Stucki's patches and fulltext is twice as fast as the current
implementation. I did that also by using xdebug/KCachegrind and spotted
the last bottleneck for indexed_search. tslib_content->getTreeList get
called about 2500 times when searching for a single word with about 100
results on a site with about 1000 pages in the index.

I'm going to cache the result of getTreeList in a new table so that
these (recursive) calls aren't necessary anymore. Other extension also
make heavy use of getTreeList through pibase so that this should result
in an overall speed gain on many sites...


Ingo

--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
__________________
Веб-студия ТТЛАБ
www.ttlab.ru

Последний раз редактировалось Valery Romanchev; 08.05.2008 в 11:34
Valery Romanchev вне форума   Ответить с цитированием