Re: Fwd: Re: [greenstone-devel] sort problem

From Hiro Mizutani
DateTue, 20 Jul 2004 10:37:34 -0600
Subject Re: Fwd: Re: [greenstone-devel] sort problem
In-Reply-To (200407090842-54615-hiro-mizutani-umontana-edu)

Sorry for this late reply. I was out of town.

ABBEY, ADAMS etc are "Name" metadata and I have only one Name metadata
element per document.

I tried using AZCompactList and sorted fine. But now, it shows only a
list of name starting with "A". Is there a way to have A-Z Index on the
top of the page?

on my collect.cfg I have:

classify AZCompactList -metadata Name -sort Name

format CL1HList "[link][icon][/link] [Name]<br>"


> Subject: Re: [greenstone-devel] sort problem
> Date: Thursday 08 July 2004 08:27 pm
> From: Katherine Don <>
> To: Hiro Mizutani <>
> Cc:
> Hi
> Is ABBEY, ADAMS etc exactly what the metadata consists of? Or do you
> have initials - these can cause funny ordering sometimes.
> I assume you have changed the format statement to display Name instead
> of Title? If you are not displaying the same metadata element as you are
> sorting on, then the display can look unordered.
> Do you have more than one Name metadata element per document? With
> AZCompactList sometimes you can sort on one metadata value but be
> displaying a different one. However, I don't think this is a problem for
> AZList. But I thought I'd mention it anyway.
> Do you get the same ordering if you use AZCompactList?
> Other than that, I don't know what else to suggest.
> We don't do wildcard searches. The closest thing would be to search with
> stemming on, but that doesn't guarantee any particular search results -
> it depends on what each name stems to, if anything.
> Regards,
> Katherine
> Hiro Mizutani wrote:
>> Hi,
>> I have a lot of documents and each document contains a line like this:
>> <Metadata name="Name">person's name here</Metadata>
>> and a collect.cfg has a line:
>> classifyAZList -metadata Name -sort Name
>> But it doesn't sort correctly. It gives me:
>> somehow ABBOT is after AVERY.
>> Also, is there a way to search by word that is truncated with a wildcard?
>>On the search field, I'd like to be able to type AB* and the result show
>> Any suggestions would be appreciated.
>> -hiro
> -------------------------------------------------------

Hiro Mizutani
Staff Computing Support Specialist
Mansfield Library
The University of Montana