Query HIGHLIGHT expression
Name | Type | Description | Notes |
---|---|---|---|
Fieldnames | Pointer to []string | [optional] | |
Fields | Pointer to []HighlightField | [optional] | |
Encoder | Pointer to string | [optional] | |
HighlightQuery | Pointer to map[string]interface{} | [optional] | |
PreTags | Pointer to string | [optional] [default to ""] | |
PostTags | Pointer to string | [optional] [default to ""] | |
NoMatchSize | Pointer to int32 | [optional] | |
FragmentSize | Pointer to int32 | [optional] [default to 256] | |
NumberOfFragments | Pointer to int32 | [optional] [default to 0] | |
Limit | Pointer to int32 | [optional] [default to 256] | |
LimitWords | Pointer to int32 | [optional] [default to 0] | |
LimitSnippets | Pointer to int32 | [optional] [default to 0] | |
LimitsPerField | Pointer to bool | [optional] [default to false] | |
UseBoundaries | Pointer to bool | [optional] [default to false] | |
ForceAllWords | Pointer to bool | [optional] [default to false] | |
AllowEmpty | Pointer to bool | [optional] [default to false] | |
EmitZones | Pointer to bool | [optional] [default to false] | |
ForceSnippets | Pointer to bool | [optional] [default to false] | |
Around | Pointer to int32 | [optional] [default to 5] | |
StartSnippetId | Pointer to int32 | [optional] [default to 1] | |
HtmlStripMode | Pointer to string | [optional] | |
SnippetBoundary | Pointer to string | [optional] |
func NewHighlight() *Highlight
NewHighlight instantiates a new Highlight object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHighlightWithDefaults() *Highlight
NewHighlightWithDefaults instantiates a new Highlight object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Highlight) GetFieldnames() []string
GetFieldnames returns the Fieldnames field if non-nil, zero value otherwise.
func (o *Highlight) GetFieldnamesOk() (*[]string, bool)
GetFieldnamesOk returns a tuple with the Fieldnames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetFieldnames(v []string)
SetFieldnames sets Fieldnames field to given value.
func (o *Highlight) HasFieldnames() bool
HasFieldnames returns a boolean if a field has been set.
func (o *Highlight) GetFields() []HighlightField
GetFields returns the Fields field if non-nil, zero value otherwise.
func (o *Highlight) GetFieldsOk() (*[]HighlightField, bool)
GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetFields(v []HighlightField)
SetFields sets Fields field to given value.
func (o *Highlight) HasFields() bool
HasFields returns a boolean if a field has been set.
func (o *Highlight) GetEncoder() string
GetEncoder returns the Encoder field if non-nil, zero value otherwise.
func (o *Highlight) GetEncoderOk() (*string, bool)
GetEncoderOk returns a tuple with the Encoder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetEncoder(v string)
SetEncoder sets Encoder field to given value.
func (o *Highlight) HasEncoder() bool
HasEncoder returns a boolean if a field has been set.
func (o *Highlight) GetHighlightQuery() map[string]interface{}
GetHighlightQuery returns the HighlightQuery field if non-nil, zero value otherwise.
func (o *Highlight) GetHighlightQueryOk() (*map[string]interface{}, bool)
GetHighlightQueryOk returns a tuple with the HighlightQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetHighlightQuery(v map[string]interface{})
SetHighlightQuery sets HighlightQuery field to given value.
func (o *Highlight) HasHighlightQuery() bool
HasHighlightQuery returns a boolean if a field has been set.
func (o *Highlight) SetHighlightQueryNil(b bool)
SetHighlightQueryNil sets the value for HighlightQuery to be an explicit nil
func (o *Highlight) UnsetHighlightQuery()
UnsetHighlightQuery ensures that no value is present for HighlightQuery, not even an explicit nil
func (o *Highlight) GetPreTags() string
GetPreTags returns the PreTags field if non-nil, zero value otherwise.
func (o *Highlight) GetPreTagsOk() (*string, bool)
GetPreTagsOk returns a tuple with the PreTags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetPreTags(v string)
SetPreTags sets PreTags field to given value.
func (o *Highlight) HasPreTags() bool
HasPreTags returns a boolean if a field has been set.
func (o *Highlight) GetPostTags() string
GetPostTags returns the PostTags field if non-nil, zero value otherwise.
func (o *Highlight) GetPostTagsOk() (*string, bool)
GetPostTagsOk returns a tuple with the PostTags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetPostTags(v string)
SetPostTags sets PostTags field to given value.
func (o *Highlight) HasPostTags() bool
HasPostTags returns a boolean if a field has been set.
func (o *Highlight) GetNoMatchSize() int32
GetNoMatchSize returns the NoMatchSize field if non-nil, zero value otherwise.
func (o *Highlight) GetNoMatchSizeOk() (*int32, bool)
GetNoMatchSizeOk returns a tuple with the NoMatchSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetNoMatchSize(v int32)
SetNoMatchSize sets NoMatchSize field to given value.
func (o *Highlight) HasNoMatchSize() bool
HasNoMatchSize returns a boolean if a field has been set.
func (o *Highlight) GetFragmentSize() int32
GetFragmentSize returns the FragmentSize field if non-nil, zero value otherwise.
func (o *Highlight) GetFragmentSizeOk() (*int32, bool)
GetFragmentSizeOk returns a tuple with the FragmentSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetFragmentSize(v int32)
SetFragmentSize sets FragmentSize field to given value.
func (o *Highlight) HasFragmentSize() bool
HasFragmentSize returns a boolean if a field has been set.
func (o *Highlight) GetNumberOfFragments() int32
GetNumberOfFragments returns the NumberOfFragments field if non-nil, zero value otherwise.
func (o *Highlight) GetNumberOfFragmentsOk() (*int32, bool)
GetNumberOfFragmentsOk returns a tuple with the NumberOfFragments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetNumberOfFragments(v int32)
SetNumberOfFragments sets NumberOfFragments field to given value.
func (o *Highlight) HasNumberOfFragments() bool
HasNumberOfFragments returns a boolean if a field has been set.
func (o *Highlight) GetLimit() int32
GetLimit returns the Limit field if non-nil, zero value otherwise.
func (o *Highlight) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetLimit(v int32)
SetLimit sets Limit field to given value.
func (o *Highlight) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (o *Highlight) GetLimitWords() int32
GetLimitWords returns the LimitWords field if non-nil, zero value otherwise.
func (o *Highlight) GetLimitWordsOk() (*int32, bool)
GetLimitWordsOk returns a tuple with the LimitWords field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetLimitWords(v int32)
SetLimitWords sets LimitWords field to given value.
func (o *Highlight) HasLimitWords() bool
HasLimitWords returns a boolean if a field has been set.
func (o *Highlight) GetLimitSnippets() int32
GetLimitSnippets returns the LimitSnippets field if non-nil, zero value otherwise.
func (o *Highlight) GetLimitSnippetsOk() (*int32, bool)
GetLimitSnippetsOk returns a tuple with the LimitSnippets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetLimitSnippets(v int32)
SetLimitSnippets sets LimitSnippets field to given value.
func (o *Highlight) HasLimitSnippets() bool
HasLimitSnippets returns a boolean if a field has been set.
func (o *Highlight) GetLimitsPerField() bool
GetLimitsPerField returns the LimitsPerField field if non-nil, zero value otherwise.
func (o *Highlight) GetLimitsPerFieldOk() (*bool, bool)
GetLimitsPerFieldOk returns a tuple with the LimitsPerField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetLimitsPerField(v bool)
SetLimitsPerField sets LimitsPerField field to given value.
func (o *Highlight) HasLimitsPerField() bool
HasLimitsPerField returns a boolean if a field has been set.
func (o *Highlight) GetUseBoundaries() bool
GetUseBoundaries returns the UseBoundaries field if non-nil, zero value otherwise.
func (o *Highlight) GetUseBoundariesOk() (*bool, bool)
GetUseBoundariesOk returns a tuple with the UseBoundaries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetUseBoundaries(v bool)
SetUseBoundaries sets UseBoundaries field to given value.
func (o *Highlight) HasUseBoundaries() bool
HasUseBoundaries returns a boolean if a field has been set.
func (o *Highlight) GetForceAllWords() bool
GetForceAllWords returns the ForceAllWords field if non-nil, zero value otherwise.
func (o *Highlight) GetForceAllWordsOk() (*bool, bool)
GetForceAllWordsOk returns a tuple with the ForceAllWords field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetForceAllWords(v bool)
SetForceAllWords sets ForceAllWords field to given value.
func (o *Highlight) HasForceAllWords() bool
HasForceAllWords returns a boolean if a field has been set.
func (o *Highlight) GetAllowEmpty() bool
GetAllowEmpty returns the AllowEmpty field if non-nil, zero value otherwise.
func (o *Highlight) GetAllowEmptyOk() (*bool, bool)
GetAllowEmptyOk returns a tuple with the AllowEmpty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetAllowEmpty(v bool)
SetAllowEmpty sets AllowEmpty field to given value.
func (o *Highlight) HasAllowEmpty() bool
HasAllowEmpty returns a boolean if a field has been set.
func (o *Highlight) GetEmitZones() bool
GetEmitZones returns the EmitZones field if non-nil, zero value otherwise.
func (o *Highlight) GetEmitZonesOk() (*bool, bool)
GetEmitZonesOk returns a tuple with the EmitZones field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetEmitZones(v bool)
SetEmitZones sets EmitZones field to given value.
func (o *Highlight) HasEmitZones() bool
HasEmitZones returns a boolean if a field has been set.
func (o *Highlight) GetForceSnippets() bool
GetForceSnippets returns the ForceSnippets field if non-nil, zero value otherwise.
func (o *Highlight) GetForceSnippetsOk() (*bool, bool)
GetForceSnippetsOk returns a tuple with the ForceSnippets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetForceSnippets(v bool)
SetForceSnippets sets ForceSnippets field to given value.
func (o *Highlight) HasForceSnippets() bool
HasForceSnippets returns a boolean if a field has been set.
func (o *Highlight) GetAround() int32
GetAround returns the Around field if non-nil, zero value otherwise.
func (o *Highlight) GetAroundOk() (*int32, bool)
GetAroundOk returns a tuple with the Around field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetAround(v int32)
SetAround sets Around field to given value.
func (o *Highlight) HasAround() bool
HasAround returns a boolean if a field has been set.
func (o *Highlight) GetStartSnippetId() int32
GetStartSnippetId returns the StartSnippetId field if non-nil, zero value otherwise.
func (o *Highlight) GetStartSnippetIdOk() (*int32, bool)
GetStartSnippetIdOk returns a tuple with the StartSnippetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetStartSnippetId(v int32)
SetStartSnippetId sets StartSnippetId field to given value.
func (o *Highlight) HasStartSnippetId() bool
HasStartSnippetId returns a boolean if a field has been set.
func (o *Highlight) GetHtmlStripMode() string
GetHtmlStripMode returns the HtmlStripMode field if non-nil, zero value otherwise.
func (o *Highlight) GetHtmlStripModeOk() (*string, bool)
GetHtmlStripModeOk returns a tuple with the HtmlStripMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetHtmlStripMode(v string)
SetHtmlStripMode sets HtmlStripMode field to given value.
func (o *Highlight) HasHtmlStripMode() bool
HasHtmlStripMode returns a boolean if a field has been set.
func (o *Highlight) GetSnippetBoundary() string
GetSnippetBoundary returns the SnippetBoundary field if non-nil, zero value otherwise.
func (o *Highlight) GetSnippetBoundaryOk() (*string, bool)
GetSnippetBoundaryOk returns a tuple with the SnippetBoundary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Highlight) SetSnippetBoundary(v string)
SetSnippetBoundary sets SnippetBoundary field to given value.
func (o *Highlight) HasSnippetBoundary() bool
HasSnippetBoundary returns a boolean if a field has been set.