• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20.  Understanding the Verity... >  Creating a Search Interface

Creating a Search Interface

After you’ve created a collection and indexed it, you need to provide end users with a means to interface with it. Use the <CFSEARCH> tag to search for a collection. This tag executes a search and returns the result that can be used for the <CFOUTPUT> and <CFLOOP> tags for further processing. <CFSEARCH> can also search collections of indexes of documents, or indexes of query results. Here’s the syntax for <CFSEARCH>:

<CFSEARCH NAME="search_name"
     COLLECTION="collection_name"
     TYPE="criteria"
     CRITERIA="search_expression"
     MAXROWS="number"
     STARTROW="row_number"
     EXTERNAL="Yes/No"
     LANGUAGE="language">


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint