GoodMem
ReferenceClient SDKsGoConfiguration

HnswOptions Configuration

HnswOptions Configuration documentation for Go SDK

Properties

NameTypeDescriptionNotes
EfSearchPointer to NullableInt32HNSW candidate list size (1..1000).[optional]
IterativeScanPointer to NullableHnswIterativeScan[optional]
MaxScanTuplesPointer to NullableInt32Maximum tuples to scan during iterative filtering (1..2147483647).[optional]
ScanMemMultiplierPointer to NullableFloat64Multiplier on work_mem for iterative scanning (1.0..1000.0).[optional]

Methods

NewHnswOptions

func NewHnswOptions() *HnswOptions

NewHnswOptions instantiates a new HnswOptions 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

NewHnswOptionsWithDefaults

func NewHnswOptionsWithDefaults() *HnswOptions

NewHnswOptionsWithDefaults instantiates a new HnswOptions 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

GetEfSearch

func (o *HnswOptions) GetEfSearch() int32

GetEfSearch returns the EfSearch field if non-nil, zero value otherwise.

GetEfSearchOk

func (o *HnswOptions) GetEfSearchOk() (*int32, bool)

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

SetEfSearch

func (o *HnswOptions) SetEfSearch(v int32)

SetEfSearch sets EfSearch field to given value.

HasEfSearch

func (o *HnswOptions) HasEfSearch() bool

HasEfSearch returns a boolean if a field has been set.

SetEfSearchNil

func (o *HnswOptions) SetEfSearchNil(b bool)

SetEfSearchNil sets the value for EfSearch to be an explicit nil

UnsetEfSearch

func (o *HnswOptions) UnsetEfSearch()

UnsetEfSearch ensures that no value is present for EfSearch, not even an explicit nil

GetIterativeScan

func (o *HnswOptions) GetIterativeScan() HnswIterativeScan

GetIterativeScan returns the IterativeScan field if non-nil, zero value otherwise.

GetIterativeScanOk

func (o *HnswOptions) GetIterativeScanOk() (*HnswIterativeScan, bool)

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

SetIterativeScan

func (o *HnswOptions) SetIterativeScan(v HnswIterativeScan)

SetIterativeScan sets IterativeScan field to given value.

HasIterativeScan

func (o *HnswOptions) HasIterativeScan() bool

HasIterativeScan returns a boolean if a field has been set.

SetIterativeScanNil

func (o *HnswOptions) SetIterativeScanNil(b bool)

SetIterativeScanNil sets the value for IterativeScan to be an explicit nil

UnsetIterativeScan

func (o *HnswOptions) UnsetIterativeScan()

UnsetIterativeScan ensures that no value is present for IterativeScan, not even an explicit nil

GetMaxScanTuples

func (o *HnswOptions) GetMaxScanTuples() int32

GetMaxScanTuples returns the MaxScanTuples field if non-nil, zero value otherwise.

GetMaxScanTuplesOk

func (o *HnswOptions) GetMaxScanTuplesOk() (*int32, bool)

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

SetMaxScanTuples

func (o *HnswOptions) SetMaxScanTuples(v int32)

SetMaxScanTuples sets MaxScanTuples field to given value.

HasMaxScanTuples

func (o *HnswOptions) HasMaxScanTuples() bool

HasMaxScanTuples returns a boolean if a field has been set.

SetMaxScanTuplesNil

func (o *HnswOptions) SetMaxScanTuplesNil(b bool)

SetMaxScanTuplesNil sets the value for MaxScanTuples to be an explicit nil

UnsetMaxScanTuples

func (o *HnswOptions) UnsetMaxScanTuples()

UnsetMaxScanTuples ensures that no value is present for MaxScanTuples, not even an explicit nil

GetScanMemMultiplier

func (o *HnswOptions) GetScanMemMultiplier() float64

GetScanMemMultiplier returns the ScanMemMultiplier field if non-nil, zero value otherwise.

GetScanMemMultiplierOk

func (o *HnswOptions) GetScanMemMultiplierOk() (*float64, bool)

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

SetScanMemMultiplier

func (o *HnswOptions) SetScanMemMultiplier(v float64)

SetScanMemMultiplier sets ScanMemMultiplier field to given value.

HasScanMemMultiplier

func (o *HnswOptions) HasScanMemMultiplier() bool

HasScanMemMultiplier returns a boolean if a field has been set.

SetScanMemMultiplierNil

func (o *HnswOptions) SetScanMemMultiplierNil(b bool)

SetScanMemMultiplierNil sets the value for ScanMemMultiplier to be an explicit nil

UnsetScanMemMultiplier

func (o *HnswOptions) UnsetScanMemMultiplier()

UnsetScanMemMultiplier ensures that no value is present for ScanMemMultiplier, not even an explicit nil