[Zope-CMF] Sorting Search Results by Path...

sean.upton@uniontrib.com sean.upton@uniontrib.com
Fri, 13 Sep 2002 14:04:21 -0700


Out of curiosity, how does sorting on a sequence type work - since that
would be the need when using getPhysicalPath() for a FieldIndex?  I've never
tried indexing a sequence type with a FieldIndex before, and I'm just
curious...

Sean

-----Original Message-----
From: Jeff Ross [mailto:thejeffross@hotmail.com]
Sent: Friday, September 13, 2002 1:50 PM
To: Dieter Maurer
Cc: Tres Seaver; zope-cmf
Subject: Re: [Zope-CMF] Sorting Search Results by Path...


But I created it as a FieldIndex.

Jeff

----- Original Message ----- 
From: "Dieter Maurer" <dieter@handshake.de>
To: "Jeff Ross" <thejeffross@hotmail.com>
Cc: "Tres Seaver" <tseaver@zope.com>; "zope-cmf" <zope-cmf@zope.org>
Sent: Friday, September 13, 2002 10:56 AM
Subject: Re: [Zope-CMF] Sorting Search Results by Path...


> Jeff Ross writes:
>  > Here's the bit of code it's failing on in UnIndex.py:
>  > 
>  >     def keyForDocument(self, id):
>  >         return self._unindex[id]
> Looks like a PathIndex is not (yet) fit to be used as "sort_on".
> 
> Maybe, you file a collector report.
> 
> 
> Dieter
> 

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests