22.08.2013 Views

ColdFusion Developer's Guide

ColdFusion Developer's Guide

ColdFusion Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta<br />

A confirmation message appears on successful completion.<br />

NOTE<br />

Indexing a collection with the <strong>ColdFusion</strong> Administrator<br />

As an alternative to programmatically indexing a collection, use the following procedure to<br />

index a collection with the <strong>ColdFusion</strong> Administrator.<br />

To use <strong>ColdFusion</strong> Administrator to index a collection:<br />

1. In the list of Verity Collections, select a collection name; for example, CodeColl.<br />

2. Click Index to open the index page.<br />

3. For File Extensions, enter the types of files to index. Use a comma to separate multiple file<br />

types; for example, .htm, .html, .xls, .txt, .mif, .doc.<br />

4. Enter (or Browse to) the directory path that contains the files to be indexed; for example,<br />

C:\Inetpub\wwwroot\vw_files.<br />

5. (Optional) To extend the indexing operation to all directories below the selected path,<br />

select the Recursively index subdirectories check box.<br />

6. (Optional) Enter a Return URL to prepend to all indexed files.<br />

This step lets you create a link to any of the files in the index; for example, http://<br />

127.0.0.1/vw_files/.<br />

7. (Optional) Select a language other than English.<br />

For more information, see “Specifying a language” on page 670.<br />

8. Click Submit Changes.<br />

On completion, the Verity Collections page appears.<br />

NOTE<br />

For information about using the cfindex tag with a database to index a collection,<br />

see “Working with data returned from a query” on page 693.<br />

The time required to generate the index depends on the number and size of the<br />

selected files in the path.<br />

This interface lets you easily build a very specific index based on the file extension and path<br />

information you enter. In most cases, you do not need to change your server file structures to<br />

accommodate the generation of indices.<br />

Creating a search tool for <strong>ColdFusion</strong> applications 681

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!