Ok, sorry, looked further down.  I am adding in the word "and" between the 
search terms.  Isn't that required for verity to return the proper results?  I 
remember having to do this way back.  I guess I am removing any "and"s the user 
types in, then putting the word "and" between each search term.  What should I 
change?



<cfset attributes.searchterm = replace(attributes.searchterm, " and ", " ", 
"all")>
<cfset attributes.searchterm = replace(attributes.searchterm, ",", " ", "all")>

<cfsearch
        collection="contestentries"
        name="searchresults"
        criteria="#trim(lcase(replace(attributes.searchterm, " ", " and ", 
"all")))#">


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325948
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to