search

package
v2.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_FieldValue_Type     = FieldValue_TEXT
	Default_FieldValue_Language = string("en")
)

Default values for FieldValue fields.

View Source
const (
	Default_IndexShardSettings_NumShards    = int32(1)
	Default_IndexShardSettings_LocalReplica = string("")
)

Default values for IndexShardSettings fields.

View Source
const (
	Default_Document_Language      = string("en")
	Default_Document_OrderIdSource = Document_SUPPLIED
	Default_Document_Storage       = Document_DISK
)

Default values for Document fields.

View Source
const (
	Default_IndexSpec_Consistency = IndexSpec_PER_DOCUMENT
	Default_IndexSpec_Source      = IndexSpec_SEARCH
	Default_IndexSpec_Mode        = IndexSpec_PRIORITY
)

Default values for IndexSpec fields.

View Source
const (
	Default_ListDocumentsParams_IncludeStartDoc = bool(true)
	Default_ListDocumentsParams_Limit           = int32(100)
)

Default values for ListDocumentsParams fields.

View Source
const (
	Default_ListIndexesParams_Limit             = int32(20)
	Default_ListIndexesParams_IncludeStartIndex = bool(true)
	Default_ListIndexesParams_Source            = IndexSpec_SEARCH
)

Default values for ListIndexesParams fields.

View Source
const (
	Default_ScorerSpec_Scorer = ScorerSpec_MATCH_SCORER
	Default_ScorerSpec_Limit  = int32(1000)
)

Default values for ScorerSpec fields.

View Source
const (
	Default_SearchParams_CursorType             = SearchParams_NONE
	Default_SearchParams_Limit                  = int32(20)
	Default_SearchParams_ParsingMode            = SearchParams_STRICT
	Default_SearchParams_AutoDiscoverFacetCount = int32(0)
	Default_SearchParams_FacetDepth             = int32(1000)
)

Default values for SearchParams fields.

View Source
const (
	Default_DeleteSchemaParams_Source = IndexSpec_SEARCH
)

Default values for DeleteSchemaParams fields.

View Source
const (
	Default_FacetAutoDetectParam_ValueLimit = int32(10)
)

Default values for FacetAutoDetectParam fields.

View Source
const (
	Default_FacetValue_Type = FacetValue_ATOM
)

Default values for FacetValue fields.

View Source
const (
	Default_IndexDocumentParams_Freshness = IndexDocumentParams_SYNCHRONOUSLY
)

Default values for IndexDocumentParams fields.

View Source
const (
	Default_SortSpec_SortDescending = bool(true)
)

Default values for SortSpec fields.

Variables

View Source
var (
	Scope_Type_name = map[int32]string{
		1: "USER_BY_CANONICAL_ID",
		2: "USER_BY_EMAIL",
		3: "GROUP_BY_CANONICAL_ID",
		4: "GROUP_BY_EMAIL",
		5: "GROUP_BY_DOMAIN",
		6: "ALL_USERS",
		7: "ALL_AUTHENTICATED_USERS",
	}
	Scope_Type_value = map[string]int32{
		"USER_BY_CANONICAL_ID":    1,
		"USER_BY_EMAIL":           2,
		"GROUP_BY_CANONICAL_ID":   3,
		"GROUP_BY_EMAIL":          4,
		"GROUP_BY_DOMAIN":         5,
		"ALL_USERS":               6,
		"ALL_AUTHENTICATED_USERS": 7,
	}
)

Enum value maps for Scope_Type.

View Source
var (
	Entry_Permission_name = map[int32]string{
		1: "READ",
		2: "WRITE",
		3: "FULL_CONTROL",
	}
	Entry_Permission_value = map[string]int32{
		"READ":         1,
		"WRITE":        2,
		"FULL_CONTROL": 3,
	}
)

Enum value maps for Entry_Permission.

View Source
var (
	FieldValue_ContentType_name = map[int32]string{
		0: "TEXT",
		1: "HTML",
		2: "ATOM",
		3: "DATE",
		4: "NUMBER",
		5: "GEO",
	}
	FieldValue_ContentType_value = map[string]int32{
		"TEXT":   0,
		"HTML":   1,
		"ATOM":   2,
		"DATE":   3,
		"NUMBER": 4,
		"GEO":    5,
	}
)

Enum value maps for FieldValue_ContentType.

View Source
var (
	FacetValue_ContentType_name = map[int32]string{
		2: "ATOM",
		4: "NUMBER",
	}
	FacetValue_ContentType_value = map[string]int32{
		"ATOM":   2,
		"NUMBER": 4,
	}
)

Enum value maps for FacetValue_ContentType.

View Source
var (
	Document_OrderIdSource_name = map[int32]string{
		0: "DEFAULTED",
		1: "SUPPLIED",
	}
	Document_OrderIdSource_value = map[string]int32{
		"DEFAULTED": 0,
		"SUPPLIED":  1,
	}
)

Enum value maps for Document_OrderIdSource.

View Source
var (
	Document_Storage_name = map[int32]string{
		0: "DISK",
	}
	Document_Storage_value = map[string]int32{
		"DISK": 0,
	}
)

Enum value maps for Document_Storage.

View Source
var (
	SearchServiceError_ErrorCode_name = map[int32]string{
		0: "OK",
		1: "INVALID_REQUEST",
		2: "TRANSIENT_ERROR",
		3: "INTERNAL_ERROR",
		4: "PERMISSION_DENIED",
		5: "TIMEOUT",
		6: "CONCURRENT_TRANSACTION",
	}
	SearchServiceError_ErrorCode_value = map[string]int32{
		"OK":                     0,
		"INVALID_REQUEST":        1,
		"TRANSIENT_ERROR":        2,
		"INTERNAL_ERROR":         3,
		"PERMISSION_DENIED":      4,
		"TIMEOUT":                5,
		"CONCURRENT_TRANSACTION": 6,
	}
)

Enum value maps for SearchServiceError_ErrorCode.

View Source
var (
	IndexSpec_Consistency_name = map[int32]string{
		0: "GLOBAL",
		1: "PER_DOCUMENT",
	}
	IndexSpec_Consistency_value = map[string]int32{
		"GLOBAL":       0,
		"PER_DOCUMENT": 1,
	}
)

Enum value maps for IndexSpec_Consistency.

View Source
var (
	IndexSpec_Source_name = map[int32]string{
		0: "SEARCH",
		1: "DATASTORE",
		2: "CLOUD_STORAGE",
	}
	IndexSpec_Source_value = map[string]int32{
		"SEARCH":        0,
		"DATASTORE":     1,
		"CLOUD_STORAGE": 2,
	}
)

Enum value maps for IndexSpec_Source.

View Source
var (
	IndexSpec_Mode_name = map[int32]string{
		0: "PRIORITY",
		1: "BACKGROUND",
	}
	IndexSpec_Mode_value = map[string]int32{
		"PRIORITY":   0,
		"BACKGROUND": 1,
	}
)

Enum value maps for IndexSpec_Mode.

View Source
var (
	IndexDocumentParams_Freshness_name = map[int32]string{
		0: "SYNCHRONOUSLY",
		1: "WHEN_CONVENIENT",
	}
	IndexDocumentParams_Freshness_value = map[string]int32{
		"SYNCHRONOUSLY":   0,
		"WHEN_CONVENIENT": 1,
	}
)

Enum value maps for IndexDocumentParams_Freshness.

View Source
var (
	ScorerSpec_Scorer_name = map[int32]string{
		0: "RESCORING_MATCH_SCORER",
		2: "MATCH_SCORER",
	}
	ScorerSpec_Scorer_value = map[string]int32{
		"RESCORING_MATCH_SCORER": 0,
		"MATCH_SCORER":           2,
	}
)

Enum value maps for ScorerSpec_Scorer.

View Source
var (
	SearchParams_CursorType_name = map[int32]string{
		0: "NONE",
		1: "SINGLE",
		2: "PER_RESULT",
	}
	SearchParams_CursorType_value = map[string]int32{
		"NONE":       0,
		"SINGLE":     1,
		"PER_RESULT": 2,
	}
)

Enum value maps for SearchParams_CursorType.

View Source
var (
	SearchParams_ParsingMode_name = map[int32]string{
		0: "STRICT",
		1: "RELAXED",
	}
	SearchParams_ParsingMode_value = map[string]int32{
		"STRICT":  0,
		"RELAXED": 1,
	}
)

Enum value maps for SearchParams_ParsingMode.

View Source
var File_search_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessControlList

