SearchQuery

February 12, 2026 ยท View on GitHub

Properties

NameTypeDescriptionNotes
QueryStringPointer to stringFilter object defining a query string[optional]
MatchPointer to map[string]interface{}Filter object defining a match keyword passed as a string or in a Match object[optional]
MatchPhrasePointer to map[string]interface{}Filter object defining a match phrase[optional]
MatchAllPointer to map[string]interface{}Filter object to select all documents[optional]
BoolPointer to BoolFilter[optional]
EqualsPointer to interface{}[optional]
InPointer to map[string]interface{}Filter to match a given set of attribute values.[optional]
RangePointer to map[string]interface{}Filter to match a given range of attribute values passed in Range objects[optional]
GeoDistancePointer to GeoDistance[optional]
HighlightPointer to Highlight[optional]

Methods

NewSearchQuery

func NewSearchQuery() *SearchQuery

NewSearchQuery instantiates a new SearchQuery 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

NewSearchQueryWithDefaults

func NewSearchQueryWithDefaults() *SearchQuery

NewSearchQueryWithDefaults instantiates a new SearchQuery 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

GetQueryString

func (o *SearchQuery) GetQueryString() string

GetQueryString returns the QueryString field if non-nil, zero value otherwise.

GetQueryStringOk

func (o *SearchQuery) GetQueryStringOk() (*string, bool)

GetQueryStringOk returns a tuple with the QueryString field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQueryString

func (o *SearchQuery) SetQueryString(v string)

SetQueryString sets QueryString field to given value.

HasQueryString

func (o *SearchQuery) HasQueryString() bool

HasQueryString returns a boolean if a field has been set.

GetMatch

func (o *SearchQuery) GetMatch() map[string]interface{}

GetMatch returns the Match field if non-nil, zero value otherwise.

GetMatchOk

func (o *SearchQuery) GetMatchOk() (*map[string]interface{}, bool)

GetMatchOk returns a tuple with the Match field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMatch

func (o *SearchQuery) SetMatch(v map[string]interface{})

SetMatch sets Match field to given value.

HasMatch

func (o *SearchQuery) HasMatch() bool

HasMatch returns a boolean if a field has been set.

GetMatchPhrase

func (o *SearchQuery) GetMatchPhrase() map[string]interface{}

GetMatchPhrase returns the MatchPhrase field if non-nil, zero value otherwise.

GetMatchPhraseOk

func (o *SearchQuery) GetMatchPhraseOk() (*map[string]interface{}, bool)

GetMatchPhraseOk returns a tuple with the MatchPhrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMatchPhrase

func (o *SearchQuery) SetMatchPhrase(v map[string]interface{})

SetMatchPhrase sets MatchPhrase field to given value.

HasMatchPhrase

func (o *SearchQuery) HasMatchPhrase() bool

HasMatchPhrase returns a boolean if a field has been set.

GetMatchAll

func (o *SearchQuery) GetMatchAll() map[string]interface{}

GetMatchAll returns the MatchAll field if non-nil, zero value otherwise.

GetMatchAllOk

func (o *SearchQuery) GetMatchAllOk() (*map[string]interface{}, bool)

GetMatchAllOk returns a tuple with the MatchAll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMatchAll

func (o *SearchQuery) SetMatchAll(v map[string]interface{})

SetMatchAll sets MatchAll field to given value.

HasMatchAll

func (o *SearchQuery) HasMatchAll() bool

HasMatchAll returns a boolean if a field has been set.

GetBool

func (o *SearchQuery) GetBool() BoolFilter

GetBool returns the Bool field if non-nil, zero value otherwise.

GetBoolOk

func (o *SearchQuery) GetBoolOk() (*BoolFilter, bool)

GetBoolOk returns a tuple with the Bool field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBool

func (o *SearchQuery) SetBool(v BoolFilter)

SetBool sets Bool field to given value.

HasBool

func (o *SearchQuery) HasBool() bool

HasBool returns a boolean if a field has been set.

GetEquals

func (o *SearchQuery) GetEquals() interface{}

GetEquals returns the Equals field if non-nil, zero value otherwise.

GetEqualsOk

func (o *SearchQuery) GetEqualsOk() (*interface{}, bool)

GetEqualsOk returns a tuple with the Equals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEquals

func (o *SearchQuery) SetEquals(v interface{})

SetEquals sets Equals field to given value.

HasEquals

func (o *SearchQuery) HasEquals() bool

HasEquals returns a boolean if a field has been set.

SetEqualsNil

func (o *SearchQuery) SetEqualsNil(b bool)

SetEqualsNil sets the value for Equals to be an explicit nil

UnsetEquals

func (o *SearchQuery) UnsetEquals()

UnsetEquals ensures that no value is present for Equals, not even an explicit nil

GetIn

func (o *SearchQuery) GetIn() map[string]interface{}

GetIn returns the In field if non-nil, zero value otherwise.

GetInOk

func (o *SearchQuery) GetInOk() (*map[string]interface{}, bool)

GetInOk returns a tuple with the In field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIn

func (o *SearchQuery) SetIn(v map[string]interface{})

SetIn sets In field to given value.

HasIn

func (o *SearchQuery) HasIn() bool

HasIn returns a boolean if a field has been set.

GetRange

func (o *SearchQuery) GetRange() map[string]interface{}

GetRange returns the Range field if non-nil, zero value otherwise.

GetRangeOk

func (o *SearchQuery) GetRangeOk() (*map[string]interface{}, bool)

GetRangeOk returns a tuple with the Range field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRange

func (o *SearchQuery) SetRange(v map[string]interface{})

SetRange sets Range field to given value.

HasRange

func (o *SearchQuery) HasRange() bool

HasRange returns a boolean if a field has been set.

GetGeoDistance

func (o *SearchQuery) GetGeoDistance() GeoDistance

GetGeoDistance returns the GeoDistance field if non-nil, zero value otherwise.

GetGeoDistanceOk

func (o *SearchQuery) GetGeoDistanceOk() (*GeoDistance, bool)

GetGeoDistanceOk returns a tuple with the GeoDistance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGeoDistance

func (o *SearchQuery) SetGeoDistance(v GeoDistance)

SetGeoDistance sets GeoDistance field to given value.

HasGeoDistance

func (o *SearchQuery) HasGeoDistance() bool

HasGeoDistance returns a boolean if a field has been set.

GetHighlight

func (o *SearchQuery) GetHighlight() Highlight

GetHighlight returns the Highlight field if non-nil, zero value otherwise.

GetHighlightOk

func (o *SearchQuery) GetHighlightOk() (*Highlight, bool)

GetHighlightOk returns a tuple with the Highlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHighlight

func (o *SearchQuery) SetHighlight(v Highlight)

SetHighlight sets Highlight field to given value.

HasHighlight

func (o *SearchQuery) HasHighlight() bool

HasHighlight returns a boolean if a field has been set.

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