Since I only wanted the Product content indexed into the collection, I used
a query with all of the product information to fill the Index.
The fuseaction can be based on the results of a specific column in the
query.
Something like this, however I didn't use fusebox for this.
<CFSET IndexCollection = "theCollection">
<cfquery datasource="XXXXXX" name="getProdRecords">
SELECT
'ProdInfo'=LTRIM(ProductNumber+':'+ SPACE(3) + ProductTitle),
ProductID AS NumID, ProductDescription, ProductFeatures,
'ProdDesc'=REPLACE(STUFF(LTRIM(CAST(ProductDescription as
char(300))),1,3,''),'<font size="2" face="HELVETICA, ARIAL">','')
FROM ProductInformation
WHERE ProductID <> 1
AND Publish = 1
</cfquery>
<CFINDEX
collection="#IndexCollection#"
action="REFRESH"
type="CUSTOM"
query="getProdRecords"
key="NumID"
Title = "ProdInfo"
body = "ProdInfo, ProductDescription, ProductFeatures"
custom1="http://www.cirrus.com/design/products/overview/index.cfm?ProductID=
"
custom2="ProdDesc"
>
HTH,
Robert Hinojosa
WebDeveloper
512.912.3775
[EMAIL PROTECTED]
www.cirrus.com
-----Original Message-----
From: Henry, David B [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 9:15 AM
To: '[EMAIL PROTECTED]'
Subject: Question about Verity
I am developing my first large scale site, and much of the site is using the
fusebox model. I want to use verity as a site-wide search engine. I
actually have two issues.
1. For normal .cfm files verity will return where the file is located, but
how do I direct it to the exact location with the appropriate fuseactions?
My initial thought was to do set up a condition in each one of the dsp_pages
to essentially redirect the page to the index.cfm?WithAppropriateFuseaction.
2. I would like to integrate both my normal .cfm templates, and query
results for various applications that are running on the site, into one
search form. I am not even sure where to begin for this.
Any thoughts or help would be appreciated.
Thanks,
David Henry
HPER Technology Services
School of Health, Physical Education and Recreation
Indiana University
(812)855-4270
[EMAIL PROTECTED]
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.