TYPO3-Solr / ext-solr

A TYPO3 extension that integrates the Apache Solr search server with TYPO3 CMS. dkd Internet Service GmbH is developing the extension. Community contributions are welcome. See CONTRIBUTING.md for details.
GNU General Public License v3.0
136 stars 246 forks source link

[BUG] Indexing and deleting multilang records bugs #487

Open dkd-friedrich opened 8 years ago

dkd-friedrich commented 8 years ago

Describe the bug

There are issues while indexing and deleting multilanguage records. Translations added to the core even if there are none.

To Reproduce

This test case use https://github.com/TYPO3-Solr/solr-ddev-site

Steps to reproduce the behavior:

  1. Create a new Page Test below Congratulation
  2. Let Solr index the page

The page Test is stored within all Solr cores.

  1. Change value of TypoScript configuration sys_language_overlay to 0
  2. Change value of TypoScript configuration sys_language_mode to fix

The page Test is stored within all Solr cores.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Used versions (please complete the following information):

Additional context Add any other context about the problem here.


Heiko Kromm wrote:

There are issues while indexing and deleting multilanguage records.

  1. Creating a new record in default language will create an index entry in the default language index AND all other language indexes. I think there is no need for this.
  2. Creating translations will save the item with the default uid in the language index. When the translation is deleted solr tries to find the record with the uid of the translated record. Solr can't find the indexed item because of the different uid and it will remain in the index.
  3. Localized pages are indexed twice in language indexes.

This behaviour occurs in Version 2.5.0-dev

Regards Heiko


https://forge.typo3.org/issues/45357

We have to check this, currently we're not sure if this issue still exists

Value: 13 Effort: 13

3l73 commented 3 years ago

I could confirm the first point of this issue.

Following I could not reproduce:

  1. Creating translations will save the item with the default uid in the language index. When the translation is deleted solr tries to find the record with the uid of the translated record. Solr can't find the indexed item because of the different uid and it will remain in the index.
  2. Localized pages are indexed twice in language indexes.