SaaS CMS has officially launched! Learn more now.

Auto Boosting in Find concepts????

Vote:
 

Hi Guys,

       Can anyone expalin about Auto Boosting topic in find,because i understood thearitically, but when i try to implementing programatically i didn't get any referance URL and code. So please can any one help me out of this???

Thanks,

Ramkee.G

#178980
May 29, 2017 10:41
Vote:
 

Hi,

Please see https://world.episerver.com/documentation/developer-guides/find/NET-Client-API/searching/auto-boosting/ and here is a code example:

searchResult = client.Search<BlogPost>()
    .For("Banana")
    .Track() // You need this to track statistics
    .UsingAutoBoost(TimeSpan.FromDays(14))
    .GetResult();

For this to work you also need to enable search statistics tracking to your search.

#179144
Jun 01, 2017 9:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.