Hello, I have installed the package and slowly building it up.
I am so close to getting it to work but I cannot get the Summary to display the content I require yet I can see it in the search in the backend.
var searchTerm = new Search(Request["query"])
.EnableHighlighting()
.SetPageLength(10)
.AddSummaryProperty("pageContent")
.SetSummaryLength(400);
Is the code I am using and what I would expect to see is....
Twice a year we send a newsletter to all of our contributing and pensioner members of the Scheme.The newsletters cover various general topics such as health, finance and lifestyle as well as an update by a state benefits consultant who gives very useful information on changes to benefits such as the State Pension.We also use the newsletters to keep you informed about changes to the Local Government Pension Scheme. Outlook This is sent to our contributing members AtEase This is sent to members in receipt of their pension
However what the page is displaying
The newsletters cover various general topics such as health, finance and lifestyle as well as an update by a state benefits consultant who gives very useful information on changes to benefits such as the State Pension.We also use the newsletters to keep you informed about changes to the Local Government Pension Scheme.
The code I am using to render the summary is
@result.Summary
I am confused and struggling to move on from here.
Full Text Search Package
Hello, I have installed the package and slowly building it up.
I am so close to getting it to work but I cannot get the Summary to display the content I require yet I can see it in the search in the backend.
Is the code I am using and what I would expect to see is....
However what the page is displaying
The code I am using to render the summary is
I am confused and struggling to move on from here.
Any advice would be appreciated.
Thanks
is working on a reply...