- Posts: 15
- Thank you received: 0
Hierarchical search
- cho
- Topic Author
- Offline
- New Member
Less
More
10 years 9 months ago #1692
by cho
Hierarchical search was created by cho
Hi,
I have V2.3 of CP component and I use the CP search and CP Tags cloud modules for search.
Unfortunately it seems that hierarchical search on categories is not supported - or at least I wasn't able to do it.
In Joomla for managing the content I did a hierachical category structure (a flat structure isn't an option due to the amount of articles).
In fact, I would like to bind the search configuration (search scope - "bind to categories") to the parent category (i.e. documents) and not to the individual childs. But doing this, the search won't find any elements. I have to bind the search config to the child categories directly.
But over the time, new child categories (i.e. additional doc's) were integrated into Joomla. Unfortunately, each time I make a new child category, I have to adapt the search scope in the CP search configuration of the module.
Is there support for hierarchical search?
Cheers
Chris
I have V2.3 of CP component and I use the CP search and CP Tags cloud modules for search.
Unfortunately it seems that hierarchical search on categories is not supported - or at least I wasn't able to do it.
In Joomla for managing the content I did a hierachical category structure (a flat structure isn't an option due to the amount of articles).
- a parent category: "documents"
- child categories: "doc1", "doc2" aso...
In fact, I would like to bind the search configuration (search scope - "bind to categories") to the parent category (i.e. documents) and not to the individual childs. But doing this, the search won't find any elements. I have to bind the search config to the child categories directly.
But over the time, new child categories (i.e. additional doc's) were integrated into Joomla. Unfortunately, each time I make a new child category, I have to adapt the search scope in the CP search configuration of the module.
Is there support for hierarchical search?
Cheers
Chris
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
10 years 9 months ago #1694
by andrea_4g
Replied by andrea_4g on topic Hierarchical search
I confirm that current versions of Custom Properties require category to be explicitly selected - being them parent or children - for scope restriction purposes.
We made this design choice for performance reasons (as to avoid the need to linearize the category tree for every search, which is a computational burden).
This choice also allow more flexibility: you can select a leaf category in one branch and another leaf category in a different branch.
I agree that this choice have the drawback you are reporting: the need to adapt the search scope when a new child category is created.
We'll look again into this subject to see if a more comprehensive way to handle category scope restriction is doable and what's its computational cost.
We made this design choice for performance reasons (as to avoid the need to linearize the category tree for every search, which is a computational burden).
This choice also allow more flexibility: you can select a leaf category in one branch and another leaf category in a different branch.
I agree that this choice have the drawback you are reporting: the need to adapt the search scope when a new child category is created.
We'll look again into this subject to see if a more comprehensive way to handle category scope restriction is doable and what's its computational cost.
The following user(s) said Thank You: cho
Please Log in or Create an account to join the conversation.
- cho
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
10 years 9 months ago #1695
by cho
Replied by cho on topic Hierarchical search
Thx for clarifications.
Nice, that you will take this subject into account for the future.
Cheers
Chris
Nice, that you will take this subject into account for the future.
Cheers
Chris
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds