That is your problem. You are submitting a form that 1, does not have an lCollections field, and 2, is not at all what the search handler expects. It expects a formtools form farSolrSearch to be specific. If you are going to write your own form, then you are also going to have to write your own handler and search logic.
To make the plugin work, you simply have to copy it to the /farcry/plugins directory, so it should be /farcry/plugins/farcrysolr. Once you have done that, you will need to add "farcrysolr" to the this.plugins setting in your project's farcryConstructor.cfm, then do an updateapp. Once you have done this, the form, the custom types, webskins, etc will all be available to your project. You will then need to define all your collections (which you have stated you have already done) and index them. Instead of creating your own dmInclude you can use the displayTypeBody.cfm webskin in the farSolrSearch webskin folder. Just create an include somewhere in the tree and point it at that webskin. I would also set the alias for the navigation node to "search". You can then use the displaySearch and displaySearchPod webskins to display the search form on your site. If you don't like the output, you can always override the webskin in your project and modify it as you need. The form will submit to the "search" alias you created, which will invoke the displayTypeBody.cfm webskin. This will lookup the form submission and execute the method that you are seeing an error for. You are going to continue to get an error unless you use the farSolrSearch formtool form, or unless you write your own handler and search logic. The plugin's handler and logic assume that it will come in as the formtool form. -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
