To give your end users search access to Verity collecitons, you use the CFX_SEARCH tag to pass query expressions to the Verity search engine for execution.
The CFX_SEARCH tag allows you to build queries against data in Verity collections. The collections must first be defined using the Cold Fusion Verity Administrator, and then generated using either the Cold Fusion Verity Administrator, or the CFX_INDEX tag.
Note: You can only generate indexes of ASCII text files using the Cold Fusion Verity Administrator. To index other data sources, you use the CFX_INDEX tag.
When you search Verity collections with the CFX_SEARCH tag, you have access to a wide range of search options using operators and modifiers to create a query expression.
Operators are used to refine your search or to influence the results in other ways. For example, you could construct an HTML form for conducting searches. In the form, a user could perform a search for a single term:
server
You can refine your search by limiting the search scope in a number of ways. Operators are available for limiting a query to a sentence or paragraph and you can search words based on proximity. The following operator types are available:
- Evidence operators - Used to specify basic and intelligent word searches
- Proximity operators - For specifying the relative location of words in a document
- Relational operators - Search document fields in a collection
- Concept operators - Used to identify a concept in a document by combining the meaning of search elements.
- Score operators - Allow you to manipulate the score returned by a search element.
- Natural language operators - Allow the use of natural language expressions in forming queries
Modifiers can be used with operators to further refine query expressions. You can specify case sensitivity in a query, or force the output to be ranked by relevancy. Modifiers include: