Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Spectra-Talk
Cold Fusion Spectra - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Spectra :
product's home
product's list home
 
  Archived TallyList / Spectra-Talk: 
Subject: RE: keyword Bug in cfa_metadataKeywordObjectFind
Johan Coens (28p/+0r)     Posted: Tuesday 02 Jan 2001
This post: 29 views, +0 rating

First, thank you all for your responses. I've taken a deeper look into the problem (and maybe I should have done that before) and found out what my problem is. I'll try to bring it as clear as possible with the following example.

I have my type books and articles and the following hierarchy: nature trees POPLAR OAK (article and book ASSIGNED) flowers ROSE TULIP wildlife fishes SHARK GOLDFISH birds EAGLE (book ASSIGNED) SPARROW (article ASSIGNED)

My article is about oaks and sparrows, so my article is assigned to the keywords OAK and SPARROW. I have a book which is about eagles and oaks, so my book is assigned to the keywords OAK and EAGLE.

In my site I am in the section wildlife, so I only want books from the category and subcategories from wildlife. So my call is the following: <cfa_metadataKeywordObjectFind dataSource = "#request.datasource#" keywords = "OAK,SPARROW" resultSet = "key" lTypeIDs = "#request.TypeIDs.Book#" r_stObjects = "keysBooks" lCategoryIDs = "list of categoryIDs from wildlife" >

When I take a look at the object properties of my book: objectdata stKewords OAK EAGLE lCategories: catID_birds,catID_trees

The tag cfa_metadataKeywordObjectFind searches like: 1. Is the categoryID present 2. Is the keyword present 3. Does the typeID match

If all questions are answered with YES, then the object will be returned. One essential question is missing though: 4. Is the matching keyword member of the provided categories.

This condition is not made in metadataKeywordObjectFind. My book is returned, eventhough it is not about eagles. So before I do a metadataKeywordObjectFind, I have to filter all keywords out which are not present in my categories.

Thanks all and a happy new year, Johan Coens

========= Ing. Johan Coens Allaire Certified ColdFusion Developer <theFactor.e> Friesestraatweg 215a P.o. Box 2010 9704 CA Groningen The Netherlands Tel: +31 (0)50 57 57 888 Fax: +31 (0)50 57 57 889 <http://www.thefactore.com>

Premium Partner for Allaire Cold Fusion Multimedia development with Macromedia Director, Authorware, Flash.

"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world." Albert Einstein =========

~~~~~~~~~~~~~ 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.


Similar Subject Line Posts (+/- two weeks of this post)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001 (this post)   (29 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001   (32 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001   (31 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001   (29 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001   (26 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  02 Jan 2001   (21 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  01 Jan 2001   (25 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  01 Jan 2001   (29 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  01 Jan 2001   (30 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  01 Jan 2001   (36 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  29 Dec 2000   (31 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  29 Dec 2000   (21 v/ +0 r)
RE: keyword Bug in cfa_metadataKeywordObjectFind  29 Dec 2000   (24 v/ +0 r)
keyword Bug in cfa_metadataKeywordObjectFind  29 Dec 2000   (26 v/ +0 r)
 

Send a reply to the Spectra-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000