Here's what was causing my KeyErrors, and how I solved it, and why I think
KeywordIndexes broke. I have a keyword index on the "categories" property of
my CatalogAware object. "categories" is a list.
def manage_removeItems(self, ids=[]):
""" Remove listed items from this category """
On 12/20/00 11:52 AM, "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> wrote:
> KeyErrors - the logging says:
> 2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not
> remove 3 from set
This is not the "KeyError" in the sense that it's not propogated up to the
top level, but it is a
Christopher Petrilli wrote:
> Are you getting KeyErrors or are you getting log messages complaining about
> keyts not existing?
KeyErrors - the logging says:
2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not
remove 3 from set
--
Email: itamar(at)shtull-trauring.org
Web:
On 12/20/00 11:33 AM, "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> wrote:
> I'm getting tons and tons of keyerrors when making changes to a catalogaware
> object's keyword index and then reindex_object() it. Alternatively, the
> Catalog doesn't get updated at all. Is there any way to prevent thi
I'm getting tons and tons of keyerrors when making changes to a catalogaware
object's keyword index and then reindex_object() it. Alternatively, the
Catalog doesn't get updated at all. Is there any way to prevent this from
happening, other than upgrading to 2.3?
--
Email: itamar(at)shtull-traur
Josh Zeidner writes:
>
This should work.
Alternatively: "MediaKeywords = 'ouch'".
>
This calls the catalog without any keyword arguments
and with a single positional parameter 0.
The catalog interprets this as "no search criteria" and returns
all objects.
Dieter
_
Hi Steve,
Yes Im sure it is being indexed as I have set the MetaData as you
described. It seems to be indexed as expected. Basically, what I am trying
to do is set up keyword relationships so that I can present related links to
the user( someone implied that this is the reason keywords were
Josh Zeidner wrote:
> Hi,
>
> Currently I am wrestling with "keyword" indexes in ZCatalogs. How do I
> query the ZCatalog for all records of objects indexed on a particular
> keyword. For instance if my index is named MediaKeyword ive tried:
>
>
That should work.
>this has completel
Hi,
Currently I am wrestling with "keyword" indexes in ZCatalogs. How do I
query the ZCatalog for all records of objects indexed on a particular
keyword. For instance if my index is named MediaKeyword ive tried:
this has completely unpredictable results.
this returns all indexed