A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Hi all,
I'm developing a search, and I can't figure out how to acheive a couple of things when using the GetResult method.
My code looks like so:
var query = SearchClient.Instance
.UnifiedSearchFor(this.Query)
.Skip((this.PagingPage - 1) * CurrentPage.PageSize)
.Take(CurrentPage.PageSize);
var hitSpec = new HitSpecification
{
HighlightTitle = CurrentPage.HighlightTitles,
HighlightExcerpt = CurrentPage.HighlightExcerpts,
ExcerptLength = CurrentPage.ExcerptLength
};
var results = query.GetResult(hitSpec, true);
The issues I have are:
Any help would be greatly appreciated.
Regards,
Al