Indexes: Replace level count with number of children

Requests for new functionality or improvements in existing functionality. Please provide clear descriptions of your request, an example or if possible a real life scenario.
Post Reply
daniel1113
Posts: 16
Joined: Tue Aug 21, 2018 2:32 pm

Indexes: Replace level count with number of children

Post by daniel1113 » Fri Apr 05, 2019 9:01 pm

When viewing indexes, Mayan includes three pieces of information: the title of the tree level, the number of levels, and the number of documents.
Screen Shot 2019-04-05 at 2.52.42 PM.png
Screen Shot 2019-04-05 at 2.52.42 PM.png (41.93 KiB) Viewed 31 times
To my mind, the levels metric is completely irrelevant because it includes every branch down the tree, not just the immediate children of the listed level. I can't think of a good use case for that information. Can this be replaced with a simple count of the immediate children to the listed level? In my example above, if I click on "200" I am shown 6 items in the next level of the hierarchy:
Screen Shot 2019-04-05 at 2.56.23 PM.png
Screen Shot 2019-04-05 at 2.56.23 PM.png (47.66 KiB) Viewed 31 times
That's the total that should be displayed: 6, not 17. This is the number that Mayan already shows in the left navigation area, too.

Thanks.

User avatar
rosarior
Posts: 211
Joined: Tue Aug 21, 2018 3:28 am

Re: Indexes: Replace level count with number of children

Post by rosarior » Sat Apr 06, 2019 8:48 pm

Thanks for the request. We added this as a request from users that wanted to know if a level was completely empty and didn't had any other levels underneath. This column can also show which indexes are too bigger may need to be updated.

I can see how this decision is not for everybody. We'll run a few iterations to see if there is overall benefit in this change or if it is better to include both pieces of information.

Thank you for the feedback, we appreciate it very much, and will take it into consideration.

Post Reply