Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verity Cold Fusion Problem - Please Help!

Status
Not open for further replies.

aac11

Programmer
Mar 6, 2002
3
US
I am a newbie. I am creating a search page for a website using Cold Fusion with Verity. I created a collection and populated the collection by indexing the CFM pages (type=path).

I found out that only the static content was being indexed. Dynamic content (query results) were not included! How can I include them?

Thanks.
 
There is some basic stuff in the books and help files that show how to create a verity collection for a database. Here is an example that may get you started in the right direction:

<!--- Create articles Verity Index --->
<CFQUERY NAME = "VTArticles" DATASOURCE = "Pepper">
Select rid, docbody, doctitle, docintro, docauthors, docside, docstat from articles
WHERE docstat<'D'
order by docpubdate desc
</CFQUERY>

<CFINDEX
COLLECTION = "pepper2articles"
ACTION = "REFRESH"
TYPE = "CUSTOM"
TITLE = "doctitle"
KEY = "rid"
BODY = "docbody, doctitle, docintro, docauthors, docside"
QUERY = "VTArticles"
EXTERNAL = NO>


R.Sobelman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top