Let's create a collection and use the built-in search functionality to see it work.
1. We first need to create a directory to hold our collection; this doesn't have to be web-visible, but just for this example, we are going to create a folder in
<Railo Install Directory>/webroot
calledcollections
.2. Now, in the Railo Web Administrator, head to the Search section.
3. Enter
bookcollection
in the Name field for the collection.4. Then, enter the full path to the
collection
folder in the Path field, and we should have something similar to the following screenshot:5. Click on create, and you will have a page listing the created
collection
.6. We need something to search, so let's create a folder in the
<Railo Install Directory>/webroot
calledsearchitems
.7. In this folder, let's add a page that we can now search. Let's write a file called
railorocks.html
and add the following to the file:<!DOCTYPE html > <html> <head...