I have browsed the ADF component catalog in SearchComponent (adf-search) and I could not find any parameter to enable Highlighting.
My requirement is that the search result should show highlight snippets truncated up to 350 characters along with the name of the document same as it is in Alfresco Share. If we search in the Share the result shows the name, title, description and highlight snippet the search result should be identical to it in ADF.
Is it possible to include the highlight search query with the existing SearchComponent?
Hi I guess what are you looking for is the search control component documentation:
Here the highlight properties is listed
I want to display highlight text snippet in the search result. As given on this highlight | Alfresco Documentation It returns highlight text snippet on the search query.
Hello Rohit, the highlight, spellcheck and auto-suggestion apis are not yet supported by Search Results components and underlying Search Query Builder. I suggest creating a feature request so that it gets prioritised and scheduled.
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.