You should assign multiple metadata values to the same metadata element,
then specify the "-allvalues" option to the Hierarchy classifier.
If the items in the classifier should be in alphabetical order then you
don't need to create a hierarchy text file: you can just assign the
values using "|" to separate the levels and the Hierarchy classifier
will sort it out.
All the best,
E Robinson wrote:
> I apologise in advance as I think this question was asked recently,
> but I could not find it this evening.
> I want to use a hierachy classifier where some documents will have
> more than one value.
> For example, if I have countries, one document may have relate to the
> US, another to the UK, and a third to both.
> I will use a text file for the codes (eg 1st line could be NZ 1 New
> Zealand, second line UK 2 United Kingdom etc in alphabetic order)
> Should I have more than one document metadata item to store each of
> the values (eg Country1, Country2 both metadata items)
> or should I combine these (eg USA|UK - or should that be "USA"|"UK" ?)
> in a single Country metadata item?
> If I should use two metadata items, how do I configure the hierarchy
> using both metadata values?
> Ed Robinson
> greenstone-users mailing list