Use CFX_INDEX to build collections containing indexed data on document files and database tables. You could, for example, create collections that index web site document files you want end users to be able to search, organized by subject area. Collection updates can be scheduled at off-peak hours to refresh collections with new document content.
Since searching a collection of database records is potentially much faster than reissuing a CFQUERY to the database, you can index database tables for information that does not change frequently. In the case of a customer database, for example, you could schedule collection updates during off-peak hours and provide a searching mechanism for end users instead of using CFQUERY CFML code where each query requires access to the data source and can impose a substantially greater processing load.