[Product-Developers] Catalog search problems
Tim Knapp
duffyd at kokorice.org
Thu Mar 6 18:27:51 UTC 2008
On Thu, 2008-03-06 at 10:15 -0700, Swank, Craig wrote:
> Thanks for the reply, Andreas. Yes, I have tried reindexing, clearing and
> rebuilding, you name it. It is almost as if the catalog search is being
> done on another catalog, but I don't have another catalog.
I may be really off-beam here (and stupid) but I always use
portal_catalog.searchResults() - does this work?
Thanks,
Tim
>
> Craig
>
>
> On 3/6/08 10:03 AM, "Andreas Jung" <lists at zopyx.com> wrote:
>
> >
> >
> > --On 6. März 2008 08:49:48 -0800 swank <craig_swank at nrel.gov> wrote:
> >
> >>
> >> Hello,
> >> I am having trouble with catalog searches. When I do a search for a
> >> portal_type such as:
> >>
> >> brains = portal_catalog(portal_type="FtirRecord")
> >>
> >> I get no results (brains = []). My portal catalog seems to be fine when I
> >> look at it from the management interface. FtirRecord is a type listed in
> >> the portal_type index. I tried doing
> >>
> >> brains = portal_catalog(portal_type="Folder")
> >>
> >> and I still get no results. When I do:
> >>
> >>
> >
> > Try to reindex the whole catalog and try again. Otherwise I would not
> > believe this.
> >
> > -aj
>
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
More information about the Product-Developers
mailing list