If you want to use a reserved word as part of the Verity search, you
need to put it in quotes. 

Criteria="Why $50 per Barrel Oil is 'Not' Out of the Question"



-----Original Message-----
From: Jason Herbolsheimer [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 12, 2007 2:06 PM
To: CF-Talk
Subject: cfsearch issue

Hello,
I have run into a problem using a verity index and cfsearch.  The
problem I'm having is that the search string that is being used has the
word "Not"
in it.
The search string is listed below, with the error I'm getting.  The
cfsearch code is listed below that.  Does anyone know how I get around
this issue?
Thanks in advance.

Search string: Why $50 per Barrel Oil is Not Out of the Question

Error: Invalid search CRITERIA specified: Why AND $50 AND per AND Barrel
AND Oil AND is AND Not AND Out AND of AND the AND Question.

Code:
<cfset thekeyword = "<MANY><STEM>" & replace(trim(keyword),' ',' AND
','ALL')> <cfsearch name = "newsSearch" collection = "mycollection"
criteria ="#thekeyword#" type="explicit" startrow=1 maxrows = "5000">
Jason Herbolsheimer
11204 Davenport, Suite 200b
Omaha, NE 68154
http://www.cfwebtools.com
402-408-3733 Ext 102






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266423
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to