SearchController.Autocomplete Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

Autocomplete(String, Nullable)

Returns autocomplete suggestions for the supplied query.

public IEnumerable Autocomplete(string q, int? top = default(int? ))

Parameters

q
System.String
top
System.Nullable{System.Int32}

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.IndexDocument}

A with the results from the search.