Project

General

Profile

Actions

Bug #76142

closed

Indexed Search - $this->conf['index_descrLgd'] seems to be null/not set

Added by Andreas Fragner almost 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-05-11
Due date:
% Done:

0%

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

Description

I wanted to XCLASS the following class to make the item description a little bit longer:
\TYPO3\CMS\IndexedSearch\Indexer::class

I adpated the functions backend_initIndexer and bodyDescription to fit my needs.

I set:

$this->conf['index_descrLgd'] = 500;

and:

$maxL = MathUtility::forceIntegerInRange($this->conf['index_descrLgd'], 0, 500, 200);

But nothing happened - still only 200 characters in database. I also changed the according template settings to store more than 200 characters and to show more than 200 characters in the FE output of the search results.

At last I changed these values also in the source code of indexed_search system extension to exclude possible mistakes I could have made in XCLASS - but also only 200 characters where stored in the database. But if I change the default value for

MathUtility::forceIntegerInRange
to 500 I see 500 characters in the database. So I suppose
$this->['index_descrLgd']
is null or not set.

Expected: Correct value of index_descrLgd available in function bodyDescription.

Actions #1

Updated by Wouter Wolters almost 8 years ago

  • Category set to Indexed Search
Actions #2

Updated by Tymoteusz Motylewski over 7 years ago

  • Status changed from New to Needs Feedback

Thanks for the report. Unfortunatelly I can not reproduce it on v8.

I have added the setting index_descrLgd to typoscript (config.index_descrLgd), and it was reflected in the record stored in the db (column item_description has correct number of letters).
Please provide more detailed steps to reproduce the issue.
How do you index the page? on rendering or using crawler?

Actions #3

Updated by Andreas Fragner over 7 years ago

Hello,

the page is indexed by crawler process and it should index records of an extension.

Actions #4

Updated by Riccardo De Contardi over 7 years ago

  • Status changed from Needs Feedback to New
Actions #5

Updated by Andreas Fragner over 7 years ago

Using 7.6.14 - still no chance to get more than 200 characters. The config option you described is not provided in indexed_search in Typo3 7.6.14

Actions #6

Updated by Benni Mack about 4 years ago

  • Status changed from New to Needs Feedback

So this issue only exists in TYPO3 v7?

Actions #7

Updated by Andreas Fragner about 4 years ago

I did not use indexed search in 8.x or 9.x - sorry I cannot help with your question.
But I think we can close here as Typo3 V7 is EOL. If it is appearing in V8, V9 or V10 I think we can open a separate bug.

Actions #8

Updated by Benni Mack about 4 years ago

  • Status changed from Needs Feedback to Closed

Thanks for the info!

Actions

Also available in: Atom PDF