View Source Hui.Query.Suggest (Hui v0.11.0)

Struct for suggester query.

Link to this section Summary

Types

t()

Struct for suggester

Link to this section Types

@type 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

@spec new() :: t()
Link to this function

new(q, count \\ nil, dictionaries \\ nil, context \\ nil)

View Source
@spec new(binary(), number(), binary() | [binary()], binary()) :: t()