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 <firstname.lastname@example.org>
> To: Hiro Mizutani <email@example.com>
> Cc: firstname.lastname@example.org
> 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.
> Hiro Mizutani wrote:
>> 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
>>ABBEY and ABBOT.
>> Any suggestions would be appreciated.
Staff Computing Support Specialist
The University of Montana