4.6 KiB
SearchFusion
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Backends | Pointer to []SearchBackendStatus | Backends is the per-leg report. Always populated. | [optional] |
| Hits | Pointer to []SearchHit | Hits is the fused, ranked result set. | [optional] |
| Mode | Pointer to string | Mode is the mode actually used after `auto` resolution. | [optional] |
| Status | Pointer to string | Status is the query's overall honesty signal: ok every consulted leg answered. partial at least one leg failed; Hits holds the survivors' results. unavailable every consulted leg failed; Hits is empty AND that is stated. | [optional] |
| TookMs | Pointer to int64 | TookMS is the whole query's wall time in milliseconds — every leg it consulted, plus fusion and paging. Each leg's own share is in Backends[].TookMS; the legs run in sequence, so this is at least their sum. | [optional] |
Methods
NewSearchFusion
func NewSearchFusion() *SearchFusion
NewSearchFusion instantiates a new SearchFusion 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
NewSearchFusionWithDefaults
func NewSearchFusionWithDefaults() *SearchFusion
NewSearchFusionWithDefaults instantiates a new SearchFusion 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
GetBackends
func (o *SearchFusion) GetBackends() []SearchBackendStatus
GetBackends returns the Backends field if non-nil, zero value otherwise.
GetBackendsOk
func (o *SearchFusion) GetBackendsOk() (*[]SearchBackendStatus, bool)
GetBackendsOk returns a tuple with the Backends field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBackends
func (o *SearchFusion) SetBackends(v []SearchBackendStatus)
SetBackends sets Backends field to given value.
HasBackends
func (o *SearchFusion) HasBackends() bool
HasBackends returns a boolean if a field has been set.
GetHits
func (o *SearchFusion) GetHits() []SearchHit
GetHits returns the Hits field if non-nil, zero value otherwise.
GetHitsOk
func (o *SearchFusion) GetHitsOk() (*[]SearchHit, 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 *SearchFusion) SetHits(v []SearchHit)
SetHits sets Hits field to given value.
HasHits
func (o *SearchFusion) HasHits() bool
HasHits returns a boolean if a field has been set.
GetMode
func (o *SearchFusion) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
GetModeOk
func (o *SearchFusion) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMode
func (o *SearchFusion) SetMode(v string)
SetMode sets Mode field to given value.
HasMode
func (o *SearchFusion) HasMode() bool
HasMode returns a boolean if a field has been set.
GetStatus
func (o *SearchFusion) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *SearchFusion) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatus
func (o *SearchFusion) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *SearchFusion) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetTookMs
func (o *SearchFusion) GetTookMs() int64
GetTookMs returns the TookMs field if non-nil, zero value otherwise.
GetTookMsOk
func (o *SearchFusion) GetTookMsOk() (*int64, bool)
GetTookMsOk returns a tuple with the TookMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTookMs
func (o *SearchFusion) SetTookMs(v int64)
SetTookMs sets TookMs field to given value.
HasTookMs
func (o *SearchFusion) HasTookMs() bool
HasTookMs returns a boolean if a field has been set.