SphinxFacetingExample
SphinxFacetingExample copied to clipboard
New facet give wrong data on multiple selection
http://demos.sphinxsearch.com/SphinxFacetingExample/facetpricesnew.php Case: -> I click on category ckeckbox What I wate: -> I have posibiliti to chose other category checkout What I am seeing -> Many categories is hidden. Facet has worked wrong
Hi, the multiple checkbox is there to show the categories are stored in a mva. Clicking on one applis the filter (filter by category x), so some will not be showed anymore (as not all items have category x). The javascript triggers the submit when you check something (either radio or checkbox). If you want to be able to select multiple values, just implement a different event on checkbox inputs. After submit, this will still not show you all category values. If you want to retain all facet values to be showed, check the last example, but this one doesn't perform a single query to return both result and facets.
I have understand you. FASET work very fast, unfortunately, one not work with multi selection