Project

General

Profile

Actions

Bug #23485

closed

Usage of defaultFreeIndexUidList causes identical queries

Added by Thorsten Boock about 14 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2010-08-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

At least in indexed_search version 2.11.0 setting plugin.tx_indexedsearch.search.defaultFreeIndexUidList seems to cause multiple calls of tx_indexedsearch::getPhashList - one for every uid in the list. The query generated / executed in that method is allways identical and thereby causes unnecessary load.

Quick fix: in the method getResultRows_SQLpointer make $list static and check if it allready contains a value different from the default one:

static $list = NULL;
if($list === NULL) {
$list = $this->getPhashList($sWArr);
}
(issue imported from #M15608)

Actions

Also available in: Atom PDF