December 12, 2001
UDF's (User Defined Functions) return values using the "return" keyword which is the logical ending of any function (any code after a "return" cannot be reached and won't ever be executed). Multiple returns are allowed but good programming practices (not to mention simplified debugging) dictate...
December 11, 2001
You can't use CFML tags within UDF's (User Defined Functions). But you can still perform like file operations, like data retrieval, and even CFX type add-on calls. How? Using COM or Java via the CreateObject() function (the function equivalent of ) within your UDF code. (Applies to: ColdFusion 5)
December 10, 2001
ColdFusion 5 UDF's (User Defined Functions) fully support recursion (functions calling themselves). Each called function is its own call - any variables defined in a prior call will not be visible, and changes to a variable will not effect earlier calls. To explicitly share data between calls place...
December 9, 2001
ColdFusion can be extended using Java (Servlets, Java CFX's, calls to Java classes, and straight Java API calls via the CreateObject() function). In order to use ColdFusion with Java, ColdFusion must know where to find the Java Virtual Machine (JVM). This must be specified in the ColdFusion...
December 8, 2001
Want a quick (and powerful) set of search screens to work with your Verity collection? Look no further than ColdFusion Studio and its Verity Wizard. To access this Wizard select File, New, click on the CFML tab, and double click on Verity Wizard. (Applies to: ColdFusion Studio 4.x and 5)
December 7, 2001
To perform a language specific Verity search, the LANGUAGE attribute must be specified in the tag. If no LANGUAGE is specified, ColdFusion will use the collection language (if specified, and will default to English if not). The same applies to indexing data using the tag. (Applies to: ColdFusion...
December 6, 2001
The integrated Verity search engine can be used to perform searches on non-English data - even supporting phrases, sentences, stem searches, and type handling. But the non-English support is not included out of the box. To support Danish, Dutch, Finnish, French, German, Italian, Norwegian,...
December 5, 2001
When using Verity to index database rows you must make sure that Verity knows the unique id of each row in your table (so that when you perform searches you'll know which rows match). As such, when indexing data with it is advisable to pass the primary key to the KEY attribute. (Applies to:...
December 4, 2001
The Verity search engine can be used to perform full-text searches against data in any database table. Indexing the data is a two step process: first the data must be returned in a query, and then that query must be passed to . The column names passed to the BODY attribute are the columns that will...
December 3, 2001
If indexed data contains typos, performing searches becomes difficult if not impossible - after all, text cannot be matched if it is spelled incorrectly. Or can it? Using to perform a Verity full-text search, and the Verity TYPO operator, you can perform searches that accommodate for errors....