Populating Collections

The next step after creating a Verity collection is to populate it with indexed data. Populating a Verity collection is accomplished with the CFINDEX tag. With the CFINDEX tag, ColdFusion can index data from a number of sources including numerous file types and query results from any ColdFusion query. What this means is that you can use the CFINDEX tag to index everything from HTML files and word-processed documents, to relational databases, LDAP directories, and POP mail accounts.

Indexing Files

The great thing about bundling Verity’s search technology with ColdFusion is that you can build applications capable of searching a wide range of document types including both text and binary formats. Here are the file types capable of being indexed by CFINDEX:

Text files

HTML, CFML, ANSI, ASCII, SGML, XML, and plain text

Word processing documents

Adobe PDF; Applix Words 4.2, 4.3, 4.4; Corel WordPerfect for Windows 5.x, 6, 7, and 8; Corel WordPerfect for Macintosh 2 and 3; Lotus AMI Pro 2 and 3; Lotus AMI Pro Write Plus; Lotus Word Pro 96 and 97; Microsoft Rich Text Format (RTF); Microsoft Word for Windows 2, 6, 95, 97, and 2000; Microsoft Word for DOS 4, 5 and 6; Microsoft Word for Macintosh 4, 5, and 6; Microsoft Works; Microsoft Write; and XYWrite 4.12.

Spreadsheets

Applix Spreadsheets 4.3 and 4.4, Corel QuattroPro 7 and 8; Lotus 1-2-3 for DOS/Windows 2, 3, 4, 5, 96, and 97; Microsoft Excel 3, 4, 5, 95, 97, and 2000; and Microsoft Works.

Presentations

Corel Presentations ...

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.