search

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2015 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package search is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/search/search.proto

It has these top-level messages:

Scope
Entry
AccessControlList
FieldValue
Field
FieldTypes
FacetValue
Facet
Document
SearchServiceError
RequestStatus
IndexSpec
IndexMetadata
IndexDocumentParams
IndexDocumentRequest
IndexDocumentResponse
DeleteDocumentParams
DeleteDocumentRequest
DeleteDocumentResponse
ListDocumentsParams
ListDocumentsRequest
ListDocumentsResponse
ListIndexesParams
ListIndexesRequest
ListIndexesResponse
DeleteSchemaParams
DeleteSchemaRequest
DeleteSchemaResponse
SortSpec
ScorerSpec
FieldSpec
FacetRange
FacetRequestParam
FacetAutoDetectParam
FacetRequest
FacetRefine
SearchParams
SearchRequest
FacetResultValue
FacetResult
SearchResult
SearchResponse

Index

Constants

View Source
const Default_Document_Language string = "en"
View Source
const Default_FacetAutoDetectParam_ValueLimit int32 = 10
View Source
const Default_FieldValue_Language string = "en"
View Source
const Default_ListDocumentsParams_IncludeStartDoc bool = true
View Source
const Default_ListDocumentsParams_Limit int32 = 100
View Source
const Default_ListIndexesParams_IncludeStartIndex bool = true
View Source
const Default_ListIndexesParams_Limit int32 = 20
View Source
const Default_ScorerSpec_Limit int32 = 1000
View Source
const Default_SearchParams_AutoDiscoverFacetCount int32 = 0
View Source
const Default_SearchParams_Limit int32 = 20
View Source
const Default_SortSpec_SortDescending bool = true

Variables

View Source
var Document_Storage_name = map[int32]string{
	0: "DISK",
}
View Source
var Document_Storage_value = map[string]int32{
	"DISK": 0,
}
View Source
var Entry_Permission_name = map[int32]string{
	1: "READ",
	2: "WRITE",
	3: "FULL_CONTROL",
}
View Source
var Entry_Permission_value = map[string]int32{
	"READ":         1,
	"WRITE":        2,
	"FULL_CONTROL": 3,
}
View Source
var FacetValue_ContentType_name = map[int32]string{
	2: "ATOM",
	3: "DATE",
	4: "NUMBER",
}
View Source
var FacetValue_ContentType_value = map[string]int32{
	"ATOM":   2,
	"DATE":   3,
	"NUMBER": 4,
}
View Source
var FieldValue_ContentType_name = map[int32]string{
	0: "TEXT",
	1: "HTML",
	2: "ATOM",
	3: "DATE",
	4: "NUMBER",
	5: "GEO",
}
View Source
var FieldValue_ContentType_value = map[string]int32{
	"TEXT":   0,
	"HTML":   1,
	"ATOM":   2,
	"DATE":   3,
	"NUMBER": 4,
	"GEO":    5,
}
View Source
var IndexDocumentParams_Freshness_name = map[int32]string{
	0: "SYNCHRONOUSLY",
	1: "WHEN_CONVENIENT",
}
View Source
var IndexDocumentParams_Freshness_value = map[string]int32{
	"SYNCHRONOUSLY":   0,
	"WHEN_CONVENIENT": 1,
}
View Source
var IndexSpec_Consistency_name = map[int32]string{
	0: "GLOBAL",
	1: "PER_DOCUMENT",
}
View Source
var IndexSpec_Consistency_value = map[string]int32{
	"GLOBAL":       0,
	"PER_DOCUMENT": 1,
}
View Source
var IndexSpec_Mode_name = map[int32]string{
	0: "PRIORITY",
	1: "BACKGROUND",
}
View Source
var IndexSpec_Mode_value = map[string]int32{
	"PRIORITY":   0,
	"BACKGROUND": 1,
}
View Source
var IndexSpec_Source_name = map[int32]string{
	0: "SEARCH",
	1: "DATASTORE",
	2: "CLOUD_STORAGE",
}
View Source
var IndexSpec_Source_value = map[string]int32{
	"SEARCH":        0,
	"DATASTORE":     1,
	"CLOUD_STORAGE": 2,
}
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",
}
View Source
var 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,
}
View Source
var ScorerSpec_Scorer_name = map[int32]string{
	0: "RESCORING_MATCH_SCORER",
	2: "MATCH_SCORER",
}
View Source
var ScorerSpec_Scorer_value = map[string]int32{
	"RESCORING_MATCH_SCORER": 0,
	"MATCH_SCORER":           2,
}
View Source
var SearchParams_CursorType_name = map[int32]string{
	0: "NONE",
	1: "SINGLE",
	2: "PER_RESULT",
}
View Source
var SearchParams_CursorType_value = map[string]int32{
	"NONE":       0,
	"SINGLE":     1,
	"PER_RESULT": 2,
}
View Source
var SearchParams_ParsingMode_name = map[int32]string{
	0: "STRICT",
	1: "RELAXED",
}
View Source
var SearchParams_ParsingMode_value = map[string]int32{
	"STRICT":  0,
	"RELAXED": 1,
}
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",
}
View Source
var 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,
}

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"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*AccessControlList) GetEntries

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

