Configuring Verity and Creating a Collection


Before you can begin using Verity as your search engine, you need to create a collection for your site. To create a new collection, open the ColdFusion MX 7 Administrator by typing http://localhost/CFIDE/administrator in your browser's address bar. Log in to the administrator and choose Verity Collections from the left navigation menu.

As shown in Figure 20.6, the form for creating a new Verity collection is very simple.

Figure 20.6. You can create a new Verity collection via the ColdFusion Administrator.


Simply type the name for your new collection and designate a path where that collection will be stored. Next, choose a language for your collection and choose whether or not you want to enable category support. Category support enables you to easily group your pages into logical categories that can be used to further assist your visitors in their searches. For instance, in the results page, you could add a link that says "View similar pages," which links to the other pages in the same category.

Caution

You can choose whether or not to enable category support only at the time of collection creation. You cannot go back and turn the feature on after the collection has been created, so consider whether you think you want to use this feature before you click the Create Collection button.


After you have completed the form, click the Create Collection button and the collection is created and added to the list of collections (see Figure 20.7).

Figure 20.7. Existing collections are listed in the ColdFusion Administrator.


The Verity Search Server application does not necessarily have to be installed on the same server as ColdFusion. If you choose to install Verity on a different server, you need to indicate where the application is located for ColdFusion to be able to access the collections. To modify this setting, click the Verity K2 Server link in the ColdFusion Administrator, type the name of the server in the Verity Host Name field, and click Submit Changes (see Figure 20.8).

Figure 20.8. The ColdFusion Administrator enables you to indicate where Verity is installed if it is not on the same server as ColdFusion.


After you have created your collection and specified the location of the Verity Search Server, you can use the Action buttons next to the collection to index, optimize, purge, and delete the collections. When you choose to index a collection (see Figure 20.9), you can indicate which file types and directories should be indexed.

Figure 20.9. Indexing a collection is easy to do from within the ColdFusion Administrator.




Special Edition Using Macromedia Studio 8
Special Edition Using Macromedia Studio 8
ISBN: 0789733854
EAN: 2147483647
Year: 2003
Pages: 337

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net