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
137 stars 252 forks source link

[BUG] Facet filter values don't respect domain #4102

Closed danieljanek78 closed 4 months ago

danieljanek78 commented 4 months ago

Describe the bug If we rename a category which is used as facet filter on the live server (domain.xyz) and we don't rename it on the staging server (stage.domain.xyz) - they use the same solr core - the old name is still shown on live website in filter option (with results 0).

To Reproduce Steps to reproduce the behavior:

  1. Index values with defined facet on a staging and on a live server
  2. Set showEmptyFacets = 1
  3. Rename either on stage or live (not on both)
  4. reindex on that system
  5. See frontend filters

Expected behavior Facets should respect the page domain

Used versions (please complete the following information):

dkd-kaehm commented 4 months ago

@danieljanek78

Thanks for reporting that issue. That is known Apache Solr behavior, which can be solved by https://docs.typo3.org/p/apache-solr-for-typo3/solr/12.0/en-us/Backend/Scheduler.html#optimizing-cores-of-a-site See: #2649

danieljanek78 commented 4 months ago

@dkd-kaehm

Thanks, but this scheduler is not working in my installation, see screenshot. Bildschirmfoto 2024-07-10 um 15 55 10

dkd-kaehm commented 4 months ago

@danieljanek78 Please test #4104