tracker issue : CF-3311234

select a category, or use search below
(searches all categories and all time range)
Title:

Error executing query : unknown handler: simple

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): / ext-user (Nimit Sharma)

Created: 08/15/2012

Components: Text Search, Solr

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 10.282462 /

Priority/Frequency: Minor / All users will encounter

Locale/System: English / Win 2008 Server R2

Vote Count: 0

Problem: There was a problem while attempting to perform a search. "Error executing query : unknown handler: simple"

Method:
1. Create a coldfusion template [Let say : test.cfm]
2. Code :

<cfsearch name="testkb" collection="test" type="simple" criteria="RH" >

<cfloop query="testkb">
<cfoutput>
<a href="document/#testkb.url#">#testkb.url#</a>
</cfoutput>
</cfloop>

<cfdump var="testkb">

3. Save it and try to access it.

Result: It is coming up with the error, "Error executing query : unknown handler: simple"

Expected: It should run successfully.

Analysis : 
If we do not use type attribute then it works fine. If we remove [type="simple"] from the above code then it works.

Workaround:

Additional :
1. I have added error screenshot and test.cfm along with this bug.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3311234

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Nimit, This is happening because type=simple was applicable only for Verity. In CF 10 there is no verity hence type=standard/dismax are supported. Regards Kunal
Comment by Kunal S.
18545 | August 16, 2012 02:09:22 AM GMT
Online documentation should be updated then. This incorrect information is still found on the wikidoc for cfsearch.
Comment by External U.
18546 | February 06, 2015 05:39:18 PM GMT