Hui v0.10.1 Hui.Query.HighlighterOriginal View Source

Struct related to results highlighting - Original highlighter

Link to this section Summary

Types

t()

Struct for original highlighter, use in conjunction with the highlighting struct -Hui.Query.Highlight.t/0

Link to this section Types

Link to this type t() View Source
t() :: %Hui.Query.HighlighterOriginal{
  alternateField: binary(),
  formatter: :simple,
  fragmenter: :gap | :regex,
  highlightAlternate: boolean(),
  maxAlternateFieldLength: number(),
  maxMultiValuedToExamine: number(),
  maxMultiValuedToMatch: number(),
  mergeContiguous: boolean(),
  payloads: boolean(),
  per_field: boolean(),
  per_field_method: :fastVector,
  preserveMulti: boolean(),
  "regex.maxAnalyzedChars": number(),
  "regex.pattern": binary(),
  "regex.slop": number(),
  "simple.post": binary(),
  "simple.pre": binary()
}

Struct for original highlighter, use in conjunction with the highlighting struct -Hui.Query.Highlight.t/0.

Link to this section Functions

Link to this function new(field, len \\ nil, highlight \\ nil) View Source
new(binary(), integer(), boolean()) :: t()