Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.37 KB

HighlightFieldOption.md

File metadata and controls

32 lines (23 loc) · 1.37 KB

HighlightFieldOption

Options for controlling the behavior of highlighting on a per-field basis

Properties

Name Type Description Notes
fragment_size int Maximum size of the text fragments in highlighted snippets per field [optional]
limit int Maximum size of snippets per field [optional]
limit_snippets int Maximum number of snippets per field [optional]
limit_words int Maximum number of words per field [optional]
number_of_fragments int Total number of highlighted fragments per field [optional]

Example

from manticoresearch.models.highlight_field_option import HighlightFieldOption

# create an instance of HighlightFieldOption from a JSON string
highlight_field_option_instance = HighlightFieldOption.from_json(json)
# print the JSON string representation of the object
print(HighlightFieldOption.to_json())

# convert the object into a dict
highlight_field_option_dict = highlight_field_option_instance.to_dict()
# create an instance of HighlightFieldOption from a dict
highlight_field_option_from_dict = HighlightFieldOption.from_dict(highlight_field_option_dict)

[Back to Model list] [Back to API list] [Back to README]