Rick, here's what I run on my search input before submitting it to cfsearch.
There may be an attribute in cfsearch that does this automatically, but I
wasn't sure of what it was.
<cfif NOT (findnocase(" AND ",attributes.criteria) OR findnocase(" OR
",attributes.criteria))>
<cfset variables.searchCriteria =
ListChangeDelims(attributes.searchCriteria, " AND ", " ")>
</cfif>
<cfsearch
name = "searchResults"
collection = "dbContent,fileContent"
criteria = "#lcase(variables.searchCriteria)#">
Adam.
> -----Original Message-----
> From: cfhelp [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 09, 2003 8:20 AM
> To: CF-Talk
> Subject: Verity Indexing and Searching
>
>
> I have created a Verity (SQL Data) that I index once a day
> separate from the
> search. Then on the website I run the CFSEARCH tag against it
> but it doesn't
> search out all keywords.
>
> If I search for "Blue" I get back anything with Blue in it.
>
> If I search for "Blue Ear" I get back anything with "Blue
> Ear" but not "My
> ear is blue"
>
> I thought Verity was supposed to return results in that
> matter by relevance?
>
> This is the search tag on the search page.
> <cfsearch collection="BE_SearchAll" criteria="#criteria#"
> name="SearchResults" type="EXPLICIT">
>
> I also tried "Simple".
>
>
>
> <!--- The file that runs daily is: --->
>
> <cfquery datasource="BlueNew" name="QryGetNewPost">
> SELECT ListMessages.MessageGUID, ListMessages.EntryDate,
> ListMessages.Subject, ListMessages.Body, ListMessages.MemberID
> FROM ListMessages
> WHERE (Blocked = 0 AND Hold = 0)
> </cfquery>
>
> <cfindex query="QryGetNewPost" action="UPDATE" key="MessageGUID"
> collection="BE_SearchAll" title="Subject" type="CUSTOM"
> body="Subject,Body"
> custom1="EntryDate" custom2="MemberID">
>
>
>
>
> Rick
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4