Re: [greenstone-devel] Keyword Sorting issue

From Katherine Don
DateFri, 26 Sep 2003 09:41:39 -0600
Subject Re: [greenstone-devel] Keyword Sorting issue
In-Reply-To (20030926111619-71257-qmail-web40908-mail-yahoo-com)
hi atta

I assume by keyword indexing you mean the keywords listing seen by clicking on the keywords button in the navigation bar.
The collection config file specifies that this classification is a hierarchical classification, using keywords.txt file. The order of the keywords list is exactly the order of the keywords.txt file.
This is an excerpt from your keywords file (accessed at http://210.56.24.71/gsdl/collect/UNLib/etc/keyword.txt)
"Afghan Refugees Rehabilitation" 1 "Afghan Refugees Rehabilitation"
"Community health" 2 "Community health"
"Human rights" 3 "Human rights"
"Drainage" 4 "Drainage"
"Gender roles" 5 "Gender roles"
"Health promotion" 6 "Health promotion"

The numbers in this file specify the ordering. If you want the keywords sorted, you will need to alter this file to make the entries in sorted order.
Alternatively, you could use an AZCompactList to build the classification. use the following:

classify AZCompactList -metadata Keyword

however, this might not sort the documents in each section of the classifier.

I hope this helps,
regards,
Katherine Don

atta wrote:

Hello,

I have built a library collection. Everything seems to be working fine except “Keyword” indexing. Keywords are not in sorted order. I am sending the configuration file, keyword file and Metadata.xml file as an attachment. You can also visit the online site at the following address to see the problem (in keyword section)

 

http://210.56.24.71/gsdl/cgi-bin/library.exe

 

Note: the keyword.txt and Metadata.xml file attached with this mail are not the actual file which are used in the above mentioned URL. But the format of the actual files and these fies is exactly the same.

Best regards,

atta

Do you Yahoo!?
The New Yahoo! Shopping - with improved product search