Files
sdk/docs/IndexIndexHits.md

5.3 KiB

IndexIndexHits

Properties

Name Type Description Notes
EstimatedTotalHits Pointer to int64 EstimatedTotalHits is the dialect's name for the match count. Every hit is materialised here, so for this page it is exact rather than estimated. [optional]
Hits Pointer to []interface{} Hits are the matching documents, most relevant first, exactly as stored. [optional]
Limit Pointer to int64 Limit is how many hits this page could hold. [optional]
Offset Pointer to int64 Offset is where this page starts. [optional]
ProcessingTimeMs Pointer to int64 ProcessingTimeMs is how long the query took, in milliseconds. [optional]
Query Pointer to string Query echoes the search terms, which is what a client renders above the results. [optional]

Methods

NewIndexIndexHits

func NewIndexIndexHits() *IndexIndexHits

NewIndexIndexHits instantiates a new IndexIndexHits 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

NewIndexIndexHitsWithDefaults

func NewIndexIndexHitsWithDefaults() *IndexIndexHits

NewIndexIndexHitsWithDefaults instantiates a new IndexIndexHits 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

GetEstimatedTotalHits

func (o *IndexIndexHits) GetEstimatedTotalHits() int64

GetEstimatedTotalHits returns the EstimatedTotalHits field if non-nil, zero value otherwise.

GetEstimatedTotalHitsOk

func (o *IndexIndexHits) GetEstimatedTotalHitsOk() (*int64, bool)

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

SetEstimatedTotalHits

func (o *IndexIndexHits) SetEstimatedTotalHits(v int64)

SetEstimatedTotalHits sets EstimatedTotalHits field to given value.

HasEstimatedTotalHits

func (o *IndexIndexHits) HasEstimatedTotalHits() bool

HasEstimatedTotalHits returns a boolean if a field has been set.

GetHits

func (o *IndexIndexHits) GetHits() []interface{}

GetHits returns the Hits field if non-nil, zero value otherwise.

GetHitsOk

func (o *IndexIndexHits) GetHitsOk() (*[]interface{}, bool)

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

SetHits

func (o *IndexIndexHits) SetHits(v []interface{})

SetHits sets Hits field to given value.

HasHits

func (o *IndexIndexHits) HasHits() bool

HasHits returns a boolean if a field has been set.

GetLimit

func (o *IndexIndexHits) GetLimit() int64

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *IndexIndexHits) GetLimitOk() (*int64, 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.

SetLimit

func (o *IndexIndexHits) SetLimit(v int64)

SetLimit sets Limit field to given value.

HasLimit

func (o *IndexIndexHits) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetOffset

func (o *IndexIndexHits) GetOffset() int64

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

func (o *IndexIndexHits) GetOffsetOk() (*int64, bool)

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

SetOffset

func (o *IndexIndexHits) SetOffset(v int64)

SetOffset sets Offset field to given value.

HasOffset

func (o *IndexIndexHits) HasOffset() bool

HasOffset returns a boolean if a field has been set.

GetProcessingTimeMs

func (o *IndexIndexHits) GetProcessingTimeMs() int64

GetProcessingTimeMs returns the ProcessingTimeMs field if non-nil, zero value otherwise.

GetProcessingTimeMsOk

func (o *IndexIndexHits) GetProcessingTimeMsOk() (*int64, bool)

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

SetProcessingTimeMs

func (o *IndexIndexHits) SetProcessingTimeMs(v int64)

SetProcessingTimeMs sets ProcessingTimeMs field to given value.

HasProcessingTimeMs

func (o *IndexIndexHits) HasProcessingTimeMs() bool

HasProcessingTimeMs returns a boolean if a field has been set.

GetQuery

func (o *IndexIndexHits) GetQuery() string

GetQuery returns the Query field if non-nil, zero value otherwise.

GetQueryOk

func (o *IndexIndexHits) GetQueryOk() (*string, bool)

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

SetQuery

func (o *IndexIndexHits) SetQuery(v string)

SetQuery sets Query field to given value.

HasQuery

func (o *IndexIndexHits) HasQuery() bool

HasQuery returns a boolean if a field has been set.

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