As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<searchComponent name="suggest" class="org.alfresco.solr.component.AsyncBuildSuggestComponent"> <lst name="suggester"> <str name="name">shingleBasedSuggestions</str> <str name="enabled">${solr.suggester.enabled:false}</str> <!– <str name="lookupImpl">org.apache.solr.spelling.suggest.jaspell.JaspellLookupFactory</str> –> <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.WFSTLookupFactory</str> <str name="field">suggest</str> <str name="suggestAnalyzerFieldType">text_shingle</str> <str name="buildOnCommit">false</str> </lst> </searchComponent> <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy"> <lst name="defaults"> <str name="suggest">false</str> <str name="suggest.count">10</str> <str name="suggest.dictionary">shingleBasedSuggestions</str> </lst> <arr name="components"> <str>suggest</str> </arr> </requestHandler>
<#escape x as jsonUtils.encodeJSONString(x)> { "totalRecords": 0, "startIndex": 0, "hasMoreRecords": "false", "items": [ ] } </#escape>
Useful information and also I have a doubt that in live search if I type "ad" admin comes as a suggestion but when I tap enter then in search result page, no user is shown where else its all files and documents related result.
Also I tried solrcore.properties to false but still the suggestion are coming. Any idea?
Thanks.
I have found these files at /Applications/alfresco-5.0.d/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-remote-api-5.0.d/alfresco/templates/webscripts/org/alfresco/slingshot and any changes I make to them are not reflecting on the application.
Could let me know how to remove the people finder from the live search? and How to override them so changes reflect on application?
Thanks
You should not change those files directly. Instead, use the shared/classes/alfresco/extension path to override them, i.e. via the path shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/
I am not able to find the AlfSearchList module or faceted-search.get.js. If you have a blog or document on these files, please share it with me.
I will try the comment for override by you.
Check this -
https://community.alfresco.com/community/ecm/blog/2015/04/01/adding-views-to-filtered-search