Project

General

Profile

Actions

Bug #16131

closed

tools-> indexed search does not display external files

Added by old_cbalisky almost 18 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2006-05-06
Due date:
% Done:

0%

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

Description

in file sysext/indexed_search/mod

// TYPO3 pages, unique
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count() AS pcount,index_phash.', 'index_phash', 'item_type>0', 'phash_grouping,phash,cHashParams,data_filename,data_page_id,data_page_reg1,data_page_type,data_page_mp,gr_list,item_type,item_title,item_description,item_mtime,tstamp,item_size,contentHash,crdate,parsetime,sys_language_uid,item_crdate,externalUrl,recordUid,freeIndexUid', 'item_type');

This request does not return any rows because of the item_type>0 condition.

My suggestion is to replace condition with 'length(item_type)>1' as follows. (;-) it's only a suggestion ...).

// TYPO3 pages, unique
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('count() AS pcount,index_phash.', 'index_phash', 'length(item_type)>1', 'phash_grouping,phash,cHashParams,data_filename,data_page_id,data_page_reg1,data_page_type,data_page_mp,gr_list,item_type,item_title,item_description,item_mtime,tstamp,item_size,contentHash,crdate,parsetime,sys_language_uid,item_crdate,externalUrl,recordUid,freeIndexUid', 'item_type');

Blue Skies

(issue imported from #M3434)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #61511: Rewrite backend of indexed_searchClosedGeorg Ringer2014-09-10

Actions
Actions #1

Updated by Alexander Opitz about 11 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 4.0

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.5
  • Is Regression set to No
Actions #3

Updated by Tymoteusz Motylewski about 9 years ago

  • Status changed from New to Resolved

Hi,
Since TYPO3 7 the indexed search backend module was completely rewritten.
See
https://review.typo3.org/#/c/32708/
and
https://forge.typo3.org/issues/61511

This bug is solved there already.

Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF