Ben Forta

Blog

December 2, 2001

Searching By Meaning

exposes the power of the Verity search engine to your ColdFusion applications. One incredibly powerful (and seemingly infrequently used) feature is the ability to search for a word and any of its synonyms, thus allowing you to search for content by meaning. To use this feature use the THESAURUS...

December 1, 2001

Deleting Verity Collection Entries

does not delete entries from a verity collection. Rather, it flags them for deletion (preventing them from showing up in subsequent searches). To physically remove deleted entries from a collection you must purge those flagged entries with . (Applies to: ColdFusion All)

November 30, 2001

Displaying Verity Retrieval Stats

Verity searches (performed using ) return standard ColdFusion queries containing the search results. As such, to display the number of matches, you could simply refer to query.RecordCount (as you'd do with any query). But what if you wanted to also display the number of records searched (to be able...

November 29, 2001

Using Existing Collections

Have a Verity collection created outside of ColdFusion? You can still access it within your CF code. To do so all you need to do is define an alias for that collection within the ColdFusion Administrator. Specify the alias (the name to be used within ColdFusion), enter the full path to the...

November 28, 2001

Finding Text By Relative Proximity

To search for database rows (or files) that contain two or more words by relative proximity, use a Verity collection, and search for data using the NEAR and NEAR/n operators. NEAR ensures that the words are no more than 1000 words from each other, NEAR/n lets you specify the maximum distance....

November 27, 2001

Finding Text By Proximity

To search for database rows (or files) that contain two or more words in the same sentence (although not necessarily as a sequential string) use a Verity collection, and search for data using the SENTENCE operator. To search for words in the same paragraph use the PARAGRAPH operator. (Applies to:...

November 26, 2001

CGI Variables Always Exist

CGI variables are special read-only variables made available by ColdFusion. CGI variables include server and browser variables, as well as ColdFusion environmental information. As CGI variable existence is so dependant on external factors (meaning that you'd always have to test for existence before...

November 25, 2001

Stored Procedures and Multiple Output Parameters

(and related and tags) are used to execute stored procedures in ColdFusion (typically when the stored procedures are more complex than can be handled by ). passes parameters in and out of stored procedures. When retrieving variables from a stored procedure the value will be a simple variable unless...

November 24, 2001

Linking to Executable Files

Need a link to allow a user to download an executable file (a Windows EXE file, for example)? Be careful not to place that file in a directory that executes CFM pages or that file could get executed on the server instead of downloaded. Executable files to be downloaded should be placed in their own...

November 23, 2001

COOKIE Is a Structure

Like many scopes in ColdFusion, COOKIE is a structure. This means that you can use all the Struct functions to access COOKIE variables, and can over COOKIE to iterate through all available cookies. (Applies to: ColdFusion 4 (or later))

Page 445 of 489 (4885 posts)