December 19th, 2012, 04:57 PM
I've used suggestions in Verity before, but I switched to Solr and I am using CF9.
The docs (can't post URL - newbie) give info about suggestions, but they only reference Verity.
Can suggestions be used with Solr too?
December 20th, 2012, 10:44 AM
I'm actually not sure, but I *think* the Solr integration was done in such a way as to be as "invisible" as possible compared to the previous Verity integration.
So I would say it's worth a try.
December 20th, 2012, 10:49 AM
Thanks, I tried, but nothing displays in Solr, but this code worked in Verity..
Originally Posted by kiteless
Here is the search:
name = "search_all"
collection = "title_only, keywords, docs"
criteria = "#Form.SearchSOP#"
status = "info"
maxrows = "100">
Then based on what was returned, I offer this:
<cfif info.FOUND LTE 5 AND isDefined("info.SuggestedQuery")>
Did you mean:<cfoutput>
Even when I put in an intentional typo and no results are returned, I don't get any suggestions.
December 20th, 2012, 04:47 PM
January 4th, 2013, 09:43 PM
woman affiliated applause to grab for their Franch men pk Louis vuitton Bags
doudoune Moncler Femme
Armani Parka Homme
Doudoune G-star Homme
Karen Millen Dresses
Cheap North Face Jackets
Moderator Edit: Not only am I a sleazy spammer, I'm so dumb that I don't even know that newcomers to the forum can't post links. So I got banned and didn't even get my linkbait to work! ha ha
Comments on this post
Last edited by kiteless; January 5th, 2013 at 09:24 PM.