Do not use on any
shared computer
August 29, 2008 09:59pm pdt
 
[x]
Attachment Details

CFSEARCH Collection using SOUNDEX tag

Tags: Coldfusion
Has anyone used SOUNDEX on the CFSEARCH tag before?  I have just picked up CF's verity and i must say I'm pretty impressed.  I have created the collection, built the index, and am performing searches.  

I currently have the autosuggestion feature working and it's pretty amazing.  I need to also come up with a SOUNDEX feature for misspellings (i.e someone types Coldfuzion and i need it to find Coldfusion).  

Here's what I have on my CFSEARCH Tag.

<cfsearch name="GetResults"
                  suggestions="3"
                  status="info"
                  collection="Index1"
                  criteria="#keywords#">

First it seems i need to enable it..i found this somewhere onlin: In order to enable the <SOUNDEX> operator in Verity searches, you must add Soundex to the WORD-IDXOPTS directive in the style.prm file. ColdFusion MX 7 ships with more than one style.prm file. The correct file to update is in the verity/Data/stylesets/ColdFusionK2 directory.  
Is that all, do i need a separate collection for this?
From what I'm reading it seems all I need to do is add criteria="<STEM>#keywords#">...will that work too?  or do i need to add that tag before each keyword in criteria  
(i.e. criterira="<STEM>#keyword1# <STEM>#Keyword2#>

I have a deadline and any help navigating through this from someone with experience will help me greatly!!
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: tags266
Question Asked On: 07.21.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by dgrafx

Rank: Sage

Expert Comment by dgrafx:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by tags266
Author Comment by tags266:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by dgrafx

Rank: Sage

Expert Comment by dgrafx:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by tags266
Author Comment by tags266:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by dgrafx

Rank: Sage

Expert Comment by dgrafx:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628