[Zope] case-independant catalog sorting
Marc Lindahl
marc at bowery.com
Wed May 12 12:35:48 EDT 2004
I was trying to let Catalog do the sorting, and avoid that (or - would
it be faster to get unsorted results from the catalog and sort the
results using sequence.sort?)
On Wednesday, May 12, 2004, at 02:59 AM, Andreas Jung wrote:
> if you want the index to remain casesensitive then you should use
> sequence.sort()
> to sort the results. You can pass your own comparision method to
> sequence.sort() ...
> read the docs for details.
>
> -aj
>
> --On Mittwoch, 12. Mai 2004 2:54 Uhr -0400 Marc Lindahl
> <marc at bowery.com> wrote:
>
>> you mean, re-sort the set of results returned by the catalog?
>>
>> On Wednesday, May 12, 2004, at 12:51 AM, Andreas Jung wrote:
>>
>>> Write a PythonScript that returns the content to be indexed in a
>>> normalized form and place it somewhere
>>> in the top of your site.
>>>
>>> -aj
>>>
>>> --On Dienstag, 11. Mai 2004 18:20 Uhr -0400 Marc Lindahl
>>> <marc at bowery.com> wrote:
>>>
>>>> Does anyone know how to get a sort on a (zcatalog) FieldIndex to be
>>>> case-independent (case-folding)?
>>>>
>>>>
>>>> _______________________________________________
>>>> Zope maillist - Zope at zope.org
>>>> http://mail.zope.org/mailman/listinfo/zope
>>>> ** No cross posts or HTML encoding! **
>>>> (Related lists -
>>>> http://mail.zope.org/mailman/listinfo/zope-announce
>>>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>>
>>>
>>>
>>>
>
>
>
>
More information about the Zope
mailing list