Hi all,
I'm not able to see the content 'part' in the list result when searching my site.
I've activated the smart search on my site and i'm using the smart search box web part and the smart search dialog with results web part.
The Lucene engine is indexing my content correctly.
I have document types that do not contain any fields. So the
Content will not appear.
Transformation code:
<div style="margin-top: 5px; width: 590px;">
<%# SearchHighlight(HTMLHelper.HTMLEncode(TextHelper.LimitLength(HttpUtility.HtmlDecode(HTMLHelper.StripTags(CMS.ExtendedControls.ControlsHelper.RemoveDynamicControls(GetSearchedContent(DataHelper.GetNotEmpty(Eval("Content"), ""))), false, " ")), 280, "...")),"<span style=\"background-color: #FEFF8F\">","</span>") %><br />
</div>
I have a lot of widgets in some templates that are being searched by Lucene, but I do not have the "Content" part. How to I get the DocumentContent or something like that to be able to show a resume of the content indexed. All my widgets are RTE (Rich Text Editor).
Can anyone tell me each columns or other should I look into to show a resume of the searched text.
Thank you.