I would like to gather search statistics through tracking code in EPiServer Find. For this I have enabled statistics by clicking add stats link under index details. In my search page I have included the EPiServer.Find.Staistics namespace. Now when I type "SearchClient.Instance.Search<IContent>().For("banana").", I dont get the Track() method on the intellisense (http://find.episerver.com/Documentation/stats-tracking). Kindly let me know if I'm missing something because of which the "Tracking()" function is not available. Thanks.
You're missing a using statement.
The docs should be updated to include that.
Even after adding the using statement (EPiServer.Find.Framework.Statistics), I'm not getting the "Track()" method.
Hmm, could you check that you are using the latest version of the .NET API? Preferably post what version you are using here?
By .NET API are you referring to the EPiServer Find API? I'm using the 220.127.116.11 version of EPiServer Find.
Ah, the Track method was probably added later. The latest version for .NET 3.5 and EPiServer 6 is 18.104.22.1688. Download it here or update via NuGet if that's how you installed it previously.
The "Track()" function is available in 22.214.171.1248. Thanks.