Suggestion functionality has been merged into RQL. To reflect this change, the Client API has integrated this feature into the session.Query and session.Advanced.DocumentQuery. The following migration samples will focus on the session.Query, the most common and recommended way of interaction with querying capabilities on RavenDB.
SuggestionQueryResult suggestions = session
Field = "FullName",
Term = "johne",
Accuracy = 0.4f,
MaxSuggestions = 5,
Distance = StringDistanceTypes.JaroWinkler,
Popularity = true,