type AccessControlList struct {
	Owner   *string  `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
	Entries []*Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessControlList) Descriptor deprecated

func (*AccessControlList) Descriptor() ([]byte, []int)

Deprecated: Use AccessControlList.ProtoReflect.Descriptor instead.

func (*AccessControlList) GetEntries

func (x *AccessControlList) GetEntries() []*Entry

func (*AccessControlList) GetOwner

func (x *AccessControlList) GetOwner() string

func (*AccessControlList) ProtoMessage

func (*AccessControlList) ProtoMessage()

func (*AccessControlList) ProtoReflect added in v2.0.4

func (x *AccessControlList) ProtoReflect() protoreflect.Message

func (*AccessControlList) Reset

func (x *AccessControlList) Reset()

func (*AccessControlList) String

func (x *AccessControlList) String() string

type DeleteDocumentParams

type DeleteDocumentParams struct {
	DocId     []string   `protobuf:"bytes,1,rep,name=doc_id,json=docId" json:"doc_id,omitempty"`
	IndexSpec *IndexSpec `protobuf:"bytes,2,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDocumentParams) Descriptor deprecated

func (*DeleteDocumentParams) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDocumentParams.ProtoReflect.Descriptor instead.

func (*DeleteDocumentParams) GetDocId

func (x *DeleteDocumentParams) GetDocId() []string

func (*DeleteDocumentParams) GetIndexSpec

func (x *DeleteDocumentParams) GetIndexSpec() *IndexSpec

func (*DeleteDocumentParams) ProtoMessage

func (*DeleteDocumentParams) ProtoMessage()

func (*DeleteDocumentParams) ProtoReflect added in v2.0.4

func (x *DeleteDocumentParams) ProtoReflect() protoreflect.Message

func (*DeleteDocumentParams) Reset

func (x *DeleteDocumentParams) Reset()

func (*DeleteDocumentParams) String

func (x *DeleteDocumentParams) String() string

type DeleteDocumentRequest

type DeleteDocumentRequest struct {
	Params *DeleteDocumentParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte                `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDocumentRequest) Descriptor deprecated

func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDocumentRequest) GetAppId

func (x *DeleteDocumentRequest) GetAppId() []byte

func (*DeleteDocumentRequest) GetParams

func (*DeleteDocumentRequest) ProtoMessage

func (*DeleteDocumentRequest) ProtoMessage()

func (*DeleteDocumentRequest) ProtoReflect added in v2.0.4

func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message

func (*DeleteDocumentRequest) Reset

func (x *DeleteDocumentRequest) Reset()

func (*DeleteDocumentRequest) String

func (x *DeleteDocumentRequest) String() string

type DeleteDocumentResponse

type DeleteDocumentResponse struct {
	Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDocumentResponse) Descriptor deprecated

func (*DeleteDocumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDocumentResponse.ProtoReflect.Descriptor instead.

func (*DeleteDocumentResponse) GetStatus

func (x *DeleteDocumentResponse) GetStatus() []*RequestStatus

func (*DeleteDocumentResponse) ProtoMessage

func (*DeleteDocumentResponse) ProtoMessage()

func (*DeleteDocumentResponse) ProtoReflect added in v2.0.4

func (x *DeleteDocumentResponse) ProtoReflect() protoreflect.Message

func (*DeleteDocumentResponse) Reset

func (x *DeleteDocumentResponse) Reset()

func (*DeleteDocumentResponse) String

func (x *DeleteDocumentResponse) String() string

type DeleteSchemaParams

type DeleteSchemaParams struct {
	Source    *IndexSpec_Source `protobuf:"varint,1,opt,name=source,enum=search.v2.IndexSpec_Source,def=0" json:"source,omitempty"`
	IndexSpec []*IndexSpec      `protobuf:"bytes,2,rep,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSchemaParams) Descriptor deprecated

func (*DeleteSchemaParams) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSchemaParams.ProtoReflect.Descriptor instead.

func (*DeleteSchemaParams) GetIndexSpec

func (x *DeleteSchemaParams) GetIndexSpec() []*IndexSpec

func (*DeleteSchemaParams) GetSource

func (x *DeleteSchemaParams) GetSource() IndexSpec_Source

func (*DeleteSchemaParams) ProtoMessage

func (*DeleteSchemaParams) ProtoMessage()

func (*DeleteSchemaParams) ProtoReflect added in v2.0.4

func (x *DeleteSchemaParams) ProtoReflect() protoreflect.Message

func (*DeleteSchemaParams) Reset

func (x *DeleteSchemaParams) Reset()

func (*DeleteSchemaParams) String

func (x *DeleteSchemaParams) String() string

type DeleteSchemaRequest

type DeleteSchemaRequest struct {
	Params *DeleteSchemaParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte              `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSchemaRequest) Descriptor deprecated

func (*DeleteSchemaRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSchemaRequest.ProtoReflect.Descriptor instead.

func (*DeleteSchemaRequest) GetAppId

func (x *DeleteSchemaRequest) GetAppId() []byte

func (*DeleteSchemaRequest) GetParams

func (x *DeleteSchemaRequest) GetParams() *DeleteSchemaParams

func (*DeleteSchemaRequest) ProtoMessage

func (*DeleteSchemaRequest) ProtoMessage()

func (*DeleteSchemaRequest) ProtoReflect added in v2.0.4

func (x *DeleteSchemaRequest) ProtoReflect() protoreflect.Message

func (*DeleteSchemaRequest) Reset

func (x *DeleteSchemaRequest) Reset()

func (*DeleteSchemaRequest) String

func (x *DeleteSchemaRequest) String() string

type DeleteSchemaResponse

type DeleteSchemaResponse struct {
	Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSchemaResponse) Descriptor deprecated

func (*DeleteSchemaResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSchemaResponse.ProtoReflect.Descriptor instead.

func (*DeleteSchemaResponse) GetStatus

func (x *DeleteSchemaResponse) GetStatus() []*RequestStatus

func (*DeleteSchemaResponse) ProtoMessage

func (*DeleteSchemaResponse) ProtoMessage()

func (*DeleteSchemaResponse) ProtoReflect added in v2.0.4

func (x *DeleteSchemaResponse) ProtoReflect() protoreflect.Message

func (*DeleteSchemaResponse) Reset

func (x *DeleteSchemaResponse) Reset()

func (*DeleteSchemaResponse) String

func (x *DeleteSchemaResponse) String() string

type Document

type Document struct {
	Id            *string                 `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Language      *string                 `protobuf:"bytes,2,opt,name=language,def=en" json:"language,omitempty"`
	Field         []*Field                `protobuf:"bytes,3,rep,name=field" json:"field,omitempty"`
	OrderId       *int32                  `protobuf:"varint,4,opt,name=order_id,json=orderId" json:"order_id,omitempty"`
	OrderIdSource *Document_OrderIdSource `` /* 140-byte string literal not displayed */
	Storage       *Document_Storage       `protobuf:"varint,5,opt,name=storage,enum=search.v2.Document_Storage,def=0" json:"storage,omitempty"`
	Facet         []*Facet                `protobuf:"bytes,8,rep,name=facet" json:"facet,omitempty"`
	// contains filtered or unexported fields
}

func (*Document) Descriptor deprecated

func (*Document) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetFacet

func (x *Document) GetFacet() []*Facet

func (*Document) GetField

func (x *Document) GetField() []*Field

func (*Document) GetId

func (x *Document) GetId() string

func (*Document) GetLanguage

func (x *Document) GetLanguage() string

func (*Document) GetOrderId

func (x *Document) GetOrderId() int32

func (*Document) GetOrderIdSource

func (x *Document) GetOrderIdSource() Document_OrderIdSource

func (*Document) GetStorage

func (x *Document) GetStorage() Document_Storage

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect added in v2.0.4

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

type DocumentMetadata

type DocumentMetadata struct {
	Version            *int64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	CommittedStVersion *int64 `protobuf:"varint,2,opt,name=committed_st_version,json=committedStVersion" json:"committed_st_version,omitempty"`
	// contains filtered or unexported fields
}

func (*DocumentMetadata) Descriptor deprecated

func (*DocumentMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DocumentMetadata.ProtoReflect.Descriptor instead.

func (*DocumentMetadata) GetCommittedStVersion

func (x *DocumentMetadata) GetCommittedStVersion() int64

func (*DocumentMetadata) GetVersion

func (x *DocumentMetadata) GetVersion() int64

func (*DocumentMetadata) ProtoMessage

func (*DocumentMetadata) ProtoMessage()

func (*DocumentMetadata) ProtoReflect added in v2.0.4

func (x *DocumentMetadata) ProtoReflect() protoreflect.Message

func (*DocumentMetadata) Reset

func (x *DocumentMetadata) Reset()

func (*DocumentMetadata) String

func (x *DocumentMetadata) String() string

type Document_OrderIdSource

type Document_OrderIdSource int32
const (
	Document_DEFAULTED Document_OrderIdSource = 0
	Document_SUPPLIED  Document_OrderIdSource = 1
)

func (Document_OrderIdSource) Descriptor added in v2.0.4

func (Document_OrderIdSource) Enum

func (Document_OrderIdSource) EnumDescriptor deprecated

func (Document_OrderIdSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use Document_OrderIdSource.Descriptor instead.

func (Document_OrderIdSource) Number added in v2.0.4

func (Document_OrderIdSource) String

func (x Document_OrderIdSource) String() string

func (Document_OrderIdSource) Type added in v2.0.4

func (*Document_OrderIdSource) UnmarshalJSON deprecated

func (x *Document_OrderIdSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Document_Storage

type Document_Storage int32
const (
	Document_DISK Document_Storage = 0
)

func (Document_Storage) Descriptor added in v2.0.4

func (Document_Storage) Enum

func (Document_Storage) EnumDescriptor deprecated

func (Document_Storage) EnumDescriptor() ([]byte, []int)

Deprecated: Use Document_Storage.Descriptor instead.

func (Document_Storage) Number added in v2.0.4

func (Document_Storage) String

func (x Document_Storage) String() string

func (Document_Storage) Type added in v2.0.4

func (*Document_Storage) UnmarshalJSON deprecated

func (x *Document_Storage) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Entry

type Entry struct {
	Scope       *Scope            `protobuf:"bytes,1,opt,name=scope" json:"scope,omitempty"`
	Permission  *Entry_Permission `protobuf:"varint,2,opt,name=permission,enum=search.v2.Entry_Permission" json:"permission,omitempty"`
	DisplayName *string           `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

func (*Entry) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetDisplayName

func (x *Entry) GetDisplayName() string

func (*Entry) GetPermission

func (x *Entry) GetPermission() Entry_Permission

func (*Entry) GetScope

func (x *Entry) GetScope() *Scope

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect added in v2.0.4

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type Entry_Permission

type Entry_Permission int32
const (
	Entry_READ         Entry_Permission = 1
	Entry_WRITE        Entry_Permission = 2
	Entry_FULL_CONTROL Entry_Permission = 3
)

func (Entry_Permission) Descriptor added in v2.0.4

func (Entry_Permission) Enum

func (Entry_Permission) EnumDescriptor deprecated

func (Entry_Permission) EnumDescriptor() ([]byte, []int)

Deprecated: Use Entry_Permission.Descriptor instead.

func (Entry_Permission) Number added in v2.0.4

func (Entry_Permission) String

func (x Entry_Permission) String() string

func (Entry_Permission) Type added in v2.0.4

func (*Entry_Permission) UnmarshalJSON deprecated

func (x *Entry_Permission) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Facet

type Facet struct {
	Name  *string     `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value *FacetValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Facet) Descriptor deprecated

func (*Facet) Descriptor() ([]byte, []int)

Deprecated: Use Facet.ProtoReflect.Descriptor instead.

func (*Facet) GetName

func (x *Facet) GetName() string

func (*Facet) GetValue

func (x *Facet) GetValue() *FacetValue

func (*Facet) ProtoMessage

func (*Facet) ProtoMessage()

func (*Facet) ProtoReflect added in v2.0.4

func (x *Facet) ProtoReflect() protoreflect.Message

func (*Facet) Reset

func (x *Facet) Reset()

func (*Facet) String

func (x *Facet) String() string

type FacetAutoDetectParam

type FacetAutoDetectParam struct {
	ValueLimit *int32 `protobuf:"varint,1,opt,name=value_limit,json=valueLimit,def=10" json:"value_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetAutoDetectParam) Descriptor deprecated

func (*FacetAutoDetectParam) Descriptor() ([]byte, []int)

Deprecated: Use FacetAutoDetectParam.ProtoReflect.Descriptor instead.

func (*FacetAutoDetectParam) GetValueLimit

func (x *FacetAutoDetectParam) GetValueLimit() int32

func (*FacetAutoDetectParam) ProtoMessage

func (*FacetAutoDetectParam) ProtoMessage()

func (*FacetAutoDetectParam) ProtoReflect added in v2.0.4

func (x *FacetAutoDetectParam) ProtoReflect() protoreflect.Message

func (*FacetAutoDetectParam) Reset

func (x *FacetAutoDetectParam) Reset()

func (*FacetAutoDetectParam) String

func (x *FacetAutoDetectParam) String() string

type FacetRange

type FacetRange struct {
	Name  *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Start *string `protobuf:"bytes,2,opt,name=start" json:"start,omitempty"`
	End   *string `protobuf:"bytes,3,opt,name=end" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetRange) Descriptor deprecated

func (*FacetRange) Descriptor() ([]byte, []int)

Deprecated: Use FacetRange.ProtoReflect.Descriptor instead.

func (*FacetRange) GetEnd

func (x *FacetRange) GetEnd() string

func (*FacetRange) GetName

func (x *FacetRange) GetName() string

func (*FacetRange) GetStart

func (x *FacetRange) GetStart() string

func (*FacetRange) ProtoMessage

func (*FacetRange) ProtoMessage()

func (*FacetRange) ProtoReflect added in v2.0.4

func (x *FacetRange) ProtoReflect() protoreflect.Message

func (*FacetRange) Reset

func (x *FacetRange) Reset()

func (*FacetRange) String

func (x *FacetRange) String() string

type FacetRefinement

type FacetRefinement struct {
	Name  *string                `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value *string                `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	Range *FacetRefinement_Range `protobuf:"bytes,3,opt,name=range" json:"range,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetRefinement) Descriptor deprecated

func (*FacetRefinement) Descriptor() ([]byte, []int)

Deprecated: Use FacetRefinement.ProtoReflect.Descriptor instead.

func (*FacetRefinement) GetName

func (x *FacetRefinement) GetName() string

func (*FacetRefinement) GetRange

func (x *FacetRefinement) GetRange() *FacetRefinement_Range

func (*FacetRefinement) GetValue

func (x *FacetRefinement) GetValue() string

func (*FacetRefinement) ProtoMessage

func (*FacetRefinement) ProtoMessage()

func (*FacetRefinement) ProtoReflect added in v2.0.4

func (x *FacetRefinement) ProtoReflect() protoreflect.Message

func (*FacetRefinement) Reset

func (x *FacetRefinement) Reset()

func (*FacetRefinement) String

func (x *FacetRefinement) String() string

type FacetRefinement_Range

type FacetRefinement_Range struct {
	Start *string `protobuf:"bytes,1,opt,name=start" json:"start,omitempty"`
	End   *string `protobuf:"bytes,2,opt,name=end" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetRefinement_Range) Descriptor deprecated

func (*FacetRefinement_Range) Descriptor() ([]byte, []int)

Deprecated: Use FacetRefinement_Range.ProtoReflect.Descriptor instead.

func (*FacetRefinement_Range) GetEnd

func (x *FacetRefinement_Range) GetEnd() string

func (*FacetRefinement_Range) GetStart

func (x *FacetRefinement_Range) GetStart() string

func (*FacetRefinement_Range) ProtoMessage

func (*FacetRefinement_Range) ProtoMessage()

func (*FacetRefinement_Range) ProtoReflect added in v2.0.4

func (x *FacetRefinement_Range) ProtoReflect() protoreflect.Message

func (*FacetRefinement_Range) Reset

func (x *FacetRefinement_Range) Reset()

func (*FacetRefinement_Range) String

func (x *FacetRefinement_Range) String() string

type FacetRequest

type FacetRequest struct {
	Name   *string            `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Params *FacetRequestParam `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetRequest) Descriptor deprecated

func (*FacetRequest) Descriptor() ([]byte, []int)

Deprecated: Use FacetRequest.ProtoReflect.Descriptor instead.

func (*FacetRequest) GetName

func (x *FacetRequest) GetName() string

func (*FacetRequest) GetParams

func (x *FacetRequest) GetParams() *FacetRequestParam

func (*FacetRequest) ProtoMessage

func (*FacetRequest) ProtoMessage()

func (*FacetRequest) ProtoReflect added in v2.0.4

func (x *FacetRequest) ProtoReflect() protoreflect.Message

func (*FacetRequest) Reset

func (x *FacetRequest) Reset()

func (*FacetRequest) String

func (x *FacetRequest) String() string

type FacetRequestParam

type FacetRequestParam struct {
	ValueLimit      *int32        `protobuf:"varint,1,opt,name=value_limit,json=valueLimit" json:"value_limit,omitempty"`
	Range           []*FacetRange `protobuf:"bytes,2,rep,name=range" json:"range,omitempty"`
	ValueConstraint []string      `protobuf:"bytes,3,rep,name=value_constraint,json=valueConstraint" json:"value_constraint,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetRequestParam) Descriptor deprecated

func (*FacetRequestParam) Descriptor() ([]byte, []int)

Deprecated: Use FacetRequestParam.ProtoReflect.Descriptor instead.

func (*FacetRequestParam) GetRange

func (x *FacetRequestParam) GetRange() []*FacetRange

func (*FacetRequestParam) GetValueConstraint

func (x *FacetRequestParam) GetValueConstraint() []string

func (*FacetRequestParam) GetValueLimit

func (x *FacetRequestParam) GetValueLimit() int32

func (*FacetRequestParam) ProtoMessage

func (*FacetRequestParam) ProtoMessage()

func (*FacetRequestParam) ProtoReflect added in v2.0.4

func (x *FacetRequestParam) ProtoReflect() protoreflect.Message

func (*FacetRequestParam) Reset

func (x *FacetRequestParam) Reset()

func (*FacetRequestParam) String

func (x *FacetRequestParam) String() string

type FacetResult

type FacetResult struct {
	Name  *string             `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value []*FacetResultValue `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetResult) Descriptor deprecated

func (*FacetResult) Descriptor() ([]byte, []int)

Deprecated: Use FacetResult.ProtoReflect.Descriptor instead.

func (*FacetResult) GetName

func (x *FacetResult) GetName() string

func (*FacetResult) GetValue

func (x *FacetResult) GetValue() []*FacetResultValue

func (*FacetResult) ProtoMessage

func (*FacetResult) ProtoMessage()

func (*FacetResult) ProtoReflect added in v2.0.4

func (x *FacetResult) ProtoReflect() protoreflect.Message

func (*FacetResult) Reset

func (x *FacetResult) Reset()

func (*FacetResult) String

func (x *FacetResult) String() string

type FacetResultValue

type FacetResultValue struct {
	Name       *string          `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Count      *int32           `protobuf:"varint,2,req,name=count" json:"count,omitempty"`
	Refinement *FacetRefinement `protobuf:"bytes,3,req,name=refinement" json:"refinement,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetResultValue) Descriptor deprecated

func (*FacetResultValue) Descriptor() ([]byte, []int)

Deprecated: Use FacetResultValue.ProtoReflect.Descriptor instead.

func (*FacetResultValue) GetCount

func (x *FacetResultValue) GetCount() int32

func (*FacetResultValue) GetName

func (x *FacetResultValue) GetName() string

func (*FacetResultValue) GetRefinement

func (x *FacetResultValue) GetRefinement() *FacetRefinement

func (*FacetResultValue) ProtoMessage

func (*FacetResultValue) ProtoMessage()

func (*FacetResultValue) ProtoReflect added in v2.0.4

func (x *FacetResultValue) ProtoReflect() protoreflect.Message

func (*FacetResultValue) Reset

func (x *FacetResultValue) Reset()

func (*FacetResultValue) String

func (x *FacetResultValue) String() string

type FacetValue

type FacetValue struct {
	Type        *FacetValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.v2.FacetValue_ContentType,def=2" json:"type,omitempty"`
	StringValue *string                 `protobuf:"bytes,3,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetValue) Descriptor deprecated

func (*FacetValue) Descriptor() ([]byte, []int)

Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.

func (*FacetValue) GetStringValue

func (x *FacetValue) GetStringValue() string

func (*FacetValue) GetType

func (x *FacetValue) GetType() FacetValue_ContentType

func (*FacetValue) ProtoMessage

func (*FacetValue) ProtoMessage()

func (*FacetValue) ProtoReflect added in v2.0.4

func (x *FacetValue) ProtoReflect() protoreflect.Message

func (*FacetValue) Reset

func (x *FacetValue) Reset()

func (*FacetValue) String

func (x *FacetValue) String() string

type FacetValue_ContentType

type FacetValue_ContentType int32
const (
	FacetValue_ATOM   FacetValue_ContentType = 2
	FacetValue_NUMBER FacetValue_ContentType = 4
)

func (FacetValue_ContentType) Descriptor added in v2.0.4

func (FacetValue_ContentType) Enum

func (FacetValue_ContentType) EnumDescriptor deprecated

func (FacetValue_ContentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FacetValue_ContentType.Descriptor instead.

func (FacetValue_ContentType) Number added in v2.0.4

func (FacetValue_ContentType) String

func (x FacetValue_ContentType) String() string

func (FacetValue_ContentType) Type added in v2.0.4

func (*FacetValue_ContentType) UnmarshalJSON deprecated

func (x *FacetValue_ContentType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Field

type Field struct {
	Name  *string     `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value *FieldValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

func (*Field) Descriptor() ([]byte, []int)

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetValue

func (x *Field) GetValue() *FieldValue

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect added in v2.0.4

func (x *Field) ProtoReflect() protoreflect.Message

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type FieldSpec

type FieldSpec struct {
	Name       []string                `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"`
	Expression []*FieldSpec_Expression `protobuf:"group,2,rep,name=Expression,json=expression" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldSpec) Descriptor deprecated

func (*FieldSpec) Descriptor() ([]byte, []int)

Deprecated: Use FieldSpec.ProtoReflect.Descriptor instead.

func (*FieldSpec) GetExpression

func (x *FieldSpec) GetExpression() []*FieldSpec_Expression

func (*FieldSpec) GetName

func (x *FieldSpec) GetName() []string

func (*FieldSpec) ProtoMessage

func (*FieldSpec) ProtoMessage()

func (*FieldSpec) ProtoReflect added in v2.0.4

func (x *FieldSpec) ProtoReflect() protoreflect.Message

func (*FieldSpec) Reset

func (x *FieldSpec) Reset()

func (*FieldSpec) String

func (x *FieldSpec) String() string

type FieldSpec_Expression

type FieldSpec_Expression struct {
	Name       *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"`
	Expression *string `protobuf:"bytes,4,req,name=expression" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldSpec_Expression) Descriptor deprecated

func (*FieldSpec_Expression) Descriptor() ([]byte, []int)

Deprecated: Use FieldSpec_Expression.ProtoReflect.Descriptor instead.

func (*FieldSpec_Expression) GetExpression

func (x *FieldSpec_Expression) GetExpression() string

func (*FieldSpec_Expression) GetName

func (x *FieldSpec_Expression) GetName() string

func (*FieldSpec_Expression) ProtoMessage

func (*FieldSpec_Expression) ProtoMessage()

func (*FieldSpec_Expression) ProtoReflect added in v2.0.4

func (x *FieldSpec_Expression) ProtoReflect() protoreflect.Message

func (*FieldSpec_Expression) Reset

func (x *FieldSpec_Expression) Reset()

func (*FieldSpec_Expression) String

func (x *FieldSpec_Expression) String() string

type FieldTypes

type FieldTypes struct {
	Name *string                  `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Type []FieldValue_ContentType `protobuf:"varint,2,rep,name=type,enum=search.v2.FieldValue_ContentType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldTypes) Descriptor deprecated

func (*FieldTypes) Descriptor() ([]byte, []int)

Deprecated: Use FieldTypes.ProtoReflect.Descriptor instead.

func (*FieldTypes) GetName

func (x *FieldTypes) GetName() string

func (*FieldTypes) GetType

func (x *FieldTypes) GetType() []FieldValue_ContentType

func (*FieldTypes) ProtoMessage

func (*FieldTypes) ProtoMessage()

func (*FieldTypes) ProtoReflect added in v2.0.4

func (x *FieldTypes) ProtoReflect() protoreflect.Message

func (*FieldTypes) Reset

func (x *FieldTypes) Reset()

func (*FieldTypes) String

func (x *FieldTypes) String() string

type FieldValue

type FieldValue struct {
	Type        *FieldValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.v2.FieldValue_ContentType,def=0" json:"type,omitempty"`
	Language    *string                 `protobuf:"bytes,2,opt,name=language,def=en" json:"language,omitempty"`
	StringValue *string                 `protobuf:"bytes,3,opt,name=string_value,json=stringValue" json:"string_value,omitempty"`
	Geo         *FieldValue_Geo         `protobuf:"group,4,opt,name=Geo,json=geo" json:"geo,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldValue) Descriptor deprecated

func (*FieldValue) Descriptor() ([]byte, []int)

Deprecated: Use FieldValue.ProtoReflect.Descriptor instead.

func (*FieldValue) GetGeo

func (x *FieldValue) GetGeo() *FieldValue_Geo

func (*FieldValue) GetLanguage

func (x *FieldValue) GetLanguage() string

func (*FieldValue) GetStringValue

func (x *FieldValue) GetStringValue() string

func (*FieldValue) GetType

func (x *FieldValue) GetType() FieldValue_ContentType

func (*FieldValue) ProtoMessage

func (*FieldValue) ProtoMessage()

func (*FieldValue) ProtoReflect added in v2.0.4

func (x *FieldValue) ProtoReflect() protoreflect.Message

func (*FieldValue) Reset

func (x *FieldValue) Reset()

func (*FieldValue) String

func (x *FieldValue) String() string

type FieldValue_ContentType

type FieldValue_ContentType int32
const (
	FieldValue_TEXT   FieldValue_ContentType = 0
	FieldValue_HTML   FieldValue_ContentType = 1
	FieldValue_ATOM   FieldValue_ContentType = 2
	FieldValue_DATE   FieldValue_ContentType = 3
	FieldValue_NUMBER FieldValue_ContentType = 4
	FieldValue_GEO    FieldValue_ContentType = 5
)

func (FieldValue_ContentType) Descriptor added in v2.0.4

func (FieldValue_ContentType) Enum

func (FieldValue_ContentType) EnumDescriptor deprecated

func (FieldValue_ContentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldValue_ContentType.Descriptor instead.

func (FieldValue_ContentType) Number added in v2.0.4

func (FieldValue_ContentType) String

func (x FieldValue_ContentType) String() string

func (FieldValue_ContentType) Type added in v2.0.4

func (*FieldValue_ContentType) UnmarshalJSON deprecated

func (x *FieldValue_ContentType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FieldValue_Geo

type FieldValue_Geo struct {
	Lat *float64 `protobuf:"fixed64,5,req,name=lat" json:"lat,omitempty"`
	Lng *float64 `protobuf:"fixed64,6,req,name=lng" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldValue_Geo) Descriptor deprecated

func (*FieldValue_Geo) Descriptor() ([]byte, []int)

Deprecated: Use FieldValue_Geo.ProtoReflect.Descriptor instead.

func (*FieldValue_Geo) GetLat

func (x *FieldValue_Geo) GetLat() float64

func (*FieldValue_Geo) GetLng

func (x *FieldValue_Geo) GetLng() float64

func (*FieldValue_Geo) ProtoMessage

func (*FieldValue_Geo) ProtoMessage()

func (*FieldValue_Geo) ProtoReflect added in v2.0.4

func (x *FieldValue_Geo) ProtoReflect() protoreflect.Message

func (*FieldValue_Geo) Reset

func (x *FieldValue_Geo) Reset()

func (*FieldValue_Geo) String

func (x *FieldValue_Geo) String() string

type IndexDocumentParams

type IndexDocumentParams struct {
	Document []*Document `protobuf:"bytes,1,rep,name=document" json:"document,omitempty"`
	// Deprecated: Do not use.
	Freshness *IndexDocumentParams_Freshness `protobuf:"varint,2,opt,name=freshness,enum=search.v2.IndexDocumentParams_Freshness,def=0" json:"freshness,omitempty"`
	IndexSpec *IndexSpec                     `protobuf:"bytes,3,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexDocumentParams) Descriptor deprecated

func (*IndexDocumentParams) Descriptor() ([]byte, []int)

Deprecated: Use IndexDocumentParams.ProtoReflect.Descriptor instead.

func (*IndexDocumentParams) GetDocument

func (x *IndexDocumentParams) GetDocument() []*Document

func (*IndexDocumentParams) GetFreshness deprecated

Deprecated: Do not use.

func (*IndexDocumentParams) GetIndexSpec

func (x *IndexDocumentParams) GetIndexSpec() *IndexSpec

func (*IndexDocumentParams) ProtoMessage

func (*IndexDocumentParams) ProtoMessage()

func (*IndexDocumentParams) ProtoReflect added in v2.0.4

func (x *IndexDocumentParams) ProtoReflect() protoreflect.Message

func (*IndexDocumentParams) Reset

func (x *IndexDocumentParams) Reset()

func (*IndexDocumentParams) String

func (x *IndexDocumentParams) String() string

type IndexDocumentParams_Freshness

type IndexDocumentParams_Freshness int32
const (
	IndexDocumentParams_SYNCHRONOUSLY   IndexDocumentParams_Freshness = 0
	IndexDocumentParams_WHEN_CONVENIENT IndexDocumentParams_Freshness = 1
)

func (IndexDocumentParams_Freshness) Descriptor added in v2.0.4

func (IndexDocumentParams_Freshness) Enum

func (IndexDocumentParams_Freshness) EnumDescriptor deprecated

func (IndexDocumentParams_Freshness) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndexDocumentParams_Freshness.Descriptor instead.

func (IndexDocumentParams_Freshness) Number added in v2.0.4

func (IndexDocumentParams_Freshness) String

func (IndexDocumentParams_Freshness) Type added in v2.0.4

func (*IndexDocumentParams_Freshness) UnmarshalJSON deprecated

func (x *IndexDocumentParams_Freshness) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type IndexDocumentRequest

type IndexDocumentRequest struct {
	Params *IndexDocumentParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte               `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexDocumentRequest) Descriptor deprecated

func (*IndexDocumentRequest) Descriptor() ([]byte, []int)

Deprecated: Use IndexDocumentRequest.ProtoReflect.Descriptor instead.

func (*IndexDocumentRequest) GetAppId

func (x *IndexDocumentRequest) GetAppId() []byte

func (*IndexDocumentRequest) GetParams

func (x *IndexDocumentRequest) GetParams() *IndexDocumentParams

func (*IndexDocumentRequest) ProtoMessage

func (*IndexDocumentRequest) ProtoMessage()

func (*IndexDocumentRequest) ProtoReflect added in v2.0.4

func (x *IndexDocumentRequest) ProtoReflect() protoreflect.Message

func (*IndexDocumentRequest) Reset

func (x *IndexDocumentRequest) Reset()

func (*IndexDocumentRequest) String

func (x *IndexDocumentRequest) String() string

type IndexDocumentResponse

type IndexDocumentResponse struct {
	Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
	DocId  []string         `protobuf:"bytes,2,rep,name=doc_id,json=docId" json:"doc_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexDocumentResponse) Descriptor deprecated

func (*IndexDocumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use IndexDocumentResponse.ProtoReflect.Descriptor instead.

func (*IndexDocumentResponse) GetDocId

func (x *IndexDocumentResponse) GetDocId() []string

func (*IndexDocumentResponse) GetStatus

func (x *IndexDocumentResponse) GetStatus() []*RequestStatus

func (*IndexDocumentResponse) ProtoMessage

func (*IndexDocumentResponse) ProtoMessage()

func (*IndexDocumentResponse) ProtoReflect added in v2.0.4

func (x *IndexDocumentResponse) ProtoReflect() protoreflect.Message

func (*IndexDocumentResponse) Reset

func (x *IndexDocumentResponse) Reset()

func (*IndexDocumentResponse) String

func (x *IndexDocumentResponse) String() string

type IndexMetadata

type IndexMetadata struct {
	IndexSpec *IndexSpec             `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	Field     []*FieldTypes          `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"`
	Storage   *IndexMetadata_Storage `protobuf:"bytes,3,opt,name=storage" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexMetadata) Descriptor deprecated

func (*IndexMetadata) Descriptor() ([]byte, []int)

Deprecated: Use IndexMetadata.ProtoReflect.Descriptor instead.

func (*IndexMetadata) GetField

func (x *IndexMetadata) GetField() []*FieldTypes

func (*IndexMetadata) GetIndexSpec

func (x *IndexMetadata) GetIndexSpec() *IndexSpec

func (*IndexMetadata) GetStorage

func (x *IndexMetadata) GetStorage() *IndexMetadata_Storage

func (*IndexMetadata) ProtoMessage

func (*IndexMetadata) ProtoMessage()

func (*IndexMetadata) ProtoReflect added in v2.0.4

func (x *IndexMetadata) ProtoReflect() protoreflect.Message

func (*IndexMetadata) Reset

func (x *IndexMetadata) Reset()

func (*IndexMetadata) String

func (x *IndexMetadata) String() string

type IndexMetadata_Storage

type IndexMetadata_Storage struct {
	AmountUsed *int64 `protobuf:"varint,1,opt,name=amount_used,json=amountUsed" json:"amount_used,omitempty"`
	Limit      *int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexMetadata_Storage) Descriptor deprecated

func (*IndexMetadata_Storage) Descriptor() ([]byte, []int)

Deprecated: Use IndexMetadata_Storage.ProtoReflect.Descriptor instead.

func (*IndexMetadata_Storage) GetAmountUsed

func (x *IndexMetadata_Storage) GetAmountUsed() int64

func (*IndexMetadata_Storage) GetLimit

func (x *IndexMetadata_Storage) GetLimit() int64

func (*IndexMetadata_Storage) ProtoMessage

func (*IndexMetadata_Storage) ProtoMessage()

func (*IndexMetadata_Storage) ProtoReflect added in v2.0.4

func (x *IndexMetadata_Storage) ProtoReflect() protoreflect.Message

func (*IndexMetadata_Storage) Reset

func (x *IndexMetadata_Storage) Reset()

func (*IndexMetadata_Storage) String

func (x *IndexMetadata_Storage) String() string

type IndexShardSettings

type IndexShardSettings struct {
	PrevNumShards            []int32 `protobuf:"varint,1,rep,name=prev_num_shards,json=prevNumShards" json:"prev_num_shards,omitempty"`
	NumShards                *int32  `protobuf:"varint,2,req,name=num_shards,json=numShards,def=1" json:"num_shards,omitempty"`
	PrevNumShardsSearchFalse []int32 `` /* 133-byte string literal not displayed */
	LocalReplica             *string `protobuf:"bytes,4,opt,name=local_replica,json=localReplica,def=" json:"local_replica,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexShardSettings) Descriptor deprecated

func (*IndexShardSettings) Descriptor() ([]byte, []int)

Deprecated: Use IndexShardSettings.ProtoReflect.Descriptor instead.

func (*IndexShardSettings) GetLocalReplica

func (x *IndexShardSettings) GetLocalReplica() string

func (*IndexShardSettings) GetNumShards

func (x *IndexShardSettings) GetNumShards() int32

func (*IndexShardSettings) GetPrevNumShards

func (x *IndexShardSettings) GetPrevNumShards() []int32

func (*IndexShardSettings) GetPrevNumShardsSearchFalse

func (x *IndexShardSettings) GetPrevNumShardsSearchFalse() []int32

func (*IndexShardSettings) ProtoMessage

func (*IndexShardSettings) ProtoMessage()

func (*IndexShardSettings) ProtoReflect added in v2.0.4

func (x *IndexShardSettings) ProtoReflect() protoreflect.Message

func (*IndexShardSettings) Reset

func (x *IndexShardSettings) Reset()

func (*IndexShardSettings) String

func (x *IndexShardSettings) String() string

type IndexSpec

type IndexSpec struct {
	Name        *string                `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Consistency *IndexSpec_Consistency `protobuf:"varint,2,opt,name=consistency,enum=search.v2.IndexSpec_Consistency,def=1" json:"consistency,omitempty"`
	Namespace   *string                `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	Version     *int32                 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	Source      *IndexSpec_Source      `protobuf:"varint,5,opt,name=source,enum=search.v2.IndexSpec_Source,def=0" json:"source,omitempty"`
	Mode        *IndexSpec_Mode        `protobuf:"varint,6,opt,name=mode,enum=search.v2.IndexSpec_Mode,def=0" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexSpec) Descriptor deprecated

func (*IndexSpec) Descriptor() ([]byte, []int)

Deprecated: Use IndexSpec.ProtoReflect.Descriptor instead.

func (*IndexSpec) GetConsistency

func (x *IndexSpec) GetConsistency() IndexSpec_Consistency

func (*IndexSpec) GetMode

func (x *IndexSpec) GetMode() IndexSpec_Mode

func (*IndexSpec) GetName

func (x *IndexSpec) GetName() string

func (*IndexSpec) GetNamespace

func (x *IndexSpec) GetNamespace() string

func (*IndexSpec) GetSource

func (x *IndexSpec) GetSource() IndexSpec_Source

func (*IndexSpec) GetVersion

func (x *IndexSpec) GetVersion() int32

func (*IndexSpec) ProtoMessage

func (*IndexSpec) ProtoMessage()

func (*IndexSpec) ProtoReflect added in v2.0.4

func (x *IndexSpec) ProtoReflect() protoreflect.Message

func (*IndexSpec) Reset

func (x *IndexSpec) Reset()

func (*IndexSpec) String

func (x *IndexSpec) String() string

type IndexSpec_Consistency

type IndexSpec_Consistency int32
const (
	IndexSpec_GLOBAL       IndexSpec_Consistency = 0
	IndexSpec_PER_DOCUMENT IndexSpec_Consistency = 1
)

func (IndexSpec_Consistency) Descriptor added in v2.0.4

func (IndexSpec_Consistency) Enum

func (IndexSpec_Consistency) EnumDescriptor deprecated

func (IndexSpec_Consistency) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndexSpec_Consistency.Descriptor instead.

func (IndexSpec_Consistency) Number added in v2.0.4

func (IndexSpec_Consistency) String

func (x IndexSpec_Consistency) String() string

func (IndexSpec_Consistency) Type added in v2.0.4

func (*IndexSpec_Consistency) UnmarshalJSON deprecated

func (x *IndexSpec_Consistency) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type IndexSpec_Mode

type IndexSpec_Mode int32
const (
	IndexSpec_PRIORITY   IndexSpec_Mode = 0
	IndexSpec_BACKGROUND IndexSpec_Mode = 1
)

func (IndexSpec_Mode) Descriptor added in v2.0.4

func (IndexSpec_Mode) Enum

func (x IndexSpec_Mode) Enum() *IndexSpec_Mode

func (IndexSpec_Mode) EnumDescriptor deprecated

func (IndexSpec_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndexSpec_Mode.Descriptor instead.

func (IndexSpec_Mode) Number added in v2.0.4

func (IndexSpec_Mode) String

func (x IndexSpec_Mode) String() string

func (IndexSpec_Mode) Type added in v2.0.4

func (*IndexSpec_Mode) UnmarshalJSON deprecated

func (x *IndexSpec_Mode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type IndexSpec_Source

type IndexSpec_Source int32
const (
	IndexSpec_SEARCH        IndexSpec_Source = 0
	IndexSpec_DATASTORE     IndexSpec_Source = 1
	IndexSpec_CLOUD_STORAGE IndexSpec_Source = 2
)

func (IndexSpec_Source) Descriptor added in v2.0.4

func (IndexSpec_Source) Enum

func (IndexSpec_Source) EnumDescriptor deprecated

func (IndexSpec_Source) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndexSpec_Source.Descriptor instead.

func (IndexSpec_Source) Number added in v2.0.4

func (IndexSpec_Source) String

func (x IndexSpec_Source) String() string

func (IndexSpec_Source) Type added in v2.0.4

func (*IndexSpec_Source) UnmarshalJSON deprecated

func (x *IndexSpec_Source) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ListDocumentsParams

type ListDocumentsParams struct {
	IndexSpec       *IndexSpec `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	StartDocId      *string    `protobuf:"bytes,2,opt,name=start_doc_id,json=startDocId" json:"start_doc_id,omitempty"`
	IncludeStartDoc *bool      `protobuf:"varint,3,opt,name=include_start_doc,json=includeStartDoc,def=1" json:"include_start_doc,omitempty"`
	Limit           *int32     `protobuf:"varint,4,opt,name=limit,def=100" json:"limit,omitempty"`
	KeysOnly        *bool      `protobuf:"varint,5,opt,name=keys_only,json=keysOnly" json:"keys_only,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsParams) Descriptor deprecated

func (*ListDocumentsParams) Descriptor() ([]byte, []int)

Deprecated: Use ListDocumentsParams.ProtoReflect.Descriptor instead.

func (*ListDocumentsParams) GetIncludeStartDoc

func (x *ListDocumentsParams) GetIncludeStartDoc() bool

func (*ListDocumentsParams) GetIndexSpec

func (x *ListDocumentsParams) GetIndexSpec() *IndexSpec

func (*ListDocumentsParams) GetKeysOnly

func (x *ListDocumentsParams) GetKeysOnly() bool

func (*ListDocumentsParams) GetLimit

func (x *ListDocumentsParams) GetLimit() int32

func (*ListDocumentsParams) GetStartDocId

func (x *ListDocumentsParams) GetStartDocId() string

func (*ListDocumentsParams) ProtoMessage

func (*ListDocumentsParams) ProtoMessage()

func (*ListDocumentsParams) ProtoReflect added in v2.0.4

func (x *ListDocumentsParams) ProtoReflect() protoreflect.Message

func (*ListDocumentsParams) Reset

func (x *ListDocumentsParams) Reset()

func (*ListDocumentsParams) String

func (x *ListDocumentsParams) String() string

type ListDocumentsRequest

type ListDocumentsRequest struct {
	Params *ListDocumentsParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte               `protobuf:"bytes,2,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsRequest) Descriptor deprecated

func (*ListDocumentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.

func (*ListDocumentsRequest) GetAppId

func (x *ListDocumentsRequest) GetAppId() []byte

func (*ListDocumentsRequest) GetParams

func (x *ListDocumentsRequest) GetParams() *ListDocumentsParams

func (*ListDocumentsRequest) ProtoMessage

func (*ListDocumentsRequest) ProtoMessage()

func (*ListDocumentsRequest) ProtoReflect added in v2.0.4

func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message

func (*ListDocumentsRequest) Reset

func (x *ListDocumentsRequest) Reset()

func (*ListDocumentsRequest) String

func (x *ListDocumentsRequest) String() string

type ListDocumentsResponse

type ListDocumentsResponse struct {
	Status   *RequestStatus `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
	Document []*Document    `protobuf:"bytes,2,rep,name=document" json:"document,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDocumentsResponse) Descriptor deprecated

func (*ListDocumentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDocumentsResponse.ProtoReflect.Descriptor instead.

func (*ListDocumentsResponse) GetDocument

func (x *ListDocumentsResponse) GetDocument() []*Document

func (*ListDocumentsResponse) GetStatus

func (x *ListDocumentsResponse) GetStatus() *RequestStatus

func (*ListDocumentsResponse) ProtoMessage

func (*ListDocumentsResponse) ProtoMessage()

func (*ListDocumentsResponse) ProtoReflect added in v2.0.4

func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message

func (*ListDocumentsResponse) Reset

func (x *ListDocumentsResponse) Reset()

func (*ListDocumentsResponse) String

func (x *ListDocumentsResponse) String() string

type ListIndexesParams

type ListIndexesParams struct {
	FetchSchema       *bool             `protobuf:"varint,1,opt,name=fetch_schema,json=fetchSchema" json:"fetch_schema,omitempty"`
	Limit             *int32            `protobuf:"varint,2,opt,name=limit,def=20" json:"limit,omitempty"`
	Namespace         *string           `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	StartIndexName    *string           `protobuf:"bytes,4,opt,name=start_index_name,json=startIndexName" json:"start_index_name,omitempty"`
	IncludeStartIndex *bool             `protobuf:"varint,5,opt,name=include_start_index,json=includeStartIndex,def=1" json:"include_start_index,omitempty"`
	IndexNamePrefix   *string           `protobuf:"bytes,6,opt,name=index_name_prefix,json=indexNamePrefix" json:"index_name_prefix,omitempty"`
	Offset            *int32            `protobuf:"varint,7,opt,name=offset" json:"offset,omitempty"`
	Source            *IndexSpec_Source `protobuf:"varint,8,opt,name=source,enum=search.v2.IndexSpec_Source,def=0" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIndexesParams) Descriptor deprecated

func (*ListIndexesParams) Descriptor() ([]byte, []int)

Deprecated: Use ListIndexesParams.ProtoReflect.Descriptor instead.

func (*ListIndexesParams) GetFetchSchema

func (x *ListIndexesParams) GetFetchSchema() bool

func (*ListIndexesParams) GetIncludeStartIndex

func (x *ListIndexesParams) GetIncludeStartIndex() bool

func (*ListIndexesParams) GetIndexNamePrefix

func (x *ListIndexesParams) GetIndexNamePrefix() string

func (*ListIndexesParams) GetLimit

func (x *ListIndexesParams) GetLimit() int32

func (*ListIndexesParams) GetNamespace

func (x *ListIndexesParams) GetNamespace() string

func (*ListIndexesParams) GetOffset

func (x *ListIndexesParams) GetOffset() int32

func (*ListIndexesParams) GetSource

func (x *ListIndexesParams) GetSource() IndexSpec_Source

func (*ListIndexesParams) GetStartIndexName

func (x *ListIndexesParams) GetStartIndexName() string

func (*ListIndexesParams) ProtoMessage

func (*ListIndexesParams) ProtoMessage()

func (*ListIndexesParams) ProtoReflect added in v2.0.4

func (x *ListIndexesParams) ProtoReflect() protoreflect.Message

func (*ListIndexesParams) Reset

func (x *ListIndexesParams) Reset()

func (*ListIndexesParams) String

func (x *ListIndexesParams) String() string

type ListIndexesRequest

type ListIndexesRequest struct {
	Params *ListIndexesParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte             `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIndexesRequest) Descriptor deprecated

func (*ListIndexesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.

func (*ListIndexesRequest) GetAppId

func (x *ListIndexesRequest) GetAppId() []byte

func (*ListIndexesRequest) GetParams

func (x *ListIndexesRequest) GetParams() *ListIndexesParams

func (*ListIndexesRequest) ProtoMessage

func (*ListIndexesRequest) ProtoMessage()

func (*ListIndexesRequest) ProtoReflect added in v2.0.4

func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message

func (*ListIndexesRequest) Reset

func (x *ListIndexesRequest) Reset()

func (*ListIndexesRequest) String

func (x *ListIndexesRequest) String() string

type ListIndexesResponse

type ListIndexesResponse struct {
	Status        *RequestStatus   `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
	IndexMetadata []*IndexMetadata `protobuf:"bytes,2,rep,name=index_metadata,json=indexMetadata" json:"index_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIndexesResponse) Descriptor deprecated

func (*ListIndexesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.

func (*ListIndexesResponse) GetIndexMetadata

func (x *ListIndexesResponse) GetIndexMetadata() []*IndexMetadata

func (*ListIndexesResponse) GetStatus

func (x *ListIndexesResponse) GetStatus() *RequestStatus

func (*ListIndexesResponse) ProtoMessage

func (*ListIndexesResponse) ProtoMessage()

func (*ListIndexesResponse) ProtoReflect added in v2.0.4

func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message

func (*ListIndexesResponse) Reset

func (x *ListIndexesResponse) Reset()

func (*ListIndexesResponse) String

func (x *ListIndexesResponse) String() string

type RequestStatus

type RequestStatus struct {
	Code          *SearchServiceError_ErrorCode `protobuf:"varint,1,req,name=code,enum=search.v2.SearchServiceError_ErrorCode" json:"code,omitempty"`
	ErrorDetail   *string                       `protobuf:"bytes,2,opt,name=error_detail,json=errorDetail" json:"error_detail,omitempty"`
	CanonicalCode *int32                        `protobuf:"varint,3,opt,name=canonical_code,json=canonicalCode" json:"canonical_code,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestStatus) Descriptor deprecated

func (*RequestStatus) Descriptor() ([]byte, []int)

Deprecated: Use RequestStatus.ProtoReflect.Descriptor instead.

func (*RequestStatus) GetCanonicalCode

func (x *RequestStatus) GetCanonicalCode() int32

func (*RequestStatus) GetCode

func (*RequestStatus) GetErrorDetail

func (x *RequestStatus) GetErrorDetail() string

func (*RequestStatus) ProtoMessage

func (*RequestStatus) ProtoMessage()

func (*RequestStatus) ProtoReflect added in v2.0.4

func (x *RequestStatus) ProtoReflect() protoreflect.Message

func (*RequestStatus) Reset

func (x *RequestStatus) Reset()

func (*RequestStatus) String

func (x *RequestStatus) String() string

type Scope

type Scope struct {
	Type  *Scope_Type `protobuf:"varint,1,opt,name=type,enum=search.v2.Scope_Type" json:"type,omitempty"`
	Value *string     `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Scope) Descriptor deprecated

func (*Scope) Descriptor() ([]byte, []int)

Deprecated: Use Scope.ProtoReflect.Descriptor instead.

func (*Scope) GetType

func (x *Scope) GetType() Scope_Type

func (*Scope) GetValue

func (x *Scope) GetValue() string

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect added in v2.0.4

func (x *Scope) ProtoReflect() protoreflect.Message

func (*Scope) Reset

func (x *Scope) Reset()

func (*Scope) String

func (x *Scope) String() string

type Scope_Type

type Scope_Type int32
const (
	Scope_USER_BY_CANONICAL_ID    Scope_Type = 1
	Scope_USER_BY_EMAIL           Scope_Type = 2
	Scope_GROUP_BY_CANONICAL_ID   Scope_Type = 3
	Scope_GROUP_BY_EMAIL          Scope_Type = 4
	Scope_GROUP_BY_DOMAIN         Scope_Type = 5
	Scope_ALL_USERS               Scope_Type = 6
	Scope_ALL_AUTHENTICATED_USERS Scope_Type = 7
)

func (Scope_Type) Descriptor added in v2.0.4

func (Scope_Type) Descriptor() protoreflect.EnumDescriptor

func (Scope_Type) Enum

func (x Scope_Type) Enum() *Scope_Type

func (Scope_Type) EnumDescriptor deprecated

func (Scope_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Scope_Type.Descriptor instead.

func (Scope_Type) Number added in v2.0.4

func (x Scope_Type) Number() protoreflect.EnumNumber

func (Scope_Type) String

func (x Scope_Type) String() string

func (Scope_Type) Type added in v2.0.4

func (*Scope_Type) UnmarshalJSON deprecated

func (x *Scope_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ScorerSpec

type ScorerSpec struct {
	Scorer                *ScorerSpec_Scorer `protobuf:"varint,1,opt,name=scorer,enum=search.v2.ScorerSpec_Scorer,def=2" json:"scorer,omitempty"`
	Limit                 *int32             `protobuf:"varint,2,opt,name=limit,def=1000" json:"limit,omitempty"`
	MatchScorerParameters *string            `protobuf:"bytes,9,opt,name=match_scorer_parameters,json=matchScorerParameters" json:"match_scorer_parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*ScorerSpec) Descriptor deprecated

func (*ScorerSpec) Descriptor() ([]byte, []int)

Deprecated: Use ScorerSpec.ProtoReflect.Descriptor instead.

func (*ScorerSpec) GetLimit

func (x *ScorerSpec) GetLimit() int32

func (*ScorerSpec) GetMatchScorerParameters

func (x *ScorerSpec) GetMatchScorerParameters() string

func (*ScorerSpec) GetScorer

func (x *ScorerSpec) GetScorer() ScorerSpec_Scorer

func (*ScorerSpec) ProtoMessage

func (*ScorerSpec) ProtoMessage()

func (*ScorerSpec) ProtoReflect added in v2.0.4

func (x *ScorerSpec) ProtoReflect() protoreflect.Message

func (*ScorerSpec) Reset

func (x *ScorerSpec) Reset()

func (*ScorerSpec) String

func (x *ScorerSpec) String() string

type ScorerSpec_Scorer

type ScorerSpec_Scorer int32
const (
	ScorerSpec_RESCORING_MATCH_SCORER ScorerSpec_Scorer = 0
	ScorerSpec_MATCH_SCORER           ScorerSpec_Scorer = 2
)

func (ScorerSpec_Scorer) Descriptor added in v2.0.4

func (ScorerSpec_Scorer) Enum

func (ScorerSpec_Scorer) EnumDescriptor deprecated

func (ScorerSpec_Scorer) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScorerSpec_Scorer.Descriptor instead.

func (ScorerSpec_Scorer) Number added in v2.0.4

func (ScorerSpec_Scorer) String

func (x ScorerSpec_Scorer) String() string

func (ScorerSpec_Scorer) Type added in v2.0.4

func (*ScorerSpec_Scorer) UnmarshalJSON deprecated

func (x *ScorerSpec_Scorer) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SearchParams

type SearchParams struct {
	IndexSpec              *IndexSpec                `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"`
	Query                  *string                   `protobuf:"bytes,2,req,name=query" json:"query,omitempty"`
	Cursor                 *string                   `protobuf:"bytes,4,opt,name=cursor" json:"cursor,omitempty"`
	Offset                 *int32                    `protobuf:"varint,11,opt,name=offset" json:"offset,omitempty"`
	CursorType             *SearchParams_CursorType  `` /* 130-byte string literal not displayed */
	Limit                  *int32                    `protobuf:"varint,6,opt,name=limit,def=20" json:"limit,omitempty"`
	MatchedCountAccuracy   *int32                    `protobuf:"varint,7,opt,name=matched_count_accuracy,json=matchedCountAccuracy" json:"matched_count_accuracy,omitempty"`
	SortSpec               []*SortSpec               `protobuf:"bytes,8,rep,name=sort_spec,json=sortSpec" json:"sort_spec,omitempty"`
	ScorerSpec             *ScorerSpec               `protobuf:"bytes,9,opt,name=scorer_spec,json=scorerSpec" json:"scorer_spec,omitempty"`
	FieldSpec              *FieldSpec                `protobuf:"bytes,10,opt,name=field_spec,json=fieldSpec" json:"field_spec,omitempty"`
	KeysOnly               *bool                     `protobuf:"varint,12,opt,name=keys_only,json=keysOnly" json:"keys_only,omitempty"`
	ParsingMode            *SearchParams_ParsingMode `` /* 135-byte string literal not displayed */
	AutoDiscoverFacetCount *int32                    `` /* 132-byte string literal not displayed */
	IncludeFacet           []*FacetRequest           `protobuf:"bytes,16,rep,name=include_facet,json=includeFacet" json:"include_facet,omitempty"`
	FacetRefinement        []*FacetRefinement        `protobuf:"bytes,17,rep,name=facet_refinement,json=facetRefinement" json:"facet_refinement,omitempty"`
	FacetAutoDetectParam   *FacetAutoDetectParam     `protobuf:"bytes,18,opt,name=facet_auto_detect_param,json=facetAutoDetectParam" json:"facet_auto_detect_param,omitempty"`
	FacetDepth             *int32                    `protobuf:"varint,19,opt,name=facet_depth,json=facetDepth,def=1000" json:"facet_depth,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchParams) Descriptor deprecated

func (*SearchParams) Descriptor() ([]byte, []int)

Deprecated: Use SearchParams.ProtoReflect.Descriptor instead.

func (*SearchParams) GetAutoDiscoverFacetCount

func (x *SearchParams) GetAutoDiscoverFacetCount() int32

func (*SearchParams) GetCursor

func (x *SearchParams) GetCursor() string

func (*SearchParams) GetCursorType

func (x *SearchParams) GetCursorType() SearchParams_CursorType

func (*SearchParams) GetFacetAutoDetectParam

func (x *SearchParams) GetFacetAutoDetectParam() *FacetAutoDetectParam

func (*SearchParams) GetFacetDepth

func (x *SearchParams) GetFacetDepth() int32

func (*SearchParams) GetFacetRefinement

func (x *SearchParams) GetFacetRefinement() []*FacetRefinement

func (*SearchParams) GetFieldSpec

func (x *SearchParams) GetFieldSpec() *FieldSpec

func (*SearchParams) GetIncludeFacet

func (x *SearchParams) GetIncludeFacet() []*FacetRequest

func (*SearchParams) GetIndexSpec

func (x *SearchParams) GetIndexSpec() *IndexSpec

func (*SearchParams) GetKeysOnly

func (x *SearchParams) GetKeysOnly() bool

func (*SearchParams) GetLimit

func (x *SearchParams) GetLimit() int32

func (*SearchParams) GetMatchedCountAccuracy

func (x *SearchParams) GetMatchedCountAccuracy() int32

func (*SearchParams) GetOffset

func (x *SearchParams) GetOffset() int32

func (*SearchParams) GetParsingMode

func (x *SearchParams) GetParsingMode() SearchParams_ParsingMode

func (*SearchParams) GetQuery

func (x *SearchParams) GetQuery() string

func (*SearchParams) GetScorerSpec

func (x *SearchParams) GetScorerSpec() *ScorerSpec

func (*SearchParams) GetSortSpec

func (x *SearchParams) GetSortSpec() []*SortSpec

func (*SearchParams) ProtoMessage

func (*SearchParams) ProtoMessage()

func (*SearchParams) ProtoReflect added in v2.0.4

func (x *SearchParams) ProtoReflect() protoreflect.Message

func (*SearchParams) Reset

func (x *SearchParams) Reset()

func (*SearchParams) String

func (x *SearchParams) String() string

type SearchParams_CursorType

type SearchParams_CursorType int32
const (
	SearchParams_NONE       SearchParams_CursorType = 0
	SearchParams_SINGLE     SearchParams_CursorType = 1
	SearchParams_PER_RESULT SearchParams_CursorType = 2
)

func (SearchParams_CursorType) Descriptor added in v2.0.4

func (SearchParams_CursorType) Enum

func (SearchParams_CursorType) EnumDescriptor deprecated

func (SearchParams_CursorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchParams_CursorType.Descriptor instead.

func (SearchParams_CursorType) Number added in v2.0.4

func (SearchParams_CursorType) String

func (x SearchParams_CursorType) String() string

func (SearchParams_CursorType) Type added in v2.0.4

func (*SearchParams_CursorType) UnmarshalJSON deprecated

func (x *SearchParams_CursorType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SearchParams_ParsingMode

type SearchParams_ParsingMode int32
const (
	SearchParams_STRICT  SearchParams_ParsingMode = 0
	SearchParams_RELAXED SearchParams_ParsingMode = 1
)

func (SearchParams_ParsingMode) Descriptor added in v2.0.4

func (SearchParams_ParsingMode) Enum

func (SearchParams_ParsingMode) EnumDescriptor deprecated

func (SearchParams_ParsingMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchParams_ParsingMode.Descriptor instead.

func (SearchParams_ParsingMode) Number added in v2.0.4

func (SearchParams_ParsingMode) String

func (x SearchParams_ParsingMode) String() string

func (SearchParams_ParsingMode) Type added in v2.0.4

func (*SearchParams_ParsingMode) UnmarshalJSON deprecated

func (x *SearchParams_ParsingMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SearchRequest

type SearchRequest struct {
	Params *SearchParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"`
	AppId  []byte        `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetAppId

func (x *SearchRequest) GetAppId() []byte

func (*SearchRequest) GetParams

func (x *SearchRequest) GetParams() *SearchParams

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v2.0.4

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Result       []*SearchResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"`
	MatchedCount *int64          `protobuf:"varint,2,req,name=matched_count,json=matchedCount" json:"matched_count,omitempty"`
	Status       *RequestStatus  `protobuf:"bytes,3,req,name=status" json:"status,omitempty"`
	Cursor       *string         `protobuf:"bytes,4,opt,name=cursor" json:"cursor,omitempty"`
	FacetResult  []*FacetResult  `protobuf:"bytes,5,rep,name=facet_result,json=facetResult" json:"facet_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) ExtensionRangeArray deprecated

func (*SearchResponse) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use SearchResponse.ProtoReflect.Descriptor.ExtensionRanges instead.

func (*SearchResponse) GetCursor

func (x *SearchResponse) GetCursor() string

func (*SearchResponse) GetFacetResult

func (x *SearchResponse) GetFacetResult() []*FacetResult

func (*SearchResponse) GetMatchedCount

func (x *SearchResponse) GetMatchedCount() int64

func (*SearchResponse) GetResult

func (x *SearchResponse) GetResult() []*SearchResult

func (*SearchResponse) GetStatus

func (x *SearchResponse) GetStatus() *RequestStatus

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect added in v2.0.4

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SearchResult

type SearchResult struct {
	Document   *Document `protobuf:"bytes,1,req,name=document" json:"document,omitempty"`
	Expression []*Field  `protobuf:"bytes,4,rep,name=expression" json:"expression,omitempty"`
	Score      []float64 `protobuf:"fixed64,2,rep,name=score" json:"score,omitempty"`
	Cursor     *string   `protobuf:"bytes,3,opt,name=cursor" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResult) Descriptor deprecated

func (*SearchResult) Descriptor() ([]byte, []int)

Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.

func (*SearchResult) GetCursor

func (x *SearchResult) GetCursor() string

func (*SearchResult) GetDocument

func (x *SearchResult) GetDocument() *Document

func (*SearchResult) GetExpression

func (x *SearchResult) GetExpression() []*Field

func (*SearchResult) GetScore

func (x *SearchResult) GetScore() []float64

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) ProtoReflect added in v2.0.4

func (x *SearchResult) ProtoReflect() protoreflect.Message

func (*SearchResult) Reset

func (x *SearchResult) Reset()

func (*SearchResult) String

func (x *SearchResult) String() string

type SearchServiceError

type SearchServiceError struct {
	// contains filtered or unexported fields
}

func (*SearchServiceError) Descriptor deprecated

func (*SearchServiceError) Descriptor() ([]byte, []int)

Deprecated: Use SearchServiceError.ProtoReflect.Descriptor instead.

func (*SearchServiceError) ProtoMessage

func (*SearchServiceError) ProtoMessage()

func (*SearchServiceError) ProtoReflect added in v2.0.4

func (x *SearchServiceError) ProtoReflect() protoreflect.Message

func (*SearchServiceError) Reset

func (x *SearchServiceError) Reset()

func (*SearchServiceError) String

func (x *SearchServiceError) String() string

type SearchServiceError_ErrorCode

type SearchServiceError_ErrorCode int32
const (
	SearchServiceError_OK                     SearchServiceError_ErrorCode = 0
	SearchServiceError_INVALID_REQUEST        SearchServiceError_ErrorCode = 1
	SearchServiceError_TRANSIENT_ERROR        SearchServiceError_ErrorCode = 2
	SearchServiceError_INTERNAL_ERROR         SearchServiceError_ErrorCode = 3
	SearchServiceError_PERMISSION_DENIED      SearchServiceError_ErrorCode = 4
	SearchServiceError_TIMEOUT                SearchServiceError_ErrorCode = 5
	SearchServiceError_CONCURRENT_TRANSACTION SearchServiceError_ErrorCode = 6
)

func (SearchServiceError_ErrorCode) Descriptor added in v2.0.4

func (SearchServiceError_ErrorCode) Enum

func (SearchServiceError_ErrorCode) EnumDescriptor deprecated

func (SearchServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchServiceError_ErrorCode.Descriptor instead.

func (SearchServiceError_ErrorCode) Number added in v2.0.4

func (SearchServiceError_ErrorCode) String

func (SearchServiceError_ErrorCode) Type added in v2.0.4

func (*SearchServiceError_ErrorCode) UnmarshalJSON deprecated

func (x *SearchServiceError_ErrorCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SortSpec

type SortSpec struct {
	SortExpression      *string  `protobuf:"bytes,1,req,name=sort_expression,json=sortExpression" json:"sort_expression,omitempty"`
	SortDescending      *bool    `protobuf:"varint,2,opt,name=sort_descending,json=sortDescending,def=1" json:"sort_descending,omitempty"`
	DefaultValueText    *string  `protobuf:"bytes,4,opt,name=default_value_text,json=defaultValueText" json:"default_value_text,omitempty"`
	DefaultValueNumeric *float64 `protobuf:"fixed64,5,opt,name=default_value_numeric,json=defaultValueNumeric" json:"default_value_numeric,omitempty"`
	// contains filtered or unexported fields
}

func (*SortSpec) Descriptor deprecated

func (*SortSpec) Descriptor() ([]byte, []int)

Deprecated: Use SortSpec.ProtoReflect.Descriptor instead.

func (*SortSpec) GetDefaultValueNumeric

func (x *SortSpec) GetDefaultValueNumeric() float64

func (*SortSpec) GetDefaultValueText

func (x *SortSpec) GetDefaultValueText() string

func (*SortSpec) GetSortDescending

func (x *SortSpec) GetSortDescending() bool

func (*SortSpec) GetSortExpression

func (x *SortSpec) GetSortExpression() string

func (*SortSpec) ProtoMessage

func (*SortSpec) ProtoMessage()

func (*SortSpec) ProtoReflect added in v2.0.4

func (x *SortSpec) ProtoReflect() protoreflect.Message

func (*SortSpec) Reset

func (x *SortSpec) Reset()

func (*SortSpec) String

func (x *SortSpec) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL