Skip to content

Latest commit

 

History

History
83 lines (42 loc) · 1.95 KB

Highlight.md

File metadata and controls

83 lines (42 loc) · 1.95 KB

Manticoresearch.Highlight

Properties

Name Type Description Notes
fieldnames [String] [optional]
fields [HighlightField] [optional]
encoder String [optional]
highlightQuery {String: Object} [optional]
preTags String [optional] [default to '<strong>']
postTags String [optional] [default to '</strong>']
noMatchSize Number [optional]
fragmentSize Number [optional] [default to 256]
numberOfFragments Number [optional] [default to 0]
limit Number [optional] [default to 256]
limitWords Number [optional] [default to 0]
limitSnippets Number [optional] [default to 0]
limitsPerField Boolean [optional] [default to false]
useBoundaries Boolean [optional] [default to false]
forceAllWords Boolean [optional] [default to false]
allowEmpty Boolean [optional] [default to false]
emitZones Boolean [optional] [default to false]
forceSnippets Boolean [optional] [default to false]
around Number [optional] [default to 5]
startSnippetId Number [optional] [default to 1]
htmlStripMode String [optional]
snippetBoundary String [optional]

[Using in search requests]

Enum: EncoderEnum

  • default (value: "default")

  • html (value: "html")

Enum: NoMatchSizeEnum

  • 0 (value: 0)

  • 1 (value: 1)

Enum: HtmlStripModeEnum

  • none (value: "none")

  • strip (value: "strip")

  • index (value: "index")

  • retain (value: "retain")

Enum: SnippetBoundaryEnum

  • sentence (value: "sentence")

  • paragraph (value: "paragraph")

  • zone (value: "zone")