Hui v0.10.1 Hui.Query.Highlight View Source

Struct related to the common parameters of results highlighting.

See :

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Hui.Query.Highlight{
  encoder: binary(),
  field: binary(),
  fl: binary(),
  fragsize: number(),
  highlightMultiTerm: boolean(),
  hl: boolean(),
  maxAnalyzedChars: number(),
  method: :unified | :original | :fastVector,
  per_field: boolean(),
  q: binary(),
  qparser: binary(),
  requireFieldMatch: boolean(),
  snippets: number(),
  "tag.post": binary(),
  "tag.pre": binary(),
  usePhraseHighlighter: boolean()
}

Struct for results highlighting

Link to this section Functions

Link to this function new(fl, snippets \\ nil, fragsize \\ nil) View Source
new(binary(), number(), number()) :: t()