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

Struct for spell checking query.

Link to this section Summary

Types

t()

Struct for spell checking

Link to this section Types

@type t() :: %Hui.Query.SpellCheck{
  accuracy: number(),
  alternativeTermCount: number(),
  build: boolean(),
  collate: boolean(),
  collateExtendedResults: boolean(),
  collateMaxCollectDocs: number(),
  "collateParam.mm": binary(),
  "collateParam.q.op": binary(),
  count: number(),
  dictionary: binary(),
  extendedResults: boolean(),
  maxCollationEvaluations: number(),
  maxCollationTries: number(),
  maxCollations: number(),
  maxResultsForSuggest: number(),
  onlyMorePopular: boolean(),
  q: binary(),
  queryAnalyzerFieldtype: binary(),
  reload: boolean(),
  shards: binary(),
  "shards.qt": binary(),
  spellcheck: boolean()
}

Struct for spell checking

Link to this section Functions

@spec new() :: t()
@spec new(binary(), boolean()) :: t()