Plugin Author
WPSOLR
(@wpsolr)
Please tell me more about what you’d like: admin setup, and front-end.
Let’s say I have categories of
Parent 1
Child 1a
Child 1b
Child 1c
Parent 2
Child 2a
Child 2b
Child 2c
Parent 3
Child 3a
Child 3b
Child 3c
Then if a document is returned that is in Child 1a, Child 1b, and Child 2c, I’d want the facets to look like
Parent 1
Child 1a
Child 1b
Parent 2
Child 2c
Thus preserving the display of the parent/child relationship. From what I see now, it looks like it shows as
Child 1a
Child 1b
Child 2c
with no relationship/display of the parent.
I think then you’d probably need
1. Admin = on Facets Options page, add an option to “preserve category hierarchy display = true/false
2. Front End = Facets display in some way that displays both parent and child, when category has a parent
It should behave somewhat like your video example, except I cant use different taxonomies in place of parent categories.
Awesome! I enabled it today and it looks good. I’ll play around with it a bit this week, and then will let you know if I run into any further problems.
Note: When I initially upgraded my search results page showed an error related to hierarchy (sorry, I didnt get record the exact error). I’m only working with test data for now, so I deleted the index and re-created. Then the error disappeared.
Plugin Author
WPSOLR
(@wpsolr)
Good.
When the “Show hierarchy” is selected, the data needs to be re-indexed.
Else, it works as it used to before WPSOLR 8.2