Project

General

Profile

Actions

Bug #75845

closed

getSearchWords does not work with sentences

Added by Robert Vock about 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-04-21
Due date:
% Done:

100%

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

Description

It's not possible to search for sentences with the extbased-based IndexedSearch.

The SearchController calls the getSearchWord-method before it sets $this->searchData. The getSearchWord-method tries to access this missing data:
https://github.com/TYPO3/TYPO3.CMS/blob/b6c8bb0/typo3/sysext/indexed_search/Classes/Controller/SearchController.php#L196
https://github.com/TYPO3/TYPO3.CMS/blob/b6c8bb0/typo3/sysext/indexed_search/Classes/Controller/SearchController.php#L808

Fix would be to get the sword-list after settings $this->searchData

This bug also appears in previous TYPO3-versions


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #93738: getSearchWords-Hook has different registration-name and function to callRejected2021-03-15

Actions
Actions

Also available in: Atom PDF