func (*AccessControlList) GetOwner

func (m *AccessControlList) GetOwner() string

func (*AccessControlList) ProtoMessage

func (*AccessControlList) ProtoMessage()

func (*AccessControlList) Reset

func (m *AccessControlList) Reset()

func (*AccessControlList) String

func (m *AccessControlList) String() string

type DeleteDocumentParams

type DeleteDocumentParams struct {
	DocId            []string   `protobuf:"bytes,1,rep,name=doc_id" json:"doc_id,omitempty"`
	IndexSpec        *IndexSpec `protobuf:"bytes,2,req,name=index_spec" json:"index_spec,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

func (*DeleteDocumentParams) GetDocId

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

func (*DeleteDocumentParams) GetIndexSpec

func (m *DeleteDocumentParams) GetIndexSpec() *IndexSpec

func (*DeleteDocumentParams) ProtoMessage

func (*DeleteDocumentParams) ProtoMessage()

func (*DeleteDocumentParams) Reset

func (m *DeleteDocumentParams) Reset()

func (*DeleteDocumentParams) String

func (m *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:"app_id,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

func (*DeleteDocumentRequest) GetAppId

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

func (*DeleteDocumentRequest) GetParams

func (*DeleteDocumentRequest) ProtoMessage

func (*DeleteDocumentRequest) ProtoMessage()

func (*DeleteDocumentRequest) Reset

func (m *DeleteDocumentRequest) Reset()

func (*DeleteDocumentRequest) String

func (m *DeleteDocumentRequest) String() string

type DeleteDocumentResponse

type DeleteDocumentResponse struct {
	Status           []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*DeleteDocumentResponse) GetStatus

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

func (*DeleteDocumentResponse) ProtoMessage

func (*DeleteDocumentResponse) ProtoMessage()

func (*DeleteDocumentResponse) Reset

func (m *DeleteDocumentResponse) Reset()

func (*DeleteDocumentResponse) String

func (m *DeleteDocumentResponse) String() string

type DeleteSchemaParams

type DeleteSchemaParams struct {
	Source           *IndexSpec_Source `protobuf:"varint,1,opt,name=source,enum=search.IndexSpec_Source,def=0" json:"source,omitempty"`
	IndexSpec        []*IndexSpec      `protobuf:"bytes,2,rep,name=index_spec" json:"index_spec,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*DeleteSchemaParams) GetIndexSpec

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

func (*DeleteSchemaParams) GetSource

func (m *DeleteSchemaParams) GetSource() IndexSpec_Source

func (*DeleteSchemaParams) ProtoMessage

func (*DeleteSchemaParams) ProtoMessage()

func (*DeleteSchemaParams) Reset

func (m *DeleteSchemaParams) Reset()

func (*DeleteSchemaParams) String

func (m *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:"app_id,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*DeleteSchemaRequest) GetAppId

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

func (*DeleteSchemaRequest) GetParams

func (m *DeleteSchemaRequest) GetParams() *DeleteSchemaParams

func (*DeleteSchemaRequest) ProtoMessage

func (*DeleteSchemaRequest) ProtoMessage()

func (*DeleteSchemaRequest) Reset

func (m *DeleteSchemaRequest) Reset()

func (*DeleteSchemaRequest) String

func (m *DeleteSchemaRequest) String() string

type DeleteSchemaResponse

type DeleteSchemaResponse struct {
	Status           []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*DeleteSchemaResponse) GetStatus

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

func (*DeleteSchemaResponse) ProtoMessage

func (*DeleteSchemaResponse) ProtoMessage()

func (*DeleteSchemaResponse) Reset

func (m *DeleteSchemaResponse) Reset()

func (*DeleteSchemaResponse) String

func (m *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:"order_id,omitempty"`
	Storage          *Document_Storage  `protobuf:"varint,5,opt,name=storage,enum=search.Document_Storage,def=0" json:"storage,omitempty"`
	Acl              *AccessControlList `protobuf:"bytes,6,opt,name=acl" json:"acl,omitempty"`
	Version          *int64             `protobuf:"varint,7,opt,name=version" json:"version,omitempty"`
	Facet            []*Facet           `protobuf:"bytes,8,rep,name=facet" json:"facet,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*Document) GetAcl

func (m *Document) GetAcl() *AccessControlList

func (*Document) GetFacet

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

func (*Document) GetField

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

func (*Document) GetId

func (m *Document) GetId() string

func (*Document) GetLanguage

func (m *Document) GetLanguage() string

func (*Document) GetOrderId

func (m *Document) GetOrderId() int32

func (*Document) GetStorage

func (m *Document) GetStorage() Document_Storage

func (*Document) GetVersion

func (m *Document) GetVersion() int64

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) Reset

func (m *Document) Reset()

func (*Document) String

func (m *Document) String() string

type Document_Storage

type Document_Storage int32
const Default_Document_Storage Document_Storage = Document_DISK
const (
	Document_DISK Document_Storage = 0
)

func (Document_Storage) Enum

func (Document_Storage) String

func (x Document_Storage) String() string

func (*Document_Storage) UnmarshalJSON

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

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.Entry_Permission" json:"permission,omitempty"`
	DisplayName      *string           `protobuf:"bytes,3,opt,name=display_name" json:"display_name,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*Entry) GetDisplayName

func (m *Entry) GetDisplayName() string

func (*Entry) GetPermission

func (m *Entry) GetPermission() Entry_Permission

func (*Entry) GetScope

func (m *Entry) GetScope() *Scope

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) Reset

func (m *Entry) Reset()

func (*Entry) String

func (m *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) Enum

func (Entry_Permission) String

func (x Entry_Permission) String() string

func (*Entry_Permission) UnmarshalJSON

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

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"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*Facet) GetName

func (m *Facet) GetName() string

func (*Facet) GetValue

func (m *Facet) GetValue() *FacetValue

func (*Facet) ProtoMessage

func (*Facet) ProtoMessage()

func (*Facet) Reset

func (m *Facet) Reset()

func (*Facet) String

func (m *Facet) String() string

type FacetAutoDetectParam

type FacetAutoDetectParam struct {
	ValueLimit       *int32 `protobuf:"varint,1,opt,name=value_limit,def=10" json:"value_limit,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*FacetAutoDetectParam) GetValueLimit

func (m *FacetAutoDetectParam) GetValueLimit() int32

func (*FacetAutoDetectParam) ProtoMessage

func (*FacetAutoDetectParam) ProtoMessage()

func (*FacetAutoDetectParam) Reset

func (m *FacetAutoDetectParam) Reset()

func (*FacetAutoDetectParam) String

func (m *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"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*FacetRange) GetEnd

func (m *FacetRange) GetEnd() string

func (*FacetRange) GetName

func (m *FacetRange) GetName() string

func (*FacetRange) GetStart

func (m *FacetRange) GetStart() string

func (*FacetRange) ProtoMessage

func (*FacetRange) ProtoMessage()

func (*FacetRange) Reset

func (m *FacetRange) Reset()

func (*FacetRange) String

func (m *FacetRange) String() string

type FacetRefine

type FacetRefine struct {
	Name             *string                 `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Type             *FacetValue_ContentType `protobuf:"varint,2,req,name=type,enum=search.FacetValue_ContentType" json:"type,omitempty"`
	Value            *string                 `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	Start            *string                 `protobuf:"bytes,4,opt,name=start" json:"start,omitempty"`
	End              *string                 `protobuf:"bytes,5,opt,name=end" json:"end,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FacetRefine) GetEnd

func (m *FacetRefine) GetEnd() string

func (*FacetRefine) GetName

func (m *FacetRefine) GetName() string

func (*FacetRefine) GetStart

func (m *FacetRefine) GetStart() string

func (*FacetRefine) GetType

func (m *FacetRefine) GetType() FacetValue_ContentType

func (*FacetRefine) GetValue

func (m *FacetRefine) GetValue() string

func (*FacetRefine) ProtoMessage

func (*FacetRefine) ProtoMessage()

func (*FacetRefine) Reset

func (m *FacetRefine) Reset()

func (*FacetRefine) String

func (m *FacetRefine) String() string

type FacetRequest

type FacetRequest struct {
	Name             *string                 `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Type             *FacetValue_ContentType `protobuf:"varint,2,req,name=type,enum=search.FacetValue_ContentType" json:"type,omitempty"`
	Params           *FacetRequestParam      `protobuf:"bytes,3,opt,name=params" json:"params,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FacetRequest) GetName

func (m *FacetRequest) GetName() string

func (*FacetRequest) GetParams

func (m *FacetRequest) GetParams() *FacetRequestParam

func (*FacetRequest) GetType

func (m *FacetRequest) GetType() FacetValue_ContentType

func (*FacetRequest) ProtoMessage

func (*FacetRequest) ProtoMessage()

func (*FacetRequest) Reset

func (m *FacetRequest) Reset()

func (*FacetRequest) String

func (m *FacetRequest) String() string

type FacetRequestParam

type FacetRequestParam struct {
	ValueLimit       *int32        `protobuf:"varint,1,opt,name=value_limit" 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:"value_constraint,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*FacetRequestParam) GetRange

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

func (*FacetRequestParam) GetValueConstraint

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

func (*FacetRequestParam) GetValueLimit

func (m *FacetRequestParam) GetValueLimit() int32

func (*FacetRequestParam) ProtoMessage

func (*FacetRequestParam) ProtoMessage()

func (*FacetRequestParam) Reset

func (m *FacetRequestParam) Reset()

func (*FacetRequestParam) String

func (m *FacetRequestParam) String() string

type FacetResult

type FacetResult struct {
	Name             *string                 `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Type             *FacetValue_ContentType `protobuf:"varint,2,req,name=type,enum=search.FacetValue_ContentType" json:"type,omitempty"`
	Value            []*FacetResultValue     `protobuf:"bytes,3,rep,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FacetResult) GetName

func (m *FacetResult) GetName() string

func (*FacetResult) GetType

func (m *FacetResult) GetType() FacetValue_ContentType

func (*FacetResult) GetValue

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

func (*FacetResult) ProtoMessage

func (*FacetResult) ProtoMessage()

func (*FacetResult) Reset

func (m *FacetResult) Reset()

func (*FacetResult) String

func (m *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"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*FacetResultValue) GetCount

func (m *FacetResultValue) GetCount() int32

func (*FacetResultValue) GetName

func (m *FacetResultValue) GetName() string

func (*FacetResultValue) ProtoMessage

func (*FacetResultValue) ProtoMessage()

func (*FacetResultValue) Reset

func (m *FacetResultValue) Reset()

func (*FacetResultValue) String

func (m *FacetResultValue) String() string

type FacetValue

type FacetValue struct {
	Type             *FacetValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.FacetValue_ContentType,def=2" json:"type,omitempty"`
	StringValue      *string                 `protobuf:"bytes,3,opt,name=string_value" json:"string_value,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FacetValue) GetStringValue

func (m *FacetValue) GetStringValue() string

func (*FacetValue) GetType

func (m *FacetValue) GetType() FacetValue_ContentType

func (*FacetValue) ProtoMessage

func (*FacetValue) ProtoMessage()

func (*FacetValue) Reset

func (m *FacetValue) Reset()

func (*FacetValue) String

func (m *FacetValue) String() string

type FacetValue_ContentType

type FacetValue_ContentType int32
const (
	FacetValue_ATOM   FacetValue_ContentType = 2
	FacetValue_DATE   FacetValue_ContentType = 3
	FacetValue_NUMBER FacetValue_ContentType = 4
)
const Default_FacetValue_Type FacetValue_ContentType = FacetValue_ATOM

func (FacetValue_ContentType) Enum

func (FacetValue_ContentType) String

func (x FacetValue_ContentType) String() string

func (*FacetValue_ContentType) UnmarshalJSON

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

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"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*Field) GetName

func (m *Field) GetName() string

func (*Field) GetValue

func (m *Field) GetValue() *FieldValue

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) Reset

func (m *Field) Reset()

func (*Field) String

func (m *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" json:"expression,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FieldSpec) GetExpression

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

func (*FieldSpec) GetName

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

func (*FieldSpec) ProtoMessage

func (*FieldSpec) ProtoMessage()

func (*FieldSpec) Reset

func (m *FieldSpec) Reset()

func (*FieldSpec) String

func (m *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"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*FieldSpec_Expression) GetExpression

func (m *FieldSpec_Expression) GetExpression() string

func (*FieldSpec_Expression) GetName

func (m *FieldSpec_Expression) GetName() string

func (*FieldSpec_Expression) ProtoMessage

func (*FieldSpec_Expression) ProtoMessage()

func (*FieldSpec_Expression) Reset

func (m *FieldSpec_Expression) Reset()

func (*FieldSpec_Expression) String

func (m *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.FieldValue_ContentType" json:"type,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*FieldTypes) GetName

func (m *FieldTypes) GetName() string

func (*FieldTypes) GetType

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

func (*FieldTypes) ProtoMessage

func (*FieldTypes) ProtoMessage()

func (*FieldTypes) Reset

func (m *FieldTypes) Reset()

func (*FieldTypes) String

func (m *FieldTypes) String() string

type FieldValue

type FieldValue struct {
	Type             *FieldValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.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:"string_value,omitempty"`
	Geo              *FieldValue_Geo         `protobuf:"group,4,opt" json:"geo,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

func (*FieldValue) GetGeo

func (m *FieldValue) GetGeo() *FieldValue_Geo

func (*FieldValue) GetLanguage

func (m *FieldValue) GetLanguage() string

func (*FieldValue) GetStringValue

func (m *FieldValue) GetStringValue() string

func (*FieldValue) GetType

func (m *FieldValue) GetType() FieldValue_ContentType

func (*FieldValue) ProtoMessage

func (*FieldValue) ProtoMessage()

func (*FieldValue) Reset

func (m *FieldValue) Reset()

func (*FieldValue) String

func (m *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
)
const Default_FieldValue_Type FieldValue_ContentType = FieldValue_TEXT

func (FieldValue_ContentType) Enum

func (FieldValue_ContentType) String

func (x FieldValue_ContentType) String() string

func (*FieldValue_ContentType) UnmarshalJSON

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

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"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*FieldValue_Geo) GetLat

func (m *FieldValue_Geo) GetLat() float64

func (*FieldValue_Geo) GetLng

func (m *FieldValue_Geo) GetLng() float64

func (*FieldValue_Geo) ProtoMessage

func (*FieldValue_Geo) ProtoMessage()

func (*FieldValue_Geo) Reset

func (m *FieldValue_Geo) Reset()

func (*FieldValue_Geo) String

func (m *FieldValue_Geo) String() string

type IndexDocumentParams

type IndexDocumentParams struct {
	Document         []*Document                    `protobuf:"bytes,1,rep,name=document" json:"document,omitempty"`
	Freshness        *IndexDocumentParams_Freshness `protobuf:"varint,2,opt,name=freshness,enum=search.IndexDocumentParams_Freshness,def=0" json:"freshness,omitempty"`
	IndexSpec        *IndexSpec                     `protobuf:"bytes,3,req,name=index_spec" json:"index_spec,omitempty"`
	XXX_unrecognized []byte                         `json:"-"`
}

func (*IndexDocumentParams) GetDocument

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

func (*IndexDocumentParams) GetFreshness

func (*IndexDocumentParams) GetIndexSpec

func (m *IndexDocumentParams) GetIndexSpec() *IndexSpec

func (*IndexDocumentParams) ProtoMessage

func (*IndexDocumentParams) ProtoMessage()

func (*IndexDocumentParams) Reset

func (m *IndexDocumentParams) Reset()

func (*IndexDocumentParams) String

func (m *IndexDocumentParams) String() string

type IndexDocumentParams_Freshness

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

func (IndexDocumentParams_Freshness) Enum

func (IndexDocumentParams_Freshness) String

func (*IndexDocumentParams_Freshness) UnmarshalJSON

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

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:"app_id,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*IndexDocumentRequest) GetAppId

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

func (*IndexDocumentRequest) GetParams

func (m *IndexDocumentRequest) GetParams() *IndexDocumentParams

func (*IndexDocumentRequest) ProtoMessage

func (*IndexDocumentRequest) ProtoMessage()

func (*IndexDocumentRequest) Reset

func (m *IndexDocumentRequest) Reset()

func (*IndexDocumentRequest) String

func (m *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:"doc_id,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*IndexDocumentResponse) GetDocId

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

func (*IndexDocumentResponse) GetStatus

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

func (*IndexDocumentResponse) ProtoMessage

func (*IndexDocumentResponse) ProtoMessage()

func (*IndexDocumentResponse) Reset

func (m *IndexDocumentResponse) Reset()

func (*IndexDocumentResponse) String

func (m *IndexDocumentResponse) String() string

type IndexMetadata

type IndexMetadata struct {
	IndexSpec        *IndexSpec             `protobuf:"bytes,1,req,name=index_spec" 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"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*IndexMetadata) GetField

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

func (*IndexMetadata) GetIndexSpec

func (m *IndexMetadata) GetIndexSpec() *IndexSpec

func (*IndexMetadata) GetStorage

func (m *IndexMetadata) GetStorage() *IndexMetadata_Storage

func (*IndexMetadata) ProtoMessage

func (*IndexMetadata) ProtoMessage()

func (*IndexMetadata) Reset

func (m *IndexMetadata) Reset()

func (*IndexMetadata) String

func (m *IndexMetadata) String() string

type IndexMetadata_Storage

type IndexMetadata_Storage struct {
	AmountUsed       *int64 `protobuf:"varint,1,opt,name=amount_used" json:"amount_used,omitempty"`
	Limit            *int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*IndexMetadata_Storage) GetAmountUsed

func (m *IndexMetadata_Storage) GetAmountUsed() int64

func (*IndexMetadata_Storage) GetLimit

func (m *IndexMetadata_Storage) GetLimit() int64

func (*IndexMetadata_Storage) ProtoMessage

func (*IndexMetadata_Storage) ProtoMessage()

func (*IndexMetadata_Storage) Reset

func (m *IndexMetadata_Storage) Reset()

func (*IndexMetadata_Storage) String

func (m *IndexMetadata_Storage) 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.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.IndexSpec_Source,def=0" json:"source,omitempty"`
	Mode             *IndexSpec_Mode        `protobuf:"varint,6,opt,name=mode,enum=search.IndexSpec_Mode,def=0" json:"mode,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

func (*IndexSpec) GetConsistency

func (m *IndexSpec) GetConsistency() IndexSpec_Consistency

func (*IndexSpec) GetMode

func (m *IndexSpec) GetMode() IndexSpec_Mode

func (*IndexSpec) GetName

func (m *IndexSpec) GetName() string

func (*IndexSpec) GetNamespace

func (m *IndexSpec) GetNamespace() string

func (*IndexSpec) GetSource

func (m *IndexSpec) GetSource() IndexSpec_Source

func (*IndexSpec) GetVersion

func (m *IndexSpec) GetVersion() int32

func (*IndexSpec) ProtoMessage

func (*IndexSpec) ProtoMessage()

func (*IndexSpec) Reset

func (m *IndexSpec) Reset()

func (*IndexSpec) String

func (m *IndexSpec) String() string

type IndexSpec_Consistency

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

func (IndexSpec_Consistency) Enum

func (IndexSpec_Consistency) String

func (x IndexSpec_Consistency) String() string

func (*IndexSpec_Consistency) UnmarshalJSON

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

type IndexSpec_Mode

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

func (IndexSpec_Mode) Enum

func (x IndexSpec_Mode) Enum() *IndexSpec_Mode

func (IndexSpec_Mode) String

func (x IndexSpec_Mode) String() string

func (*IndexSpec_Mode) UnmarshalJSON

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

type IndexSpec_Source

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

func (IndexSpec_Source) Enum

func (IndexSpec_Source) String

func (x IndexSpec_Source) String() string

func (*IndexSpec_Source) UnmarshalJSON

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

type ListDocumentsParams

type ListDocumentsParams struct {
	IndexSpec        *IndexSpec `protobuf:"bytes,1,req,name=index_spec" json:"index_spec,omitempty"`
	StartDocId       *string    `protobuf:"bytes,2,opt,name=start_doc_id" json:"start_doc_id,omitempty"`
	IncludeStartDoc  *bool      `protobuf:"varint,3,opt,name=include_start_doc,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:"keys_only,omitempty"`
	XXX_unrecognized []byte     `json:"-"`
}

func (*ListDocumentsParams) GetIncludeStartDoc

func (m *ListDocumentsParams) GetIncludeStartDoc() bool

func (*ListDocumentsParams) GetIndexSpec

func (m *ListDocumentsParams) GetIndexSpec() *IndexSpec

func (*ListDocumentsParams) GetKeysOnly

func (m *ListDocumentsParams) GetKeysOnly() bool

func (*ListDocumentsParams) GetLimit

func (m *ListDocumentsParams) GetLimit() int32

func (*ListDocumentsParams) GetStartDocId

func (m *ListDocumentsParams) GetStartDocId() string

func (*ListDocumentsParams) ProtoMessage

func (*ListDocumentsParams) ProtoMessage()

func (*ListDocumentsParams) Reset

func (m *ListDocumentsParams) Reset()

func (*ListDocumentsParams) String

func (m *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:"app_id,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*ListDocumentsRequest) GetAppId

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

func (*ListDocumentsRequest) GetParams

func (m *ListDocumentsRequest) GetParams() *ListDocumentsParams

func (*ListDocumentsRequest) ProtoMessage

func (*ListDocumentsRequest) ProtoMessage()

func (*ListDocumentsRequest) Reset

func (m *ListDocumentsRequest) Reset()

func (*ListDocumentsRequest) String

func (m *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"`
	XXX_unrecognized []byte         `json:"-"`
}

func (*ListDocumentsResponse) GetDocument

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

func (*ListDocumentsResponse) GetStatus

func (m *ListDocumentsResponse) GetStatus() *RequestStatus

func (*ListDocumentsResponse) ProtoMessage

func (*ListDocumentsResponse) ProtoMessage()

func (*ListDocumentsResponse) Reset

func (m *ListDocumentsResponse) Reset()

func (*ListDocumentsResponse) String

func (m *ListDocumentsResponse) String() string

type ListIndexesParams

type ListIndexesParams struct {
	FetchSchema       *bool             `protobuf:"varint,1,opt,name=fetch_schema" 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:"start_index_name,omitempty"`
	IncludeStartIndex *bool             `protobuf:"varint,5,opt,name=include_start_index,def=1" json:"include_start_index,omitempty"`
	IndexNamePrefix   *string           `protobuf:"bytes,6,opt,name=index_name_prefix" 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.IndexSpec_Source,def=0" json:"source,omitempty"`
	XXX_unrecognized  []byte            `json:"-"`
}

func (*ListIndexesParams) GetFetchSchema

func (m *ListIndexesParams) GetFetchSchema() bool

func (*ListIndexesParams) GetIncludeStartIndex

func (m *ListIndexesParams) GetIncludeStartIndex() bool

func (*ListIndexesParams) GetIndexNamePrefix

func (m *ListIndexesParams) GetIndexNamePrefix() string

func (*ListIndexesParams) GetLimit

func (m *ListIndexesParams) GetLimit() int32

func (*ListIndexesParams) GetNamespace

func (m *ListIndexesParams) GetNamespace() string

func (*ListIndexesParams) GetOffset

func (m *ListIndexesParams) GetOffset() int32

func (*ListIndexesParams) GetSource

func (m *ListIndexesParams) GetSource() IndexSpec_Source

func (*ListIndexesParams) GetStartIndexName

func (m *ListIndexesParams) GetStartIndexName() string

func (*ListIndexesParams) ProtoMessage

func (*ListIndexesParams) ProtoMessage()

func (*ListIndexesParams) Reset

func (m *ListIndexesParams) Reset()

func (*ListIndexesParams) String

func (m *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:"app_id,omitempty"`
	XXX_unrecognized []byte             `json:"-"`
}

func (*ListIndexesRequest) GetAppId

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

func (*ListIndexesRequest) GetParams

func (m *ListIndexesRequest) GetParams() *ListIndexesParams

func (*ListIndexesRequest) ProtoMessage

func (*ListIndexesRequest) ProtoMessage()

func (*ListIndexesRequest) Reset

func (m *ListIndexesRequest) Reset()

func (*ListIndexesRequest) String

func (m *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:"index_metadata,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*ListIndexesResponse) GetIndexMetadata

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

func (*ListIndexesResponse) GetStatus

func (m *ListIndexesResponse) GetStatus() *RequestStatus

func (*ListIndexesResponse) ProtoMessage

func (*ListIndexesResponse) ProtoMessage()

func (*ListIndexesResponse) Reset

func (m *ListIndexesResponse) Reset()

func (*ListIndexesResponse) String

func (m *ListIndexesResponse) String() string

type RequestStatus

type RequestStatus struct {
	Code             *SearchServiceError_ErrorCode `protobuf:"varint,1,req,name=code,enum=search.SearchServiceError_ErrorCode" json:"code,omitempty"`
	ErrorDetail      *string                       `protobuf:"bytes,2,opt,name=error_detail" json:"error_detail,omitempty"`
	XXX_unrecognized []byte                        `json:"-"`
}

func (*RequestStatus) GetCode

func (*RequestStatus) GetErrorDetail

func (m *RequestStatus) GetErrorDetail() string

func (*RequestStatus) ProtoMessage

func (*RequestStatus) ProtoMessage()

func (*RequestStatus) Reset

func (m *RequestStatus) Reset()

func (*RequestStatus) String

func (m *RequestStatus) String() string

type Scope

type Scope struct {
	Type             *Scope_Type `protobuf:"varint,1,opt,name=type,enum=search.Scope_Type" json:"type,omitempty"`
	Value            *string     `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

func (*Scope) GetType

func (m *Scope) GetType() Scope_Type

func (*Scope) GetValue

func (m *Scope) GetValue() string

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) String

func (m *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) Enum

func (x Scope_Type) Enum() *Scope_Type

func (Scope_Type) String

func (x Scope_Type) String() string

func (*Scope_Type) UnmarshalJSON

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

type ScorerSpec

type ScorerSpec struct {
	Scorer                *ScorerSpec_Scorer `protobuf:"varint,1,opt,name=scorer,enum=search.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:"match_scorer_parameters,omitempty"`
	XXX_unrecognized      []byte             `json:"-"`
}

func (*ScorerSpec) GetLimit

func (m *ScorerSpec) GetLimit() int32

func (*ScorerSpec) GetMatchScorerParameters

func (m *ScorerSpec) GetMatchScorerParameters() string

func (*ScorerSpec) GetScorer

func (m *ScorerSpec) GetScorer() ScorerSpec_Scorer

func (*ScorerSpec) ProtoMessage

func (*ScorerSpec) ProtoMessage()

func (*ScorerSpec) Reset

func (m *ScorerSpec) Reset()

func (*ScorerSpec) String

func (m *ScorerSpec) String() string

type ScorerSpec_Scorer

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

func (ScorerSpec_Scorer) Enum

func (ScorerSpec_Scorer) String

func (x ScorerSpec_Scorer) String() string

func (*ScorerSpec_Scorer) UnmarshalJSON

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

type SearchParams

type SearchParams struct {
	IndexSpec              *IndexSpec                `protobuf:"bytes,1,req,name=index_spec" 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  `protobuf:"varint,5,opt,name=cursor_type,enum=search.SearchParams_CursorType,def=0" json:"cursor_type,omitempty"`
	Limit                  *int32                    `protobuf:"varint,6,opt,name=limit,def=20" json:"limit,omitempty"`
	MatchedCountAccuracy   *int32                    `protobuf:"varint,7,opt,name=matched_count_accuracy" json:"matched_count_accuracy,omitempty"`
	SortSpec               []*SortSpec               `protobuf:"bytes,8,rep,name=sort_spec" json:"sort_spec,omitempty"`
	ScorerSpec             *ScorerSpec               `protobuf:"bytes,9,opt,name=scorer_spec" json:"scorer_spec,omitempty"`
	FieldSpec              *FieldSpec                `protobuf:"bytes,10,opt,name=field_spec" json:"field_spec,omitempty"`
	KeysOnly               *bool                     `protobuf:"varint,12,opt,name=keys_only" json:"keys_only,omitempty"`
	ParsingMode            *SearchParams_ParsingMode `protobuf:"varint,13,opt,name=parsing_mode,enum=search.SearchParams_ParsingMode,def=0" json:"parsing_mode,omitempty"`
	AutoDiscoverFacetCount *int32                    `protobuf:"varint,15,opt,name=auto_discover_facet_count,def=0" json:"auto_discover_facet_count,omitempty"`
	IncludeFacet           []*FacetRequest           `protobuf:"bytes,16,rep,name=include_facet" json:"include_facet,omitempty"`
	FacetRefine            []*FacetRefine            `protobuf:"bytes,17,rep,name=facet_refine" json:"facet_refine,omitempty"`
	FacetAutoDetectParam   *FacetAutoDetectParam     `protobuf:"bytes,18,opt,name=facet_auto_detect_param" json:"facet_auto_detect_param,omitempty"`
	XXX_unrecognized       []byte                    `json:"-"`
}

func (*SearchParams) GetAutoDiscoverFacetCount

func (m *SearchParams) GetAutoDiscoverFacetCount() int32

func (*SearchParams) GetCursor

func (m *SearchParams) GetCursor() string

func (*SearchParams) GetCursorType

func (m *SearchParams) GetCursorType() SearchParams_CursorType

func (*SearchParams) GetFacetAutoDetectParam

func (m *SearchParams) GetFacetAutoDetectParam() *FacetAutoDetectParam

func (*SearchParams) GetFacetRefine

func (m *SearchParams) GetFacetRefine() []*FacetRefine

func (*SearchParams) GetFieldSpec

func (m *SearchParams) GetFieldSpec() *FieldSpec

func (*SearchParams) GetIncludeFacet

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

func (*SearchParams) GetIndexSpec

func (m *SearchParams) GetIndexSpec() *IndexSpec

func (*SearchParams) GetKeysOnly

func (m *SearchParams) GetKeysOnly() bool

func (*SearchParams) GetLimit

func (m *SearchParams) GetLimit() int32

func (*SearchParams) GetMatchedCountAccuracy

func (m *SearchParams) GetMatchedCountAccuracy() int32

func (*SearchParams) GetOffset

func (m *SearchParams) GetOffset() int32

func (*SearchParams) GetParsingMode

func (m *SearchParams) GetParsingMode() SearchParams_ParsingMode

func (*SearchParams) GetQuery

func (m *SearchParams) GetQuery() string

func (*SearchParams) GetScorerSpec

func (m *SearchParams) GetScorerSpec() *ScorerSpec

func (*SearchParams) GetSortSpec

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

func (*SearchParams) ProtoMessage

func (*SearchParams) ProtoMessage()

func (*SearchParams) Reset

func (m *SearchParams) Reset()

func (*SearchParams) String

func (m *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
)
const Default_SearchParams_CursorType SearchParams_CursorType = SearchParams_NONE

func (SearchParams_CursorType) Enum

func (SearchParams_CursorType) String

func (x SearchParams_CursorType) String() string

func (*SearchParams_CursorType) UnmarshalJSON

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

type SearchParams_ParsingMode

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

func (SearchParams_ParsingMode) Enum

func (SearchParams_ParsingMode) String

func (x SearchParams_ParsingMode) String() string

func (*SearchParams_ParsingMode) UnmarshalJSON

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

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:"app_id,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*SearchRequest) GetAppId

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

func (*SearchRequest) GetParams

func (m *SearchRequest) GetParams() *SearchParams

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) String

func (m *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:"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:"facet_result,omitempty"`
	XXX_extensions   map[int32]proto.Extension `json:"-"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*SearchResponse) ExtensionMap

func (m *SearchResponse) ExtensionMap() map[int32]proto.Extension

func (*SearchResponse) ExtensionRangeArray

func (*SearchResponse) ExtensionRangeArray() []proto.ExtensionRange

func (*SearchResponse) GetCursor

func (m *SearchResponse) GetCursor() string

func (*SearchResponse) GetFacetResult

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

func (*SearchResponse) GetMatchedCount

func (m *SearchResponse) GetMatchedCount() int64

func (*SearchResponse) GetResult

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

func (*SearchResponse) GetStatus

func (m *SearchResponse) GetStatus() *RequestStatus

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset

func (m *SearchResponse) Reset()

func (*SearchResponse) String

func (m *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"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*SearchResult) GetCursor

func (m *SearchResult) GetCursor() string

func (*SearchResult) GetDocument

func (m *SearchResult) GetDocument() *Document

func (*SearchResult) GetExpression

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

func (*SearchResult) GetScore

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

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) Reset

func (m *SearchResult) Reset()

func (*SearchResult) String

func (m *SearchResult) String() string

type SearchServiceError

type SearchServiceError struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*SearchServiceError) ProtoMessage

func (*SearchServiceError) ProtoMessage()

func (*SearchServiceError) Reset

func (m *SearchServiceError) Reset()

func (*SearchServiceError) String

func (m *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) Enum

func (SearchServiceError_ErrorCode) String

func (*SearchServiceError_ErrorCode) UnmarshalJSON

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

type SortSpec

type SortSpec struct {
	SortExpression      *string  `protobuf:"bytes,1,req,name=sort_expression" json:"sort_expression,omitempty"`
	SortDescending      *bool    `protobuf:"varint,2,opt,name=sort_descending,def=1" json:"sort_descending,omitempty"`
	DefaultValueText    *string  `protobuf:"bytes,4,opt,name=default_value_text" json:"default_value_text,omitempty"`
	DefaultValueNumeric *float64 `protobuf:"fixed64,5,opt,name=default_value_numeric" json:"default_value_numeric,omitempty"`
	XXX_unrecognized    []byte   `json:"-"`
}

func (*SortSpec) GetDefaultValueNumeric

func (m *SortSpec) GetDefaultValueNumeric() float64

func (*SortSpec) GetDefaultValueText

func (m *SortSpec) GetDefaultValueText() string

func (*SortSpec) GetSortDescending

func (m *SortSpec) GetSortDescending() bool

func (*SortSpec) GetSortExpression

func (m *SortSpec) GetSortExpression() string

func (*SortSpec) ProtoMessage

func (*SortSpec) ProtoMessage()

func (*SortSpec) Reset

func (m *SortSpec) Reset()

func (*SortSpec) String

func (m *SortSpec) String() string

Jump to

Keyboard shortcuts

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