subugoe / typo3-find

TYPO3 extension providing a frontend for Solr indexes.
GNU General Public License v2.0
16 stars 20 forks source link

Add basic Solr 8 compatibility #163

Closed mh-goe closed 3 years ago

mh-goe commented 3 years ago

This addition is necessary if you want to use Solr >8 and cannot alter the luceneMatchVersion in your solrconfig.xml because at least since Solr 8 nested queries won't accept the magic field trick with _query_ anymore.

To try it out with a Solr 8 you have to add the following to your tx_find plugin's "setup.typoscript": plugin.tx_find.settings.luceneMatchVersion = 8

For comparison with earlier Solr versions you can set the value according to your actual Solr configuration in solrconfig.xml.

mh-goe commented 3 years ago

Thank you @ipf for your review and contribution.

It looks good to me and works just fine.