That's a good idea except that I use custom1 and custom 2 to construct the
url to go to. Custom1 is the url (minus the key) and custom2 is the key
that points to the specific result. it's unfortunate that I have to use
both customs, but for some of the collections the "key" is not the actual
key, it's another key which is repeated. (like searching for contributors
to a product..one product could have multiple contributors..)
wish there were a custom3. or I wish that I could store my url in the URL
field but that doesn't work.
-----Original Message-----
From: David Berger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 10:08 AM
To: [EMAIL PROTECTED]
Subject: Re: organizing search results for multiple collection searches
The way I've done it is to show a graphic next to the link which defines
which collection it is from.... but first you need to define your custom1 or
custom2 during the cfindex process.
Example...
<cfindex action="Refresh"
collection="daily"
key="id"
type="CUSTOM"
title="title"
query="daily"
body="body"
custom1="DD">
<cfsearch collection="daily, etc..., etc..." name="results" type="SIMPLE"
criteria="#form.searchVARIABLE#" language="English">
<cfoutput query="results">
<cfif custom1 is "DD">
...(show percentage, image, summary)
<cfelseif custom1 is "COMP">
...(show percentage, image, summary)
<cfelse>
....(show percentage, image, summary)
</cfif>
</cfoutput>
Hope this helps,
David J. Berger
Web Developer
Cornell Technical Services
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.