[Zope-CMF] portal_catalog: can't sort on a textindex ?
Jeffrey P Shell
jeffrey@cuemedia.com
Thu, 07 Feb 2002 11:43:59 -0700
You can't search on a text index in ZCatalog. ZCatalog's sorting mechanism
is pretty simple and can only be done on Field Indexes (so Keyword and Path
indexes don't work either).
On 2/7/02 11:28 AM, "Doyon, Jean-Francois"
<Jean-Francois.Doyon@CCRS.NRCan.gc.ca> wrote:
> Hello,
>
> I'm playing with the catalog for the first time and am trying to build an
> alphabetical list of objects, grouped and sorted by title (and their first
> letter).
>
> So far I've amanaged to use prortal_catalog to get me a list, but that's
> about it :(
>
> sort_on = 'title' tells me I can't use that index to sort !?!?!?! Can this
> be ? (Smae with sort_on = 'Title' )
>
> I'm using the default indexes setup by Zope, I haven't created any of my own
> ...
>
> What's going on here ? This is on top of the problem I'm having where
> non-published items keep showing up in anonymous user's search results ...
> I'm still trying to figure out what's wrong with that ...
>
> Any help would be greatly appreciated !!!
>
> Thanks,
>