Re: [greenstone-devel] sort problem

From Katherine Don
DateFri, 09 Jul 2004 14:27:10 +1200
Subject Re: [greenstone-devel] sort problem
In-Reply-To (200407062104-18546-hiro-mizutani-umontana-edu)

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:
> 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 ABBEY
> and ABBOT.
> Any suggestions would be appreciated.
> -hiro