Page 1 of 1

Hierarchical category usage

PostPosted:Fri Jun 15, 2012 12:38 pm
by stiebs
I've just started looking at using OpenKM for personal use at home, and although it does have some quirks, so far definitely seems to be the pick of the bunch in the price range that is suitable for home use!

I have a question about the use of categories - what I'll describe is working really well for me at the moment, but I haven't really loaded up a massive amount of documents yet, so I'm a little concerned that maybe performance will start to become a factor. I'll start for example with my vehicle paperwork.

So I've created a hierarchy like this in the taxonomy:
Vehicles
- Mazda
- Jeep

Then I've created this hierarchy in categories:
Vehicles
- Mazda
-- Insurance
-- Registration
-- Service
- Jeep
-- Insurance
-- Registration
-- Service

When I upload, say the insurance policy renewal for the mazda, I add it to "Vehicles" and to "Vehicles/Mazda" and to "Vehicles/Mazda/Insurance"

The effect of this is that as I click through the hierarchy, when I start at "Vehicles", I see all documents for all vehicles. Click through to "Mazda", and I see all my documents for my Mazda. Click through to "Insurance" and the list is narrowed down to insurance documents only.

This is a little more effort when adding documents, but I can live with that. But my concern is that once I start building up a library where I have 100's of documents within a category tree, am I start going to see a big performance hit?

And I guess my last question, is there a better way to achieve this effect?

Re: Hierarchical category usage

PostPosted:Sat Jun 16, 2012 9:19 am
by jllort
What do you want is when adding document in mazzda autocatically see under vehicles? is that ?

Re: Hierarchical category usage

PostPosted:Sat Jun 23, 2012 12:03 pm
by stiebs
In a word, yes.

Although I think its probably a moot question, because the keyword map I think does just want I want it to do without the enforced structure of categories. If I add keywords "vehicle", "mazda", "registration", and then start clicking through on the keyword map, it narrows down the matching documents nicely, no matter whether I select "mazda" first or "registration" first..

Re: Hierarchical category usage

PostPosted:Sun Jun 24, 2012 10:50 am
by jllort
Seems interesting feature I have added here http://issues.openkm.com/view.php?id=2183

Well we got only a little problem, for example vehicle is registered in:
vehicles
vehicles/mazzda

When we remove from vehicles we should automatically remove from mazzda no ? but if we remove from mazzda will continue beeing at vehicles

Re: Hierarchical category usage

PostPosted:Sun Jun 24, 2012 1:08 pm
by stiebs
Yes, I would say that makes sense.

When adding a category, have the option to also add it to all categories higher up in the hierarchy.
When removing a category, have the option to also remove it from all categories deeper down the hierarchy.

Re: Hierarchical category usage

PostPosted:Mon Jun 25, 2012 7:39 am
by jllort
That means some dialog inquiring for it in case you add or remove category. In case add category should be some checkbox ( like propagate in security view ) and in remove should be some dialog.

Basically the problem if force or not this kind of behavior. If it's makes optionaly that will be on hand of user ( users mistakes ) otherside is some configuration parameter and then force to add or remove all childs nodes.

As you can see what seems trivial is not as easy. Inquiery to users seems the most general case.