Re: [greenstone-users] Hierarchy - multiple values.

From Michael Dewsnip
DateFri, 25 Aug 2006 10:58:38 +1200
Subject Re: [greenstone-users] Hierarchy - multiple values.
In-Reply-To (6-2-1-2-0-20060824211128-01e714b0-pop3-paradise-net-nz)
Hi Ed,

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,

Michael

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?
>
> Thanks
>
> Ed Robinson
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>