Hello all,

I need to reference multiple collections in a single <CFSEARCH> tag.  Lets
say we have 2 collections, Collection_1 and Collection_2, created and
indexed within Cold Fusion.  I have successfully searched upon the custom
fields, CF_CUSTOM1 and CF_CUSTOM2, within Collection_1, but cannot search by
the custom fields within Collection_2.

It is important to retain the score value returned from the result, or I
would bypass the second collection and search the database using the results
from Collection_1.

Any ideas how to do this?

Example Code that works:
<CFSEARCH COLLECTION="Collection_1, Collection_2" NAME="GetResults"
CRITERIA="CF_CUSTOM1 = " & #Query.CustomerID# & " AND CF_CUSTOM2 =
#QUERY.CustomerStatus#>

David Brooks
PC Pros, Inc.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to