Re: [greenstone-users] More sort issues

From Jenn Cole
DateWed, 20 Apr 2005 13:28:42 -0700
Subject Re: [greenstone-users] More sort issues
In-Reply-To (20050420194446-GE27893-matai-cs-waikato-ac-nz)
Thanks John,

I redid all of my classifiers to use the AZCompactList and I still get
the same problem. I can get the sort to work properly if I have it sort
by another field which is just numeric and I add a 0 infront of the one
and two digit numbers, the problem here is I have many documents that I
have added and I don't want to have to go through each page to add
another metadata field. Is there a way I have sort my classifier the
way it is sorted when doing a boolean search?

Jenn Cole

John R. McPherson wrote:

>On Wed, Apr 20, 2005 at 11:12:15AM -0700, Jenn Cole wrote:
>>Hi Michael,
>>I was happy to see the new release of Greenstone has solved some of the
>>sorting issues that I was having with my collections. However, there is
>>still one problem with the AZCompactSection classifier sort. It is
>>sorting my page numbers, but not in numeric order. For example, pages
>>for one entry in a classifier looks like this: 2, 3, 32, 4, 5, 6.
>>I have noticed that when I do a boolean ('all') search for the same
>>entry it is sorted numerically, ie. 2, 3, 4, 5, 6, 32. From this I
>>gather that Greenstone has the capabilities to do a proper alphanumeric
>>sort. How can I get this sort working for my classifiers.
>Some classifiers, such as AZList and AZCompactList check if values
>are numeric and if so does a numeric comparison on them, otherwise
>do an alphabetic sort on them.
>I don't think the AZCompactSectionList classifier is really properly
>supported anymore... the AZCompactList classifier supports doing
>sections with the "-doclevel section" option. I think the
>AZCompactSectionList classifier was accidentally created instead of
>adding a bugfix to the AZCompactList classifier.
>greenstone-users mailing list