Hui.Query.DisMax (Hui v0.10.4) View Source

Struct related to DisMax query.

Correspond to the query parsers known as the Maximum Disjunction - DisMax and eDismax (extended version).

See below for more details:

Link to this section Summary

Types

t()

Struct for DisMax/eDismax query.

Link to this section Types

Specs

t() :: %Hui.Query.DisMax{
  bf: binary(),
  boost: binary(),
  bq: binary(),
  lowercaseOperators: binary(),
  mm: binary(),
  "mm.autoRelax": boolean(),
  pf: binary(),
  pf2: binary(),
  pf3: binary(),
  ps: integer(),
  ps2: integer(),
  ps3: integer(),
  q: binary(),
  "q.alt": binary(),
  qf: binary(),
  qs: integer(),
  sow: boolean(),
  stopwords: boolean(),
  tie: float(),
  uf: binary()
}

Struct for DisMax/eDismax query.

Link to this section Functions

Specs

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

new(q, qf \\ nil, mm \\ nil)

View Source

Specs

new(binary(), binary(), binary()) :: t()