Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display hierarchy taxonomy terms as nested in faceting widget #413

Open
Naresh206 opened this issue Jul 8, 2019 · 5 comments
Open

Display hierarchy taxonomy terms as nested in faceting widget #413

Naresh206 opened this issue Jul 8, 2019 · 5 comments

Comments

@Naresh206
Copy link

Hi,

We are trying to build hierarchical taxonomy facets. Please, this is a custom taxonomy. We need to have 3 levels of hierarchy with this. Is this supported with solr power. Can you please share thoughts or code examples would be great.

@danielbachhuber
Copy link
Contributor

Hi @Naresh206,

We need to have 3 levels of hierarchy with this. Is this supported with solr power.

It should be possible, yes.

Can you please share thoughts or code examples would be great.

It should work without any additional configuration. If you run into specific questions, feel free to drop them here and we'll do what we can do answer them.

@Naresh206
Copy link
Author

Hi,

Taxonomy is coming in the front end but I cannot see hierarchy in the front end.

Here is the screenshot of how custom taxonomy is built
Screenshot1

Here is the screenshot how taxonomy facets are seen on the front end
Screenshot2

Here is the screenshot of HTML, where they are all building as single li items
Screenshot3

Here is my facet options screenshot
screenshot4

Am I missing something and can you please help me

@Naresh206
Copy link
Author

Hi @Naresh206,

We need to have 3 levels of hierarchy with this. Is this supported with solr power.

It should be possible, yes.

Can you please share thoughts or code examples would be great.
Hi,

Taxonomy is coming in the front end but I cannot see hierarchy in the front end.

Here is the screenshot of how custom taxonomy is built
Screenshot1

Here is the screenshot how taxonomy facets are seen on the front end
Screenshot2

Here is the screenshot of HTML, where they are all building as single li items
Screenshot3

Here is my facet options screenshot
screenshot4

Am I missing something and can you please help me

It should work without any additional configuration. If you run into specific questions, feel free to drop them here and we'll do what we can do answer them.

@danielbachhuber
Copy link
Contributor

@Naresh206 It looks like the faceting widget doesn't support hierarchy right now. We can re-open this issue and consider it for a future release. Feel free to submit a pull request with support if you'd like.

@danielbachhuber danielbachhuber changed the title Solr power 3 levels of hierarchy taxonomy in worpdress Display hierarchy taxonomy terms as nested in faceting widget Jul 15, 2019
@Naresh206
Copy link
Author

Hi,
We want to do a custom range search on a date, for example, post_date from now+6 months programmatically
Another use case may be sorting the price custom field from $1000 to $2000

Can you please give an example to do this and help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants