[TYPO3-Solr] Hierarchical facets decodeFilter

devweb dev-si at cndp.fr
Thu Jun 8 11:32:04 CEST 2017


Hello
My site works with Hierarchical facets. But since I update my solr extension (6.1.0) the link on this facet doesn't work any more.
In class ApacheSolrForTypo3\Solr\Query\FilterEncoder\Hierarchy, the method decodeFilter() add an / at the end. With this "/" my solr returns 0 result but if I delete this "/" my solr return the right result... is it a bug from new solr extension?

in documentation i find this exemple (https://forge.typo3.org/projects/extension-solr/wiki/Hierarchical_Facets#Rendering) :
0-sport
0-sport, 1-sport/cricket
0-sport, 1-sport/skateboarding
0-sport, 1-sport/skateboarding, 2-sport/skateboarding/vert
0-sport, 1-sport/skateboarding, 2-sport/skateboarding/street
0-finance
if request contains fq=(categories:"0-sport/") 0 result but if it contains  fq=(categories:"0-sport"), all work well
 


More information about the TYPO3-project-solr mailing list