I am tying to keep an already developed search running. I have no experience. Please help!
My error is coming from here:
|<cfif trim(form.criteria) is not "">|
maxrows = "100">
Could some one please assist me?
What is the error you are getting?
You are missing a closing </cfif> tag but that might be because you have copied and pasted incomplete code.
The </cfif> tag is later in the code.
The complete search is allowing you to search by keywords or product code.
The keyword area is the problem area.
Are you getting an error? Without more info it will be difficult to offer much assistance.
There was a problem executing the cfSearch tag with the following collections.
Collection (status code): personify_methods (-33)
The error occurred in /search_methods_results.cfm: line 34
Called from /search_methods_results.cfm: line 28
Called from /search_methods_results.cfm: line 1
32 : name="getMethods"
33 : criteria="#Form.Criteria#"
34 : maxrows = "100"><!--- --->
36 : <cfoutput>
What is being passed through in #Form.Criteria#?
Is this a verity or solr collection?
Have you tried re-indexing the collection?
The last question you asked might have just answered my problem. The problem is coming from the data source.
Amie_67, please mark the correct answer, as it will help someone else. Thanks.