As far as I know, this shouldn't be happaning. Just because the category shares a word with the keyword, there shouldn't be any confusion, especially since your passing in the UUIDs of the categories, not the labels.
I've tested category filtering before, and it does work, again, as far as I know. Can you try deleting your metadata collections and reindexing?
======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : jedimaster@allaire.com ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message----- > From: Johan Coens [mailto:j.coens@thefactore.com] > Sent: Friday, December 29, 2000 4:20 AM > To: Spectra-Talk > Subject: keyword Bug in cfa_metadataKeywordObjectFind > > > I think there is a bug in cfa_metadataKeywordObjectFind. I'll demonstrate > with an example: > > I want to retrieve objects from a metadatahierarchy, but only from a > specific tree in the hierarchy. FE. If I have: > > MyHierarchy > - books (categorie books in MyHierarchy) > - nature > - trees > KEYWORD1 (assigned) > KEYWORD2 > - queen flowers > KEYWORD > - science > - physics > - cdroms (categorie cdroms in MyHierarchy) > - best music of the 80s > QUEEN THE BEST (assigned) > - best music of the 90s > ABBA > > When I do a metadataKeywordObjectFind with the params > <cfa_metadataKeywordObjectFind > keywords = "QUEEN THE BEST" > lCategoryIDs = "all categorieIDs from nature" > lTypeIDs = "Type ID for an object assigned to the keywords" > > > > This will give me the objects assigned to the keyword 'QUEEN THE BEST' in > the category CDROMS? It looks like the lCategories are ignored.. Another > very weird thing: > > - if i specify only the category nature in the lCategories, no objects are > returned. > - if i specify only category nature and trees in the lCategories, > no objects > are returned. > - But: if i specify only category nature, trees and queen flowers in the > lCategories, objects are returned. > > Is this because of the existince of the word QUEEN in the categorie QUEEN > flowers? It looks like this. > > Maybe someone can help me out. > > Regards, > Johan Coens >
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.