Hui v0.10.1 Hui.Query.Suggest View Source

Struct for suggester query.

Link to this section Summary

Types

t()

Struct for suggester

Link to this section Types

Link to this type t() View Source
t() :: %Hui.Query.Suggest{
  build: boolean(),
  buildAll: boolean(),
  cfq: binary(),
  count: number(),
  dictionary: binary() | [binary()],
  q: binary(),
  reload: boolean(),
  reloadAll: boolean(),
  suggest: boolean()
}

Struct for suggester

Link to this section Functions

Link to this function new(q, count \\ nil, dictionaries \\ nil, context \\ nil) View Source
new(binary(), number(), binary() | [binary()], binary()) :: t()