
December 20th, 2012, 09:49 AM
|
|
Registered User
|
|
Join Date: Dec 2012
Posts: 6
Time spent in forums: 33 m 38 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by kiteless 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. |
Thanks, I tried, but nothing displays in Solr, but this code worked in Verity..
Here is the search:
<cfsearch
name = "search_all"
collection = "title_only, keywords, docs"
criteria = "#Form.SearchSOP#"
status = "info"
suggestions="5"
maxrows = "100">
Then based on what was returned, I offer this:
<cfif info.FOUND LTE 5 AND isDefined("info.SuggestedQuery")>
<br />
Did you mean:<cfoutput>
<a href="search.cfm?Form.SearchSOP=#info.SuggestedQuery#&Form.searchtype=2">#info.SuggestedQuery#</a></cfoutput>
<br />
</cfif>
Even when I put in an intentional typo and no results are returned, I don't get any suggestions.
|