Documentation
¶
Overview ¶
Package nrtsearch is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterLuceneServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLuceneServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LuceneServerClient) error
- func RegisterLuceneServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLuceneServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LuceneServerServer) error
- func RegisterLuceneServerServer(s *grpc.Server, srv LuceneServerServer)
- func RegisterReplicationServerServer(s *grpc.Server, srv ReplicationServerServer)
- type AddDocumentRequest
- func (*AddDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentRequest) GetFields() map[string]*AddDocumentRequest_MultiValuedField
- func (x *AddDocumentRequest) GetIndexName() string
- func (*AddDocumentRequest) ProtoMessage()
- func (x *AddDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *AddDocumentRequest) Reset()
- func (x *AddDocumentRequest) String() string
- type AddDocumentRequest_MultiValuedField
- func (*AddDocumentRequest_MultiValuedField) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentRequest_MultiValuedField) GetFaceHierarchyPaths() []*FacetHierarchyPath
- func (x *AddDocumentRequest_MultiValuedField) GetValue() []string
- func (*AddDocumentRequest_MultiValuedField) ProtoMessage()
- func (x *AddDocumentRequest_MultiValuedField) ProtoReflect() protoreflect.Message
- func (x *AddDocumentRequest_MultiValuedField) Reset()
- func (x *AddDocumentRequest_MultiValuedField) String() string
- type AddDocumentResponse
- func (*AddDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDocumentResponse) GetGenId() string
- func (x *AddDocumentResponse) GetPrimaryId() string
- func (*AddDocumentResponse) ProtoMessage()
- func (x *AddDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *AddDocumentResponse) Reset()
- func (x *AddDocumentResponse) String() string
- type AddReplicaRequest
- func (*AddReplicaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddReplicaRequest) GetHostName() string
- func (x *AddReplicaRequest) GetIndexName() string
- func (x *AddReplicaRequest) GetMagicNumber() int32
- func (x *AddReplicaRequest) GetPort() int32
- func (x *AddReplicaRequest) GetReplicaId() int32
- func (*AddReplicaRequest) ProtoMessage()
- func (x *AddReplicaRequest) ProtoReflect() protoreflect.Message
- func (x *AddReplicaRequest) Reset()
- func (x *AddReplicaRequest) String() string
- type AddReplicaResponse
- type Analyzer
- func (*Analyzer) Descriptor() ([]byte, []int)deprecated
- func (m *Analyzer) GetAnalyzerType() isAnalyzer_AnalyzerType
- func (x *Analyzer) GetCustom() *CustomAnalyzer
- func (x *Analyzer) GetPredefined() string
- func (*Analyzer) ProtoMessage()
- func (x *Analyzer) ProtoReflect() protoreflect.Message
- func (x *Analyzer) Reset()
- func (x *Analyzer) String() string
- type Analyzer_Custom
- type Analyzer_Predefined
- type AnalyzingSuggester
- func (*AnalyzingSuggester) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzingSuggester) GetAnalyzer() string
- func (x *AnalyzingSuggester) GetExactFirst() bool
- func (x *AnalyzingSuggester) GetIndexAnalyzer() string
- func (x *AnalyzingSuggester) GetMaxGraphExpansions() int32
- func (x *AnalyzingSuggester) GetMaxSurfaceFormsPerAnalyzedForm() int32
- func (x *AnalyzingSuggester) GetPreserveSep() bool
- func (x *AnalyzingSuggester) GetQueryAnalyzer() string
- func (*AnalyzingSuggester) ProtoMessage()
- func (x *AnalyzingSuggester) ProtoReflect() protoreflect.Message
- func (x *AnalyzingSuggester) Reset()
- func (x *AnalyzingSuggester) String() string
- type BackupIndexRequest
- func (*BackupIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupIndexRequest) GetCompleteDirectory() bool
- func (x *BackupIndexRequest) GetIndexName() string
- func (x *BackupIndexRequest) GetResourceName() string
- func (x *BackupIndexRequest) GetServiceName() string
- func (x *BackupIndexRequest) GetStream() bool
- func (*BackupIndexRequest) ProtoMessage()
- func (x *BackupIndexRequest) ProtoReflect() protoreflect.Message
- func (x *BackupIndexRequest) Reset()
- func (x *BackupIndexRequest) String() string
- type BackupIndexResponse
- func (*BackupIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupIndexResponse) GetDataVersionHash() string
- func (x *BackupIndexResponse) GetMetadataVersionHash() string
- func (*BackupIndexResponse) ProtoMessage()
- func (x *BackupIndexResponse) ProtoReflect() protoreflect.Message
- func (x *BackupIndexResponse) Reset()
- func (x *BackupIndexResponse) String() string
- type BackupWarmingQueriesRequest
- func (*BackupWarmingQueriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupWarmingQueriesRequest) GetIndex() string
- func (x *BackupWarmingQueriesRequest) GetNumQueriesThreshold() int32
- func (x *BackupWarmingQueriesRequest) GetServiceName() string
- func (x *BackupWarmingQueriesRequest) GetUptimeMinutesThreshold() int32
- func (*BackupWarmingQueriesRequest) ProtoMessage()
- func (x *BackupWarmingQueriesRequest) ProtoReflect() protoreflect.Message
- func (x *BackupWarmingQueriesRequest) Reset()
- func (x *BackupWarmingQueriesRequest) String() string
- type BackupWarmingQueriesResponse
- func (*BackupWarmingQueriesResponse) Descriptor() ([]byte, []int)deprecated
- func (*BackupWarmingQueriesResponse) ProtoMessage()
- func (x *BackupWarmingQueriesResponse) ProtoReflect() protoreflect.Message
- func (x *BackupWarmingQueriesResponse) Reset()
- func (x *BackupWarmingQueriesResponse) String() string
- type BooleanClause
- func (*BooleanClause) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanClause) GetOccur() BooleanClause_Occur
- func (x *BooleanClause) GetQuery() *Query
- func (*BooleanClause) ProtoMessage()
- func (x *BooleanClause) ProtoReflect() protoreflect.Message
- func (x *BooleanClause) Reset()
- func (x *BooleanClause) String() string
- type BooleanClause_Occur
- func (BooleanClause_Occur) Descriptor() protoreflect.EnumDescriptor
- func (x BooleanClause_Occur) Enum() *BooleanClause_Occur
- func (BooleanClause_Occur) EnumDescriptor() ([]byte, []int)deprecated
- func (x BooleanClause_Occur) Number() protoreflect.EnumNumber
- func (x BooleanClause_Occur) String() string
- func (BooleanClause_Occur) Type() protoreflect.EnumType
- type BooleanQuery
- func (*BooleanQuery) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanQuery) GetClauses() []*BooleanClause
- func (x *BooleanQuery) GetMinimumNumberShouldMatch() int32
- func (*BooleanQuery) ProtoMessage()
- func (x *BooleanQuery) ProtoReflect() protoreflect.Message
- func (x *BooleanQuery) Reset()
- func (x *BooleanQuery) String() string
- type BucketResult
- func (*BucketResult) Descriptor() ([]byte, []int)deprecated
- func (x *BucketResult) GetBuckets() []*BucketResult_Bucket
- func (x *BucketResult) GetTotalBuckets() int32
- func (x *BucketResult) GetTotalOtherCounts() int32
- func (*BucketResult) ProtoMessage()
- func (x *BucketResult) ProtoReflect() protoreflect.Message
- func (x *BucketResult) Reset()
- func (x *BucketResult) String() string
- type BucketResult_Bucket
- func (*BucketResult_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *BucketResult_Bucket) GetCount() int32
- func (x *BucketResult_Bucket) GetKey() string
- func (*BucketResult_Bucket) ProtoMessage()
- func (x *BucketResult_Bucket) ProtoReflect() protoreflect.Message
- func (x *BucketResult_Bucket) Reset()
- func (x *BucketResult_Bucket) String() string
- type BuildSuggestRequest
- func (*BuildSuggestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildSuggestRequest) GetAnalyzingSuggester() *AnalyzingSuggester
- func (x *BuildSuggestRequest) GetCompletionInfixSuggester() *CompletionInfixSuggester
- func (x *BuildSuggestRequest) GetFuzzyInfixSuggester() *FuzzyInfixSuggester
- func (x *BuildSuggestRequest) GetFuzzySuggester() *FuzzySuggester
- func (x *BuildSuggestRequest) GetIndexName() string
- func (x *BuildSuggestRequest) GetInfixSuggester() *InfixSuggester
- func (x *BuildSuggestRequest) GetLocalSource() *SuggestLocalSource
- func (x *BuildSuggestRequest) GetNonLocalSource() *SuggestNonLocalSource
- func (m *BuildSuggestRequest) GetSource() isBuildSuggestRequest_Source
- func (x *BuildSuggestRequest) GetSuggestName() string
- func (m *BuildSuggestRequest) GetSuggester() isBuildSuggestRequest_Suggester
- func (*BuildSuggestRequest) ProtoMessage()
- func (x *BuildSuggestRequest) ProtoReflect() protoreflect.Message
- func (x *BuildSuggestRequest) Reset()
- func (x *BuildSuggestRequest) String() string
- type BuildSuggestRequest_AnalyzingSuggester
- type BuildSuggestRequest_CompletionInfixSuggester
- type BuildSuggestRequest_FuzzyInfixSuggester
- type BuildSuggestRequest_FuzzySuggester
- type BuildSuggestRequest_InfixSuggester
- type BuildSuggestRequest_LocalSource
- type BuildSuggestRequest_NonLocalSource
- type BuildSuggestResponse
- func (*BuildSuggestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildSuggestResponse) GetCount() int64
- func (x *BuildSuggestResponse) GetSizeInBytes() int64
- func (*BuildSuggestResponse) ProtoMessage()
- func (x *BuildSuggestResponse) ProtoReflect() protoreflect.Message
- func (x *BuildSuggestResponse) Reset()
- func (x *BuildSuggestResponse) String() string
- type Collector
- func (*Collector) Descriptor() ([]byte, []int)deprecated
- func (m *Collector) GetCollectors() isCollector_Collectors
- func (x *Collector) GetTerms() *TermsCollector
- func (*Collector) ProtoMessage()
- func (x *Collector) ProtoReflect() protoreflect.Message
- func (x *Collector) Reset()
- func (x *Collector) String() string
- type CollectorResult
- func (*CollectorResult) Descriptor() ([]byte, []int)deprecated
- func (x *CollectorResult) GetBucketResult() *BucketResult
- func (m *CollectorResult) GetCollectorResults() isCollectorResult_CollectorResults
- func (*CollectorResult) ProtoMessage()
- func (x *CollectorResult) ProtoReflect() protoreflect.Message
- func (x *CollectorResult) Reset()
- func (x *CollectorResult) String() string
- type CollectorResult_BucketResult
- type Collector_Terms
- type CommitRequest
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitResponse) GetGen() int64
- func (x *CommitResponse) GetPrimaryId() string
- func (*CommitResponse) ProtoMessage()
- func (x *CommitResponse) ProtoReflect() protoreflect.Message
- func (x *CommitResponse) Reset()
- func (x *CommitResponse) String() string
- type CompletionInfixSuggester
- func (*CompletionInfixSuggester) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionInfixSuggester) GetAnalyzer() string
- func (x *CompletionInfixSuggester) GetIndexAnalyzer() string
- func (x *CompletionInfixSuggester) GetQueryAnalyzer() string
- func (*CompletionInfixSuggester) ProtoMessage()
- func (x *CompletionInfixSuggester) ProtoReflect() protoreflect.Message
- func (x *CompletionInfixSuggester) Reset()
- func (x *CompletionInfixSuggester) String() string
- type ConditionalTokenFilter
- func (*ConditionalTokenFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionalTokenFilter) GetCondition() *NameAndParams
- func (x *ConditionalTokenFilter) GetTokenFilters() []*NameAndParams
- func (*ConditionalTokenFilter) ProtoMessage()
- func (x *ConditionalTokenFilter) ProtoReflect() protoreflect.Message
- func (x *ConditionalTokenFilter) Reset()
- func (x *ConditionalTokenFilter) String() string
- type CopyFiles
- func (*CopyFiles) Descriptor() ([]byte, []int)deprecated
- func (x *CopyFiles) GetFilesMetadata() *FilesMetadata
- func (x *CopyFiles) GetIndexName() string
- func (x *CopyFiles) GetMagicNumber() int32
- func (x *CopyFiles) GetPrimaryGen() int64
- func (*CopyFiles) ProtoMessage()
- func (x *CopyFiles) ProtoReflect() protoreflect.Message
- func (x *CopyFiles) Reset()
- func (x *CopyFiles) String() string
- type CopyState
- func (*CopyState) Descriptor() ([]byte, []int)deprecated
- func (x *CopyState) GetCompletedMergeFiles() []string
- func (x *CopyState) GetCompletedMergeFilesSize() int32
- func (x *CopyState) GetFilesMetadata() *FilesMetadata
- func (x *CopyState) GetGen() int64
- func (x *CopyState) GetInfoBytes() []byte
- func (x *CopyState) GetInfoBytesLength() int32
- func (x *CopyState) GetPrimaryGen() int64
- func (x *CopyState) GetVersion() int64
- func (*CopyState) ProtoMessage()
- func (x *CopyState) ProtoReflect() protoreflect.Message
- func (x *CopyState) Reset()
- func (x *CopyState) String() string
- type CopyStateRequest
- func (*CopyStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyStateRequest) GetIndexName() string
- func (x *CopyStateRequest) GetMagicNumber() int32
- func (x *CopyStateRequest) GetReplicaId() int32
- func (*CopyStateRequest) ProtoMessage()
- func (x *CopyStateRequest) ProtoReflect() protoreflect.Message
- func (x *CopyStateRequest) Reset()
- func (x *CopyStateRequest) String() string
- type CreateIndexRequest
- func (*CreateIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIndexRequest) GetIndexName() string
- func (*CreateIndexRequest) ProtoMessage()
- func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIndexRequest) Reset()
- func (x *CreateIndexRequest) String() string
- type CreateIndexResponse
- func (*CreateIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIndexResponse) GetResponse() string
- func (*CreateIndexResponse) ProtoMessage()
- func (x *CreateIndexResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIndexResponse) Reset()
- func (x *CreateIndexResponse) String() string
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetIndexName() string
- func (x *CreateSnapshotRequest) GetOpenSearcher() bool
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) String() string
- type CreateSnapshotResponse
- func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotResponse) GetIndexFiles() []string
- func (x *CreateSnapshotResponse) GetSnapshotId() *SnapshotId
- func (x *CreateSnapshotResponse) GetStateFiles() []string
- func (x *CreateSnapshotResponse) GetTaxonomyFiles() []string
- func (*CreateSnapshotResponse) ProtoMessage()
- func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotResponse) Reset()
- func (x *CreateSnapshotResponse) String() string
- type CustomAnalyzer
- func (*CustomAnalyzer) Descriptor() ([]byte, []int)deprecated
- func (x *CustomAnalyzer) GetCharFilters() []*NameAndParams
- func (x *CustomAnalyzer) GetConditionalTokenFilters() []*ConditionalTokenFilter
- func (x *CustomAnalyzer) GetDefaultMatchVersion() string
- func (x *CustomAnalyzer) GetOffsetGap() *IntObject
- func (x *CustomAnalyzer) GetPositionIncrementGap() *IntObject
- func (x *CustomAnalyzer) GetTokenFilters() []*NameAndParams
- func (x *CustomAnalyzer) GetTokenizer() *NameAndParams
- func (*CustomAnalyzer) ProtoMessage()
- func (x *CustomAnalyzer) ProtoReflect() protoreflect.Message
- func (x *CustomAnalyzer) Reset()
- func (x *CustomAnalyzer) String() string
- type DeleteAllDocumentsRequest
- func (*DeleteAllDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllDocumentsRequest) GetIndexName() string
- func (*DeleteAllDocumentsRequest) ProtoMessage()
- func (x *DeleteAllDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllDocumentsRequest) Reset()
- func (x *DeleteAllDocumentsRequest) String() string
- type DeleteAllDocumentsResponse
- func (*DeleteAllDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllDocumentsResponse) GetGenId() string
- func (*DeleteAllDocumentsResponse) ProtoMessage()
- func (x *DeleteAllDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllDocumentsResponse) Reset()
- func (x *DeleteAllDocumentsResponse) String() string
- type DeleteByQueryRequest
- func (*DeleteByQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteByQueryRequest) GetIndexName() string
- func (x *DeleteByQueryRequest) GetQuery() []*Query
- func (*DeleteByQueryRequest) ProtoMessage()
- func (x *DeleteByQueryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteByQueryRequest) Reset()
- func (x *DeleteByQueryRequest) String() string
- type DeleteIndexBackupRequest
- func (*DeleteIndexBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIndexBackupRequest) GetIndexName() string
- func (x *DeleteIndexBackupRequest) GetNDays() int32
- func (x *DeleteIndexBackupRequest) GetResourceName() string
- func (x *DeleteIndexBackupRequest) GetServiceName() string
- func (*DeleteIndexBackupRequest) ProtoMessage()
- func (x *DeleteIndexBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIndexBackupRequest) Reset()
- func (x *DeleteIndexBackupRequest) String() string
- type DeleteIndexBackupResponse
- func (*DeleteIndexBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIndexBackupResponse) GetDeletedDataVersions() []string
- func (x *DeleteIndexBackupResponse) GetDeletedMetadataVersions() []string
- func (x *DeleteIndexBackupResponse) GetDeletedResourceDataHashes() []string
- func (x *DeleteIndexBackupResponse) GetDeletedResourceMetadataHashes() []string
- func (*DeleteIndexBackupResponse) ProtoMessage()
- func (x *DeleteIndexBackupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteIndexBackupResponse) Reset()
- func (x *DeleteIndexBackupResponse) String() string
- type DeleteIndexRequest
- func (*DeleteIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIndexRequest) GetIndexName() string
- func (*DeleteIndexRequest) ProtoMessage()
- func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIndexRequest) Reset()
- func (x *DeleteIndexRequest) String() string
- type DeleteIndexResponse
- func (*DeleteIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIndexResponse) GetOk() string
- func (*DeleteIndexResponse) ProtoMessage()
- func (x *DeleteIndexResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteIndexResponse) Reset()
- func (x *DeleteIndexResponse) String() string
- type DisjunctionMaxQuery
- func (*DisjunctionMaxQuery) Descriptor() ([]byte, []int)deprecated
- func (x *DisjunctionMaxQuery) GetDisjuncts() []*Query
- func (x *DisjunctionMaxQuery) GetTieBreakerMultiplier() float32
- func (*DisjunctionMaxQuery) ProtoMessage()
- func (x *DisjunctionMaxQuery) ProtoReflect() protoreflect.Message
- func (x *DisjunctionMaxQuery) Reset()
- func (x *DisjunctionMaxQuery) String() string
- type DummyResponse
- type ExistsQuery
- type Facet
- func (*Facet) Descriptor() ([]byte, []int)deprecated
- func (x *Facet) GetDim() string
- func (x *Facet) GetLabels() []string
- func (x *Facet) GetName() string
- func (x *Facet) GetNumericRange() []*NumericRangeType
- func (x *Facet) GetPaths() []string
- func (x *Facet) GetSampleTopDocs() int32
- func (x *Facet) GetScript() *Script
- func (x *Facet) GetTopN() int32
- func (x *Facet) GetUseOrdsCache() bool
- func (*Facet) ProtoMessage()
- func (x *Facet) ProtoReflect() protoreflect.Message
- func (x *Facet) Reset()
- func (x *Facet) String() string
- type FacetHierarchyPath
- func (*FacetHierarchyPath) Descriptor() ([]byte, []int)deprecated
- func (x *FacetHierarchyPath) GetValue() []string
- func (*FacetHierarchyPath) ProtoMessage()
- func (x *FacetHierarchyPath) ProtoReflect() protoreflect.Message
- func (x *FacetHierarchyPath) Reset()
- func (x *FacetHierarchyPath) String() string
- type FacetResult
- func (*FacetResult) Descriptor() ([]byte, []int)deprecated
- func (x *FacetResult) GetChildCount() int64
- func (x *FacetResult) GetDim() string
- func (x *FacetResult) GetLabelValues() []*LabelAndValue
- func (x *FacetResult) GetName() string
- func (x *FacetResult) GetPath() []string
- func (x *FacetResult) GetValue() float64
- func (*FacetResult) ProtoMessage()
- func (x *FacetResult) ProtoReflect() protoreflect.Message
- func (x *FacetResult) Reset()
- func (x *FacetResult) String() string
- type FacetType
- type FetchTask
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetAdditionalProperties() *_struct.Struct
- func (x *Field) GetAnalyzer() *Analyzer
- func (x *Field) GetChildFields() []*Field
- func (x *Field) GetDateTimeFormat() string
- func (x *Field) GetDocValuesFormat() string
- func (x *Field) GetEagerGlobalOrdinals() bool
- func (x *Field) GetFacet() FacetType
- func (x *Field) GetFacetIndexFieldName() string
- func (x *Field) GetGroup() bool
- func (x *Field) GetHighlight() bool
- func (x *Field) GetIndexAnalyzer() *Analyzer
- func (x *Field) GetIndexOptions() IndexOptions
- func (x *Field) GetMultiValued() bool
- func (x *Field) GetName() string
- func (x *Field) GetNestedDoc() bool
- func (x *Field) GetOmitNorms() bool
- func (x *Field) GetPostingsFormat() string
- func (x *Field) GetScript() *Script
- func (x *Field) GetSearch() bool
- func (x *Field) GetSearchAnalyzer() *Analyzer
- func (x *Field) GetSimilarity() string
- func (x *Field) GetSimilarityParams() *_struct.Struct
- func (x *Field) GetSort() bool
- func (x *Field) GetStore() bool
- func (x *Field) GetStoreDocValues() bool
- func (x *Field) GetTermVectors() TermVectors
- func (x *Field) GetTokenize() bool
- func (x *Field) GetType() FieldType
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type FieldDefRequest
- func (*FieldDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FieldDefRequest) GetField() []*Field
- func (x *FieldDefRequest) GetIndexName() string
- func (*FieldDefRequest) ProtoMessage()
- func (x *FieldDefRequest) ProtoReflect() protoreflect.Message
- func (x *FieldDefRequest) Reset()
- func (x *FieldDefRequest) String() string
- type FieldDefResponse
- type FieldType
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetAckSeqNum() int32
- func (x *FileInfo) GetFileName() string
- func (x *FileInfo) GetFpStart() int64
- func (x *FileInfo) GetIndexName() string
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FileMetadata
- func (*FileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FileMetadata) GetChecksum() int64
- func (x *FileMetadata) GetFileName() string
- func (x *FileMetadata) GetFooter() []byte
- func (x *FileMetadata) GetFooterLength() int32
- func (x *FileMetadata) GetHeader() []byte
- func (x *FileMetadata) GetHeaderLength() int32
- func (x *FileMetadata) GetLen() int64
- func (*FileMetadata) ProtoMessage()
- func (x *FileMetadata) ProtoReflect() protoreflect.Message
- func (x *FileMetadata) Reset()
- func (x *FileMetadata) String() string
- type FilesInfo
- func (*FilesInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FilesInfo) GetFileInfo() []*FileInfo
- func (x *FilesInfo) GetIndexName() string
- func (x *FilesInfo) GetMagicNumber() int32
- func (x *FilesInfo) GetReplicaId() int32
- func (*FilesInfo) ProtoMessage()
- func (x *FilesInfo) ProtoReflect() protoreflect.Message
- func (x *FilesInfo) Reset()
- func (x *FilesInfo) String() string
- type FilesMetadata
- func (*FilesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FilesMetadata) GetFileMetadata() []*FileMetadata
- func (x *FilesMetadata) GetNumFiles() int32
- func (*FilesMetadata) ProtoMessage()
- func (x *FilesMetadata) ProtoReflect() protoreflect.Message
- func (x *FilesMetadata) Reset()
- func (x *FilesMetadata) String() string
- type ForceMergeDeletesRequest
- func (*ForceMergeDeletesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForceMergeDeletesRequest) GetDoWait() bool
- func (x *ForceMergeDeletesRequest) GetIndexName() string
- func (*ForceMergeDeletesRequest) ProtoMessage()
- func (x *ForceMergeDeletesRequest) ProtoReflect() protoreflect.Message
- func (x *ForceMergeDeletesRequest) Reset()
- func (x *ForceMergeDeletesRequest) String() string
- type ForceMergeDeletesResponse
- func (*ForceMergeDeletesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForceMergeDeletesResponse) GetStatus() ForceMergeDeletesResponse_Status
- func (*ForceMergeDeletesResponse) ProtoMessage()
- func (x *ForceMergeDeletesResponse) ProtoReflect() protoreflect.Message
- func (x *ForceMergeDeletesResponse) Reset()
- func (x *ForceMergeDeletesResponse) String() string
- type ForceMergeDeletesResponse_Status
- func (ForceMergeDeletesResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ForceMergeDeletesResponse_Status) Enum() *ForceMergeDeletesResponse_Status
- func (ForceMergeDeletesResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForceMergeDeletesResponse_Status) Number() protoreflect.EnumNumber
- func (x ForceMergeDeletesResponse_Status) String() string
- func (ForceMergeDeletesResponse_Status) Type() protoreflect.EnumType
- type ForceMergeRequest
- func (*ForceMergeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForceMergeRequest) GetDoWait() bool
- func (x *ForceMergeRequest) GetIndexName() string
- func (x *ForceMergeRequest) GetMaxNumSegments() int32
- func (*ForceMergeRequest) ProtoMessage()
- func (x *ForceMergeRequest) ProtoReflect() protoreflect.Message
- func (x *ForceMergeRequest) Reset()
- func (x *ForceMergeRequest) String() string
- type ForceMergeResponse
- func (*ForceMergeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForceMergeResponse) GetStatus() ForceMergeResponse_Status
- func (*ForceMergeResponse) ProtoMessage()
- func (x *ForceMergeResponse) ProtoReflect() protoreflect.Message
- func (x *ForceMergeResponse) Reset()
- func (x *ForceMergeResponse) String() string
- type ForceMergeResponse_Status
- func (ForceMergeResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ForceMergeResponse_Status) Enum() *ForceMergeResponse_Status
- func (ForceMergeResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForceMergeResponse_Status) Number() protoreflect.EnumNumber
- func (x ForceMergeResponse_Status) String() string
- func (ForceMergeResponse_Status) Type() protoreflect.EnumType
- type FunctionFilterQuery
- func (*FunctionFilterQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionFilterQuery) GetScript() *Script
- func (*FunctionFilterQuery) ProtoMessage()
- func (x *FunctionFilterQuery) ProtoReflect() protoreflect.Message
- func (x *FunctionFilterQuery) Reset()
- func (x *FunctionFilterQuery) String() string
- type FunctionScoreQuery
- func (*FunctionScoreQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionScoreQuery) GetQuery() *Query
- func (x *FunctionScoreQuery) GetScript() *Script
- func (*FunctionScoreQuery) ProtoMessage()
- func (x *FunctionScoreQuery) ProtoReflect() protoreflect.Message
- func (x *FunctionScoreQuery) Reset()
- func (x *FunctionScoreQuery) String() string
- type FuzzyInfixSuggester
- func (*FuzzyInfixSuggester) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzyInfixSuggester) GetAnalyzer() string
- func (x *FuzzyInfixSuggester) GetIndexAnalyzer() string
- func (x *FuzzyInfixSuggester) GetMaxEdits() int32
- func (x *FuzzyInfixSuggester) GetMinFuzzyLength() int32
- func (x *FuzzyInfixSuggester) GetNonFuzzyPrefix() int32
- func (x *FuzzyInfixSuggester) GetQueryAnalyzer() string
- func (x *FuzzyInfixSuggester) GetTranspositions() bool
- func (x *FuzzyInfixSuggester) GetUnicodeAware() bool
- func (*FuzzyInfixSuggester) ProtoMessage()
- func (x *FuzzyInfixSuggester) ProtoReflect() protoreflect.Message
- func (x *FuzzyInfixSuggester) Reset()
- func (x *FuzzyInfixSuggester) String() string
- type FuzzyParams
- func (*FuzzyParams) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzyParams) GetMaxEdits() int32
- func (x *FuzzyParams) GetMaxExpansions() int32
- func (x *FuzzyParams) GetPrefixLength() int32
- func (x *FuzzyParams) GetTranspositions() bool
- func (*FuzzyParams) ProtoMessage()
- func (x *FuzzyParams) ProtoReflect() protoreflect.Message
- func (x *FuzzyParams) Reset()
- func (x *FuzzyParams) String() string
- type FuzzySuggester
- func (*FuzzySuggester) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzySuggester) GetAnalyzer() string
- func (x *FuzzySuggester) GetExactFirst() bool
- func (x *FuzzySuggester) GetIndexAnalyzer() string
- func (x *FuzzySuggester) GetMaxEdits() int32
- func (x *FuzzySuggester) GetMaxGraphExpansions() int32
- func (x *FuzzySuggester) GetMaxSurfaceFormsPerAnalyzedForm() int32
- func (x *FuzzySuggester) GetMinFuzzyLength() int32
- func (x *FuzzySuggester) GetNonFuzzyPrefix() int32
- func (x *FuzzySuggester) GetPreserveSep() bool
- func (x *FuzzySuggester) GetQueryAnalyzer() string
- func (x *FuzzySuggester) GetTranspositions() bool
- func (x *FuzzySuggester) GetUnicodeAware() bool
- func (*FuzzySuggester) ProtoMessage()
- func (x *FuzzySuggester) ProtoReflect() protoreflect.Message
- func (x *FuzzySuggester) Reset()
- func (x *FuzzySuggester) String() string
- type GeoBoundingBoxQuery
- func (*GeoBoundingBoxQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoBoundingBoxQuery) GetBottomRight() *latlng.LatLng
- func (x *GeoBoundingBoxQuery) GetField() string
- func (x *GeoBoundingBoxQuery) GetTopLeft() *latlng.LatLng
- func (*GeoBoundingBoxQuery) ProtoMessage()
- func (x *GeoBoundingBoxQuery) ProtoReflect() protoreflect.Message
- func (x *GeoBoundingBoxQuery) Reset()
- func (x *GeoBoundingBoxQuery) String() string
- type GeoPointQuery
- func (*GeoPointQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoPointQuery) GetField() string
- func (x *GeoPointQuery) GetPoint() *latlng.LatLng
- func (*GeoPointQuery) ProtoMessage()
- func (x *GeoPointQuery) ProtoReflect() protoreflect.Message
- func (x *GeoPointQuery) Reset()
- func (x *GeoPointQuery) String() string
- type GeoRadiusQuery
- func (*GeoRadiusQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoRadiusQuery) GetCenter() *latlng.LatLng
- func (x *GeoRadiusQuery) GetField() string
- func (x *GeoRadiusQuery) GetRadius() string
- func (*GeoRadiusQuery) ProtoMessage()
- func (x *GeoRadiusQuery) ProtoReflect() protoreflect.Message
- func (x *GeoRadiusQuery) Reset()
- func (x *GeoRadiusQuery) String() string
- type GetAllSnapshotGenRequest
- func (*GetAllSnapshotGenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllSnapshotGenRequest) GetIndexName() string
- func (*GetAllSnapshotGenRequest) ProtoMessage()
- func (x *GetAllSnapshotGenRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllSnapshotGenRequest) Reset()
- func (x *GetAllSnapshotGenRequest) String() string
- type GetAllSnapshotGenResponse
- func (*GetAllSnapshotGenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllSnapshotGenResponse) GetIndexGens() []int64
- func (*GetAllSnapshotGenResponse) ProtoMessage()
- func (x *GetAllSnapshotGenResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllSnapshotGenResponse) Reset()
- func (x *GetAllSnapshotGenResponse) String() string
- type GetNodesRequest
- type GetNodesResponse
- type HealthCheckRequest
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetHealth() TransferStatusCode
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type IndexName
- type IndexOptions
- func (IndexOptions) Descriptor() protoreflect.EnumDescriptor
- func (x IndexOptions) Enum() *IndexOptions
- func (IndexOptions) EnumDescriptor() ([]byte, []int)deprecated
- func (x IndexOptions) Number() protoreflect.EnumNumber
- func (x IndexOptions) String() string
- func (IndexOptions) Type() protoreflect.EnumType
- type IndexStatsResponse
- func (*IndexStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IndexStatsResponse) GetIndexName() string
- func (x *IndexStatsResponse) GetStatsResponse() *StatsResponse
- func (*IndexStatsResponse) ProtoMessage()
- func (x *IndexStatsResponse) ProtoReflect() protoreflect.Message
- func (x *IndexStatsResponse) Reset()
- func (x *IndexStatsResponse) String() string
- type IndicesRequest
- type IndicesResponse
- func (*IndicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IndicesResponse) GetIndicesResponse() []*IndexStatsResponse
- func (*IndicesResponse) ProtoMessage()
- func (x *IndicesResponse) ProtoReflect() protoreflect.Message
- func (x *IndicesResponse) Reset()
- func (x *IndicesResponse) String() string
- type InfixSuggester
- func (*InfixSuggester) Descriptor() ([]byte, []int)deprecated
- func (x *InfixSuggester) GetAnalyzer() string
- func (x *InfixSuggester) GetIndexAnalyzer() string
- func (x *InfixSuggester) GetQueryAnalyzer() string
- func (*InfixSuggester) ProtoMessage()
- func (x *InfixSuggester) ProtoReflect() protoreflect.Message
- func (x *InfixSuggester) Reset()
- func (x *InfixSuggester) String() string
- type IntObject
- type LabelAndValue
- func (*LabelAndValue) Descriptor() ([]byte, []int)deprecated
- func (x *LabelAndValue) GetLabel() string
- func (x *LabelAndValue) GetValue() float64
- func (*LabelAndValue) ProtoMessage()
- func (x *LabelAndValue) ProtoReflect() protoreflect.Message
- func (x *LabelAndValue) Reset()
- func (x *LabelAndValue) String() string
- type LiveSettingsRequest
- func (*LiveSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LiveSettingsRequest) GetAddDocumentsMaxBufferLen() int32
- func (x *LiveSettingsRequest) GetDefaultSearchTimeoutCheckEvery() int32
- func (x *LiveSettingsRequest) GetDefaultSearchTimeoutSec() float64
- func (x *LiveSettingsRequest) GetDefaultTerminateAfter() int32
- func (x *LiveSettingsRequest) GetIndexName() string
- func (x *LiveSettingsRequest) GetIndexRamBufferSizeMB() float64
- func (x *LiveSettingsRequest) GetMaxMergedSegmentMB() int32
- func (x *LiveSettingsRequest) GetMaxRefreshSec() float64
- func (x *LiveSettingsRequest) GetMaxSearcherAgeSec() float64
- func (x *LiveSettingsRequest) GetMinRefreshSec() float64
- func (x *LiveSettingsRequest) GetSegmentsPerTier() int32
- func (x *LiveSettingsRequest) GetSliceMaxDocs() int32
- func (x *LiveSettingsRequest) GetSliceMaxSegments() int32
- func (x *LiveSettingsRequest) GetVirtualShards() int32
- func (*LiveSettingsRequest) ProtoMessage()
- func (x *LiveSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *LiveSettingsRequest) Reset()
- func (x *LiveSettingsRequest) String() string
- type LiveSettingsResponse
- func (*LiveSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LiveSettingsResponse) GetResponse() string
- func (*LiveSettingsResponse) ProtoMessage()
- func (x *LiveSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *LiveSettingsResponse) Reset()
- func (x *LiveSettingsResponse) String() string
- type LuceneServerClient
- type LuceneServerServer
- type LuceneServer_AddDocumentsClient
- type LuceneServer_AddDocumentsServer
- type MatchOperator
- func (MatchOperator) Descriptor() protoreflect.EnumDescriptor
- func (x MatchOperator) Enum() *MatchOperator
- func (MatchOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchOperator) Number() protoreflect.EnumNumber
- func (x MatchOperator) String() string
- func (MatchOperator) Type() protoreflect.EnumType
- type MatchPhraseQuery
- func (*MatchPhraseQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchPhraseQuery) GetAnalyzer() *Analyzer
- func (x *MatchPhraseQuery) GetField() string
- func (x *MatchPhraseQuery) GetQuery() string
- func (x *MatchPhraseQuery) GetSlop() int32
- func (*MatchPhraseQuery) ProtoMessage()
- func (x *MatchPhraseQuery) ProtoReflect() protoreflect.Message
- func (x *MatchPhraseQuery) Reset()
- func (x *MatchPhraseQuery) String() string
- type MatchQuery
- func (*MatchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchQuery) GetAnalyzer() *Analyzer
- func (x *MatchQuery) GetField() string
- func (x *MatchQuery) GetFuzzyParams() *FuzzyParams
- func (x *MatchQuery) GetMinimumNumberShouldMatch() int32
- func (x *MatchQuery) GetOperator() MatchOperator
- func (x *MatchQuery) GetQuery() string
- func (*MatchQuery) ProtoMessage()
- func (x *MatchQuery) ProtoReflect() protoreflect.Message
- func (x *MatchQuery) Reset()
- func (x *MatchQuery) String() string
- type Mode
- type MultiMatchQuery
- func (*MultiMatchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MultiMatchQuery) GetAnalyzer() *Analyzer
- func (x *MultiMatchQuery) GetFieldBoosts() map[string]float32
- func (x *MultiMatchQuery) GetFields() []string
- func (x *MultiMatchQuery) GetFuzzyParams() *FuzzyParams
- func (x *MultiMatchQuery) GetMinimumNumberShouldMatch() int32
- func (x *MultiMatchQuery) GetOperator() MatchOperator
- func (x *MultiMatchQuery) GetQuery() string
- func (x *MultiMatchQuery) GetTieBreakerMultiplier() float32
- func (*MultiMatchQuery) ProtoMessage()
- func (x *MultiMatchQuery) ProtoReflect() protoreflect.Message
- func (x *MultiMatchQuery) Reset()
- func (x *MultiMatchQuery) String() string
- type NameAndParams
- func (*NameAndParams) Descriptor() ([]byte, []int)deprecated
- func (x *NameAndParams) GetName() string
- func (x *NameAndParams) GetParams() map[string]string
- func (*NameAndParams) ProtoMessage()
- func (x *NameAndParams) ProtoReflect() protoreflect.Message
- func (x *NameAndParams) Reset()
- func (x *NameAndParams) String() string
- type NestedQuery
- func (*NestedQuery) Descriptor() ([]byte, []int)deprecated
- func (x *NestedQuery) GetPath() string
- func (x *NestedQuery) GetQuery() *Query
- func (x *NestedQuery) GetScoreMode() NestedQuery_ScoreMode
- func (*NestedQuery) ProtoMessage()
- func (x *NestedQuery) ProtoReflect() protoreflect.Message
- func (x *NestedQuery) Reset()
- func (x *NestedQuery) String() string
- type NestedQuery_ScoreMode
- func (NestedQuery_ScoreMode) Descriptor() protoreflect.EnumDescriptor
- func (x NestedQuery_ScoreMode) Enum() *NestedQuery_ScoreMode
- func (NestedQuery_ScoreMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NestedQuery_ScoreMode) Number() protoreflect.EnumNumber
- func (x NestedQuery_ScoreMode) String() string
- func (NestedQuery_ScoreMode) Type() protoreflect.EnumType
- type NewNRTPoint
- func (*NewNRTPoint) Descriptor() ([]byte, []int)deprecated
- func (x *NewNRTPoint) GetIndexName() string
- func (x *NewNRTPoint) GetMagicNumber() int32
- func (x *NewNRTPoint) GetPrimaryGen() int64
- func (x *NewNRTPoint) GetVersion() int64
- func (*NewNRTPoint) ProtoMessage()
- func (x *NewNRTPoint) ProtoReflect() protoreflect.Message
- func (x *NewNRTPoint) Reset()
- func (x *NewNRTPoint) String() string
- type NodeInfo
- type NrtsearchIndex
- func (*NrtsearchIndex) Descriptor() ([]byte, []int)deprecated
- func (x *NrtsearchIndex) GetContexts() []string
- func (x *NrtsearchIndex) GetPayload() []byte
- func (x *NrtsearchIndex) GetScore() int64
- func (x *NrtsearchIndex) GetSearchTexts() []string
- func (x *NrtsearchIndex) GetUniqueId() int64
- func (*NrtsearchIndex) ProtoMessage()
- func (x *NrtsearchIndex) ProtoReflect() protoreflect.Message
- func (x *NrtsearchIndex) Reset()
- func (x *NrtsearchIndex) String() string
- type NumericRangeType
- func (*NumericRangeType) Descriptor() ([]byte, []int)deprecated
- func (x *NumericRangeType) GetLabel() string
- func (x *NumericRangeType) GetMax() int64
- func (x *NumericRangeType) GetMaxInclusive() bool
- func (x *NumericRangeType) GetMin() int64
- func (x *NumericRangeType) GetMinInclusive() bool
- func (*NumericRangeType) ProtoMessage()
- func (x *NumericRangeType) ProtoReflect() protoreflect.Message
- func (x *NumericRangeType) Reset()
- func (x *NumericRangeType) String() string
- type OneHighlight
- func (*OneHighlight) Descriptor() ([]byte, []int)deprecated
- func (x *OneHighlight) GetIsHit() bool
- func (x *OneHighlight) GetText() string
- func (*OneHighlight) ProtoMessage()
- func (x *OneHighlight) ProtoReflect() protoreflect.Message
- func (x *OneHighlight) Reset()
- func (x *OneHighlight) String() string
- type OneSuggestLookupResponse
- func (*OneSuggestLookupResponse) Descriptor() ([]byte, []int)deprecated
- func (m *OneSuggestLookupResponse) GetHighlightKey() isOneSuggestLookupResponse_HighlightKey
- func (x *OneSuggestLookupResponse) GetKey() string
- func (x *OneSuggestLookupResponse) GetPayload() string
- func (x *OneSuggestLookupResponse) GetSuggestLookupHighlight() *SuggestLookupHighlight
- func (x *OneSuggestLookupResponse) GetWeight() int64
- func (*OneSuggestLookupResponse) ProtoMessage()
- func (x *OneSuggestLookupResponse) ProtoReflect() protoreflect.Message
- func (x *OneSuggestLookupResponse) Reset()
- func (x *OneSuggestLookupResponse) String() string
- type OneSuggestLookupResponse_Key
- type OneSuggestLookupResponse_SuggestLookupHighlight
- type PhraseQuery
- func (*PhraseQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PhraseQuery) GetField() string
- func (x *PhraseQuery) GetSlop() int32
- func (x *PhraseQuery) GetTerms() []string
- func (*PhraseQuery) ProtoMessage()
- func (x *PhraseQuery) ProtoReflect() protoreflect.Message
- func (x *PhraseQuery) Reset()
- func (x *PhraseQuery) String() string
- type PluginRescorer
- func (*PluginRescorer) Descriptor() ([]byte, []int)deprecated
- func (x *PluginRescorer) GetName() string
- func (x *PluginRescorer) GetParams() *_struct.Struct
- func (*PluginRescorer) ProtoMessage()
- func (x *PluginRescorer) ProtoReflect() protoreflect.Message
- func (x *PluginRescorer) Reset()
- func (x *PluginRescorer) String() string
- type Point
- type ProfileResult
- func (*ProfileResult) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResult) GetDrillDownQuery() string
- func (x *ProfileResult) GetParsedQuery() string
- func (x *ProfileResult) GetRewrittenQuery() string
- func (x *ProfileResult) GetSearchStats() *ProfileResult_SearchStats
- func (*ProfileResult) ProtoMessage()
- func (x *ProfileResult) ProtoReflect() protoreflect.Message
- func (x *ProfileResult) Reset()
- func (x *ProfileResult) String() string
- type ProfileResult_AdditionalCollectorStats
- func (*ProfileResult_AdditionalCollectorStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResult_AdditionalCollectorStats) GetCollectTimeMs() float64
- func (*ProfileResult_AdditionalCollectorStats) ProtoMessage()
- func (x *ProfileResult_AdditionalCollectorStats) ProtoReflect() protoreflect.Message
- func (x *ProfileResult_AdditionalCollectorStats) Reset()
- func (x *ProfileResult_AdditionalCollectorStats) String() string
- type ProfileResult_CollectorStats
- func (*ProfileResult_CollectorStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResult_CollectorStats) GetAdditionalCollectorStats() map[string]*ProfileResult_AdditionalCollectorStats
- func (x *ProfileResult_CollectorStats) GetSegmentStats() []*ProfileResult_SegmentStats
- func (x *ProfileResult_CollectorStats) GetTerminated() bool
- func (x *ProfileResult_CollectorStats) GetTotalCollectTimeMs() float64
- func (x *ProfileResult_CollectorStats) GetTotalCollectedCount() int32
- func (*ProfileResult_CollectorStats) ProtoMessage()
- func (x *ProfileResult_CollectorStats) ProtoReflect() protoreflect.Message
- func (x *ProfileResult_CollectorStats) Reset()
- func (x *ProfileResult_CollectorStats) String() string
- type ProfileResult_SearchStats
- func (*ProfileResult_SearchStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResult_SearchStats) GetCollectorStats() []*ProfileResult_CollectorStats
- func (x *ProfileResult_SearchStats) GetTotalCollectTimeMs() float64
- func (x *ProfileResult_SearchStats) GetTotalReduceTimeMs() float64
- func (*ProfileResult_SearchStats) ProtoMessage()
- func (x *ProfileResult_SearchStats) ProtoReflect() protoreflect.Message
- func (x *ProfileResult_SearchStats) Reset()
- func (x *ProfileResult_SearchStats) String() string
- type ProfileResult_SegmentStats
- func (*ProfileResult_SegmentStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileResult_SegmentStats) GetCollectTimeMs() float64
- func (x *ProfileResult_SegmentStats) GetCollectedCount() int32
- func (x *ProfileResult_SegmentStats) GetMaxDoc() int32
- func (x *ProfileResult_SegmentStats) GetNumDocs() int32
- func (x *ProfileResult_SegmentStats) GetRelativeStartTimeMs() float64
- func (*ProfileResult_SegmentStats) ProtoMessage()
- func (x *ProfileResult_SegmentStats) ProtoReflect() protoreflect.Message
- func (x *ProfileResult_SegmentStats) Reset()
- func (x *ProfileResult_SegmentStats) String() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetBooleanQuery() *BooleanQuery
- func (x *Query) GetBoost() float32
- func (x *Query) GetDisjunctionMaxQuery() *DisjunctionMaxQuery
- func (x *Query) GetExistsQuery() *ExistsQuery
- func (x *Query) GetFunctionFilterQuery() *FunctionFilterQuery
- func (x *Query) GetFunctionScoreQuery() *FunctionScoreQuery
- func (x *Query) GetGeoBoundingBoxQuery() *GeoBoundingBoxQuery
- func (x *Query) GetGeoPointQuery() *GeoPointQuery
- func (x *Query) GetGeoRadiusQuery() *GeoRadiusQuery
- func (x *Query) GetMatchPhraseQuery() *MatchPhraseQuery
- func (x *Query) GetMatchQuery() *MatchQuery
- func (x *Query) GetMultiMatchQuery() *MultiMatchQuery
- func (x *Query) GetNestedQuery() *NestedQuery
- func (x *Query) GetPhraseQuery() *PhraseQuery
- func (m *Query) GetQueryNode() isQuery_QueryNode
- func (x *Query) GetQueryType() QueryTypedeprecated
- func (x *Query) GetRangeQuery() *RangeQuery
- func (x *Query) GetTermInSetQuery() *TermInSetQuery
- func (x *Query) GetTermQuery() *TermQuery
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type QueryRescorer
- func (*QueryRescorer) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRescorer) GetQueryWeight() float64
- func (x *QueryRescorer) GetRescoreQuery() *Query
- func (x *QueryRescorer) GetRescoreQueryWeight() float64
- func (*QueryRescorer) ProtoMessage()
- func (x *QueryRescorer) ProtoReflect() protoreflect.Message
- func (x *QueryRescorer) Reset()
- func (x *QueryRescorer) String() string
- type QuerySortField
- func (*QuerySortField) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySortField) GetDoDocScores() bool
- func (x *QuerySortField) GetDoMaxScore() bool
- func (x *QuerySortField) GetFields() *SortFields
- func (*QuerySortField) ProtoMessage()
- func (x *QuerySortField) ProtoReflect() protoreflect.Message
- func (x *QuerySortField) Reset()
- func (x *QuerySortField) String() string
- type QueryType
- type Query_BooleanQuery
- type Query_DisjunctionMaxQuery
- type Query_ExistsQuery
- type Query_FunctionFilterQuery
- type Query_FunctionScoreQuery
- type Query_GeoBoundingBoxQuery
- type Query_GeoPointQuery
- type Query_GeoRadiusQuery
- type Query_MatchPhraseQuery
- type Query_MatchQuery
- type Query_MultiMatchQuery
- type Query_NestedQuery
- type Query_PhraseQuery
- type Query_RangeQuery
- type Query_TermInSetQuery
- type Query_TermQuery
- type RangeQuery
- func (*RangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RangeQuery) GetField() string
- func (x *RangeQuery) GetLower() string
- func (x *RangeQuery) GetLowerExclusive() bool
- func (x *RangeQuery) GetUpper() string
- func (x *RangeQuery) GetUpperExclusive() bool
- func (*RangeQuery) ProtoMessage()
- func (x *RangeQuery) ProtoReflect() protoreflect.Message
- func (x *RangeQuery) Reset()
- func (x *RangeQuery) String() string
- type RawFileChunk
- func (*RawFileChunk) Descriptor() ([]byte, []int)deprecated
- func (x *RawFileChunk) GetAck() bool
- func (x *RawFileChunk) GetContent() []byte
- func (x *RawFileChunk) GetSeqNum() int32
- func (*RawFileChunk) ProtoMessage()
- func (x *RawFileChunk) ProtoReflect() protoreflect.Message
- func (x *RawFileChunk) Reset()
- func (x *RawFileChunk) String() string
- type ReadyCheckRequest
- func (*ReadyCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadyCheckRequest) GetIndexNames() string
- func (*ReadyCheckRequest) ProtoMessage()
- func (x *ReadyCheckRequest) ProtoReflect() protoreflect.Message
- func (x *ReadyCheckRequest) Reset()
- func (x *ReadyCheckRequest) String() string
- type RefreshRequest
- type RefreshResponse
- type ReleaseSnapshotRequest
- func (*ReleaseSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseSnapshotRequest) GetIndexName() string
- func (x *ReleaseSnapshotRequest) GetSnapshotId() *SnapshotId
- func (*ReleaseSnapshotRequest) ProtoMessage()
- func (x *ReleaseSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseSnapshotRequest) Reset()
- func (x *ReleaseSnapshotRequest) String() string
- type ReleaseSnapshotResponse
- func (*ReleaseSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseSnapshotResponse) GetSuccess() bool
- func (*ReleaseSnapshotResponse) ProtoMessage()
- func (x *ReleaseSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseSnapshotResponse) Reset()
- func (x *ReleaseSnapshotResponse) String() string
- type ReplicationServerClient
- type ReplicationServerServer
- type ReplicationServer_CopyFilesClient
- type ReplicationServer_CopyFilesServer
- type ReplicationServer_RecvRawFileClient
- type ReplicationServer_RecvRawFileServer
- type ReplicationServer_RecvRawFileV2Client
- type ReplicationServer_RecvRawFileV2Server
- type ReplicationServer_SendRawFileClient
- type ReplicationServer_SendRawFileServer
- type Rescorer
- func (*Rescorer) Descriptor() ([]byte, []int)deprecated
- func (x *Rescorer) GetName() string
- func (x *Rescorer) GetPluginRescorer() *PluginRescorer
- func (x *Rescorer) GetQueryRescorer() *QueryRescorer
- func (m *Rescorer) GetRescorers() isRescorer_Rescorers
- func (x *Rescorer) GetWindowSize() int32
- func (*Rescorer) ProtoMessage()
- func (x *Rescorer) ProtoReflect() protoreflect.Message
- func (x *Rescorer) Reset()
- func (x *Rescorer) String() string
- type Rescorer_PluginRescorer
- type Rescorer_QueryRescorer
- type RestoreIndex
- func (*RestoreIndex) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreIndex) GetDeleteExistingData() bool
- func (x *RestoreIndex) GetResourceName() string
- func (x *RestoreIndex) GetServiceName() string
- func (*RestoreIndex) ProtoMessage()
- func (x *RestoreIndex) ProtoReflect() protoreflect.Message
- func (x *RestoreIndex) Reset()
- func (x *RestoreIndex) String() string
- type Script
- func (*Script) Descriptor() ([]byte, []int)deprecated
- func (x *Script) GetLang() string
- func (x *Script) GetParams() map[string]*Script_ParamValue
- func (x *Script) GetSource() string
- func (*Script) ProtoMessage()
- func (x *Script) ProtoReflect() protoreflect.Message
- func (x *Script) Reset()
- func (x *Script) String() string
- type Script_ParamListValue
- func (*Script_ParamListValue) Descriptor() ([]byte, []int)deprecated
- func (x *Script_ParamListValue) GetValues() []*Script_ParamValue
- func (*Script_ParamListValue) ProtoMessage()
- func (x *Script_ParamListValue) ProtoReflect() protoreflect.Message
- func (x *Script_ParamListValue) Reset()
- func (x *Script_ParamListValue) String() string
- type Script_ParamNullValue
- func (Script_ParamNullValue) Descriptor() protoreflect.EnumDescriptor
- func (x Script_ParamNullValue) Enum() *Script_ParamNullValue
- func (Script_ParamNullValue) EnumDescriptor() ([]byte, []int)deprecated
- func (x Script_ParamNullValue) Number() protoreflect.EnumNumber
- func (x Script_ParamNullValue) String() string
- func (Script_ParamNullValue) Type() protoreflect.EnumType
- type Script_ParamStructValue
- func (*Script_ParamStructValue) Descriptor() ([]byte, []int)deprecated
- func (x *Script_ParamStructValue) GetFields() map[string]*Script_ParamValue
- func (*Script_ParamStructValue) ProtoMessage()
- func (x *Script_ParamStructValue) ProtoReflect() protoreflect.Message
- func (x *Script_ParamStructValue) Reset()
- func (x *Script_ParamStructValue) String() string
- type Script_ParamValue
- func (*Script_ParamValue) Descriptor() ([]byte, []int)deprecated
- func (x *Script_ParamValue) GetBooleanValue() bool
- func (x *Script_ParamValue) GetDoubleValue() float64
- func (x *Script_ParamValue) GetFloatValue() float32
- func (x *Script_ParamValue) GetIntValue() int32
- func (x *Script_ParamValue) GetListValue() *Script_ParamListValue
- func (x *Script_ParamValue) GetLongValue() int64
- func (x *Script_ParamValue) GetNullValue() Script_ParamNullValue
- func (m *Script_ParamValue) GetParamValues() isScript_ParamValue_ParamValues
- func (x *Script_ParamValue) GetStructValue() *Script_ParamStructValue
- func (x *Script_ParamValue) GetTextValue() string
- func (*Script_ParamValue) ProtoMessage()
- func (x *Script_ParamValue) ProtoReflect() protoreflect.Message
- func (x *Script_ParamValue) Reset()
- func (x *Script_ParamValue) String() string
- type Script_ParamValue_BooleanValue
- type Script_ParamValue_DoubleValue
- type Script_ParamValue_FloatValue
- type Script_ParamValue_IntValue
- type Script_ParamValue_ListValue
- type Script_ParamValue_LongValue
- type Script_ParamValue_NullValue
- type Script_ParamValue_StructValue
- type Script_ParamValue_TextValue
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetCollectors() map[string]*Collector
- func (x *SearchRequest) GetDisallowPartialResults() bool
- func (x *SearchRequest) GetFacets() []*Facet
- func (x *SearchRequest) GetFetchTasks() []*FetchTask
- func (x *SearchRequest) GetIndexGen() int64
- func (x *SearchRequest) GetIndexName() string
- func (x *SearchRequest) GetProfile() bool
- func (x *SearchRequest) GetQuery() *Query
- func (x *SearchRequest) GetQueryNestedPath() string
- func (x *SearchRequest) GetQuerySort() *QuerySortField
- func (x *SearchRequest) GetQueryText() string
- func (x *SearchRequest) GetRescorers() []*Rescorer
- func (x *SearchRequest) GetResponseCompression() string
- func (x *SearchRequest) GetRetrieveFields() []string
- func (m *SearchRequest) GetSearcher() isSearchRequest_Searcher
- func (x *SearchRequest) GetSnapshot() string
- func (x *SearchRequest) GetStartHit() int32
- func (x *SearchRequest) GetTerminateAfter() int32
- func (x *SearchRequest) GetTimeoutCheckEvery() int32
- func (x *SearchRequest) GetTimeoutSec() float64
- func (x *SearchRequest) GetTopHits() int32
- func (x *SearchRequest) GetTotalHitsThreshold() int32
- func (x *SearchRequest) GetVersion() int64
- func (x *SearchRequest) GetVirtualFields() []*VirtualField
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchRequest_IndexGen
- type SearchRequest_Snapshot
- type SearchRequest_Version
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetCollectorResults() map[string]*CollectorResult
- func (x *SearchResponse) GetDiagnostics() *SearchResponse_Diagnostics
- func (x *SearchResponse) GetFacetResult() []*FacetResult
- func (x *SearchResponse) GetHitTimeout() bool
- func (x *SearchResponse) GetHits() []*SearchResponse_Hit
- func (x *SearchResponse) GetProfileResult() *ProfileResult
- func (x *SearchResponse) GetSearchState() *SearchResponse_SearchState
- func (x *SearchResponse) GetTerminatedEarly() bool
- func (x *SearchResponse) GetTotalHits() *TotalHits
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type SearchResponse_Diagnostics
- func (*SearchResponse_Diagnostics) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Diagnostics) GetDrillDownQuery() stringdeprecated
- func (x *SearchResponse_Diagnostics) GetFacetTimeMs() map[string]float64
- func (x *SearchResponse_Diagnostics) GetFirstPassSearchTimeMs() float64
- func (x *SearchResponse_Diagnostics) GetGetFieldsTimeMs() float64
- func (x *SearchResponse_Diagnostics) GetHighlightTimeMs() float64
- func (x *SearchResponse_Diagnostics) GetNewSnapshotSearcherOpenMs() float64
- func (x *SearchResponse_Diagnostics) GetNrtWaitTimeMs() float64
- func (x *SearchResponse_Diagnostics) GetParsedQuery() stringdeprecated
- func (x *SearchResponse_Diagnostics) GetRescoreTimeMs() float64
- func (x *SearchResponse_Diagnostics) GetRescorersTimeMs() map[string]float64
- func (x *SearchResponse_Diagnostics) GetRewrittenQuery() stringdeprecated
- func (*SearchResponse_Diagnostics) ProtoMessage()
- func (x *SearchResponse_Diagnostics) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Diagnostics) Reset()
- func (x *SearchResponse_Diagnostics) String() string
- type SearchResponse_Hit
- func (*SearchResponse_Hit) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Hit) GetFields() map[string]*SearchResponse_Hit_CompositeFieldValue
- func (x *SearchResponse_Hit) GetLuceneDocId() int32
- func (x *SearchResponse_Hit) GetScore() float64
- func (x *SearchResponse_Hit) GetSortedFields() map[string]*SearchResponse_Hit_CompositeFieldValue
- func (*SearchResponse_Hit) ProtoMessage()
- func (x *SearchResponse_Hit) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Hit) Reset()
- func (x *SearchResponse_Hit) String() string
- type SearchResponse_Hit_CompositeFieldValue
- func (*SearchResponse_Hit_CompositeFieldValue) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Hit_CompositeFieldValue) GetFieldValue() []*SearchResponse_Hit_FieldValue
- func (*SearchResponse_Hit_CompositeFieldValue) ProtoMessage()
- func (x *SearchResponse_Hit_CompositeFieldValue) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Hit_CompositeFieldValue) Reset()
- func (x *SearchResponse_Hit_CompositeFieldValue) String() string
- type SearchResponse_Hit_FieldValue
- func (*SearchResponse_Hit_FieldValue) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Hit_FieldValue) GetBooleanValue() bool
- func (x *SearchResponse_Hit_FieldValue) GetDoubleValue() float64
- func (m *SearchResponse_Hit_FieldValue) GetFieldValues() isSearchResponse_Hit_FieldValue_FieldValues
- func (x *SearchResponse_Hit_FieldValue) GetFloatValue() float32
- func (x *SearchResponse_Hit_FieldValue) GetIntValue() int32
- func (x *SearchResponse_Hit_FieldValue) GetLatLngValue() *latlng.LatLng
- func (x *SearchResponse_Hit_FieldValue) GetLongValue() int64
- func (x *SearchResponse_Hit_FieldValue) GetStructValue() *_struct.Struct
- func (x *SearchResponse_Hit_FieldValue) GetTextValue() string
- func (*SearchResponse_Hit_FieldValue) ProtoMessage()
- func (x *SearchResponse_Hit_FieldValue) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Hit_FieldValue) Reset()
- func (x *SearchResponse_Hit_FieldValue) String() string
- type SearchResponse_Hit_FieldValue_BooleanValue
- type SearchResponse_Hit_FieldValue_DoubleValue
- type SearchResponse_Hit_FieldValue_FloatValue
- type SearchResponse_Hit_FieldValue_IntValue
- type SearchResponse_Hit_FieldValue_LatLngValue
- type SearchResponse_Hit_FieldValue_LongValue
- type SearchResponse_Hit_FieldValue_StructValue
- type SearchResponse_Hit_FieldValue_TextValue
- type SearchResponse_SearchState
- func (*SearchResponse_SearchState) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_SearchState) GetLastDocId() int32
- func (x *SearchResponse_SearchState) GetLastFieldValues() []string
- func (x *SearchResponse_SearchState) GetLastScore() float32
- func (x *SearchResponse_SearchState) GetSearcherVersion() int64
- func (x *SearchResponse_SearchState) GetTimestamp() int64
- func (*SearchResponse_SearchState) ProtoMessage()
- func (x *SearchResponse_SearchState) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_SearchState) Reset()
- func (x *SearchResponse_SearchState) String() string
- type Searcher
- func (*Searcher) Descriptor() ([]byte, []int)deprecated
- func (x *Searcher) GetNumDocs() int32
- func (x *Searcher) GetNumSegments() int32
- func (x *Searcher) GetSegments() string
- func (x *Searcher) GetStaleAgeSeconds() float64
- func (x *Searcher) GetVersion() int64
- func (*Searcher) ProtoMessage()
- func (x *Searcher) ProtoReflect() protoreflect.Message
- func (x *Searcher) Reset()
- func (x *Searcher) String() string
- type SearcherVersion
- func (*SearcherVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SearcherVersion) GetDidRefresh() bool
- func (x *SearcherVersion) GetVersion() int64
- func (*SearcherVersion) ProtoMessage()
- func (x *SearcherVersion) ProtoReflect() protoreflect.Message
- func (x *SearcherVersion) Reset()
- func (x *SearcherVersion) String() string
- type Selector
- type SettingsRequest
- func (*SettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsRequest) GetConcurrentMergeSchedulerMaxMergeCount() int32
- func (x *SettingsRequest) GetConcurrentMergeSchedulerMaxThreadCount() int32
- func (x *SettingsRequest) GetDirectory() string
- func (x *SettingsRequest) GetIndexMergeSchedulerAutoThrottle() bool
- func (x *SettingsRequest) GetIndexName() string
- func (x *SettingsRequest) GetIndexSort() *SortFields
- func (x *SettingsRequest) GetIndexVerbose() booldeprecated
- func (x *SettingsRequest) GetMergeMaxMBPerSec() float64
- func (x *SettingsRequest) GetNormsFormat() string
- func (x *SettingsRequest) GetNrtCachingDirectoryMaxMergeSizeMB() float64
- func (x *SettingsRequest) GetNrtCachingDirectoryMaxSizeMB() float64
- func (*SettingsRequest) ProtoMessage()
- func (x *SettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SettingsRequest) Reset()
- func (x *SettingsRequest) String() string
- type SettingsResponse
- type SnapshotId
- func (*SnapshotId) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotId) GetIndexGen() int64
- func (x *SnapshotId) GetStateGen() int64
- func (x *SnapshotId) GetTaxonomyGen() int64
- func (*SnapshotId) ProtoMessage()
- func (x *SnapshotId) ProtoReflect() protoreflect.Message
- func (x *SnapshotId) Reset()
- func (x *SnapshotId) String() string
- type SortFields
- type SortType
- func (*SortType) Descriptor() ([]byte, []int)deprecated
- func (x *SortType) GetFieldName() string
- func (x *SortType) GetMissingLat() bool
- func (x *SortType) GetOrigin() *Point
- func (x *SortType) GetReverse() bool
- func (x *SortType) GetSelector() Selector
- func (*SortType) ProtoMessage()
- func (x *SortType) ProtoReflect() protoreflect.Message
- func (x *SortType) Reset()
- func (x *SortType) String() string
- type StartIndexRequest
- func (*StartIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartIndexRequest) GetIndexName() string
- func (x *StartIndexRequest) GetMode() Mode
- func (x *StartIndexRequest) GetPort() int32
- func (x *StartIndexRequest) GetPrimaryAddress() string
- func (x *StartIndexRequest) GetPrimaryGen() int64
- func (x *StartIndexRequest) GetRestore() *RestoreIndex
- func (*StartIndexRequest) ProtoMessage()
- func (x *StartIndexRequest) ProtoReflect() protoreflect.Message
- func (x *StartIndexRequest) Reset()
- func (x *StartIndexRequest) String() string
- type StartIndexResponse
- func (*StartIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartIndexResponse) GetMaxDoc() int32
- func (x *StartIndexResponse) GetNumDocs() int32
- func (x *StartIndexResponse) GetSegments() string
- func (x *StartIndexResponse) GetStartTimeMS() float64
- func (*StartIndexResponse) ProtoMessage()
- func (x *StartIndexResponse) ProtoReflect() protoreflect.Message
- func (x *StartIndexResponse) Reset()
- func (x *StartIndexResponse) String() string
- type StateRequest
- type StateResponse
- type StatsRequest
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatsResponse) GetCurrentSearcher() *Searcher
- func (x *StatsResponse) GetDirSize() int64
- func (x *StatsResponse) GetMaxDoc() int32
- func (x *StatsResponse) GetNumDocs() int32
- func (x *StatsResponse) GetOrd() int32
- func (x *StatsResponse) GetSearchers() []*Searcher
- func (x *StatsResponse) GetState() string
- func (x *StatsResponse) GetTaxonomy() *Taxonomy
- func (*StatsResponse) ProtoMessage()
- func (x *StatsResponse) ProtoReflect() protoreflect.Message
- func (x *StatsResponse) Reset()
- func (x *StatsResponse) String() string
- type StopIndexRequest
- type SuggestLocalSource
- func (*SuggestLocalSource) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestLocalSource) GetHasContexts() bool
- func (x *SuggestLocalSource) GetHasMultiSearchText() bool
- func (x *SuggestLocalSource) GetHasPayload() bool
- func (x *SuggestLocalSource) GetLocalFile() string
- func (*SuggestLocalSource) ProtoMessage()
- func (x *SuggestLocalSource) ProtoReflect() protoreflect.Message
- func (x *SuggestLocalSource) Reset()
- func (x *SuggestLocalSource) String() string
- type SuggestLookupHighlight
- func (*SuggestLookupHighlight) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestLookupHighlight) GetOneHighlight() []*OneHighlight
- func (*SuggestLookupHighlight) ProtoMessage()
- func (x *SuggestLookupHighlight) ProtoReflect() protoreflect.Message
- func (x *SuggestLookupHighlight) Reset()
- func (x *SuggestLookupHighlight) String() string
- type SuggestLookupRequest
- func (*SuggestLookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestLookupRequest) GetAllTermsRequired() bool
- func (x *SuggestLookupRequest) GetContexts() []string
- func (x *SuggestLookupRequest) GetCount() int32
- func (x *SuggestLookupRequest) GetHighlight() bool
- func (x *SuggestLookupRequest) GetIndexName() string
- func (x *SuggestLookupRequest) GetSuggestName() string
- func (x *SuggestLookupRequest) GetText() string
- func (*SuggestLookupRequest) ProtoMessage()
- func (x *SuggestLookupRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestLookupRequest) Reset()
- func (x *SuggestLookupRequest) String() string
- type SuggestLookupResponse
- func (*SuggestLookupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestLookupResponse) GetResults() []*OneSuggestLookupResponse
- func (*SuggestLookupResponse) ProtoMessage()
- func (x *SuggestLookupResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestLookupResponse) Reset()
- func (x *SuggestLookupResponse) String() string
- type SuggestNonLocalSource
- func (*SuggestNonLocalSource) Descriptor() ([]byte, []int)deprecated
- func (x *SuggestNonLocalSource) GetContextField() string
- func (x *SuggestNonLocalSource) GetIndexGen() int64
- func (x *SuggestNonLocalSource) GetPayloadField() string
- func (x *SuggestNonLocalSource) GetSearchTextField() string
- func (m *SuggestNonLocalSource) GetSearcher() isSuggestNonLocalSource_Searcher
- func (x *SuggestNonLocalSource) GetSnapshot() string
- func (x *SuggestNonLocalSource) GetSuggestField() string
- func (x *SuggestNonLocalSource) GetVersion() int64
- func (m *SuggestNonLocalSource) GetWeight() isSuggestNonLocalSource_Weight
- func (x *SuggestNonLocalSource) GetWeightExpression() string
- func (x *SuggestNonLocalSource) GetWeightField() string
- func (*SuggestNonLocalSource) ProtoMessage()
- func (x *SuggestNonLocalSource) ProtoReflect() protoreflect.Message
- func (x *SuggestNonLocalSource) Reset()
- func (x *SuggestNonLocalSource) String() string
- type SuggestNonLocalSource_IndexGen
- type SuggestNonLocalSource_Snapshot
- type SuggestNonLocalSource_Version
- type SuggestNonLocalSource_WeightExpression
- type SuggestNonLocalSource_WeightField
- type Taxonomy
- type TermInSetQuery
- func (*TermInSetQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery) GetDoubleTerms() *TermInSetQuery_DoubleTerms
- func (x *TermInSetQuery) GetField() string
- func (x *TermInSetQuery) GetFloatTerms() *TermInSetQuery_FloatTerms
- func (x *TermInSetQuery) GetIntTerms() *TermInSetQuery_IntTerms
- func (x *TermInSetQuery) GetLongTerms() *TermInSetQuery_LongTerms
- func (m *TermInSetQuery) GetTermTypes() isTermInSetQuery_TermTypes
- func (x *TermInSetQuery) GetTextTerms() *TermInSetQuery_TextTerms
- func (*TermInSetQuery) ProtoMessage()
- func (x *TermInSetQuery) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery) Reset()
- func (x *TermInSetQuery) String() string
- type TermInSetQuery_DoubleTerms
- func (*TermInSetQuery_DoubleTerms) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery_DoubleTerms) GetTerms() []float64
- func (*TermInSetQuery_DoubleTerms) ProtoMessage()
- func (x *TermInSetQuery_DoubleTerms) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery_DoubleTerms) Reset()
- func (x *TermInSetQuery_DoubleTerms) String() string
- type TermInSetQuery_DoubleTerms_
- type TermInSetQuery_FloatTerms
- func (*TermInSetQuery_FloatTerms) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery_FloatTerms) GetTerms() []float32
- func (*TermInSetQuery_FloatTerms) ProtoMessage()
- func (x *TermInSetQuery_FloatTerms) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery_FloatTerms) Reset()
- func (x *TermInSetQuery_FloatTerms) String() string
- type TermInSetQuery_FloatTerms_
- type TermInSetQuery_IntTerms
- func (*TermInSetQuery_IntTerms) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery_IntTerms) GetTerms() []int32
- func (*TermInSetQuery_IntTerms) ProtoMessage()
- func (x *TermInSetQuery_IntTerms) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery_IntTerms) Reset()
- func (x *TermInSetQuery_IntTerms) String() string
- type TermInSetQuery_IntTerms_
- type TermInSetQuery_LongTerms
- func (*TermInSetQuery_LongTerms) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery_LongTerms) GetTerms() []int64
- func (*TermInSetQuery_LongTerms) ProtoMessage()
- func (x *TermInSetQuery_LongTerms) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery_LongTerms) Reset()
- func (x *TermInSetQuery_LongTerms) String() string
- type TermInSetQuery_LongTerms_
- type TermInSetQuery_TextTerms
- func (*TermInSetQuery_TextTerms) Descriptor() ([]byte, []int)deprecated
- func (x *TermInSetQuery_TextTerms) GetTerms() []string
- func (*TermInSetQuery_TextTerms) ProtoMessage()
- func (x *TermInSetQuery_TextTerms) ProtoReflect() protoreflect.Message
- func (x *TermInSetQuery_TextTerms) Reset()
- func (x *TermInSetQuery_TextTerms) String() string
- type TermInSetQuery_TextTerms_
- type TermQuery
- func (*TermQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TermQuery) GetBooleanValue() bool
- func (x *TermQuery) GetDoubleValue() float64
- func (x *TermQuery) GetField() string
- func (x *TermQuery) GetFloatValue() float32
- func (x *TermQuery) GetIntValue() int32
- func (x *TermQuery) GetLongValue() int64
- func (m *TermQuery) GetTermTypes() isTermQuery_TermTypes
- func (x *TermQuery) GetTextValue() string
- func (*TermQuery) ProtoMessage()
- func (x *TermQuery) ProtoReflect() protoreflect.Message
- func (x *TermQuery) Reset()
- func (x *TermQuery) String() string
- type TermQuery_BooleanValue
- type TermQuery_DoubleValue
- type TermQuery_FloatValue
- type TermQuery_IntValue
- type TermQuery_LongValue
- type TermQuery_TextValue
- type TermVectors
- func (TermVectors) Descriptor() protoreflect.EnumDescriptor
- func (x TermVectors) Enum() *TermVectors
- func (TermVectors) EnumDescriptor() ([]byte, []int)deprecated
- func (x TermVectors) Number() protoreflect.EnumNumber
- func (x TermVectors) String() string
- func (TermVectors) Type() protoreflect.EnumType
- type TermsCollector
- func (*TermsCollector) Descriptor() ([]byte, []int)deprecated
- func (x *TermsCollector) GetField() string
- func (x *TermsCollector) GetScript() *Script
- func (x *TermsCollector) GetSize() int32
- func (m *TermsCollector) GetTermsSource() isTermsCollector_TermsSource
- func (*TermsCollector) ProtoMessage()
- func (x *TermsCollector) ProtoReflect() protoreflect.Message
- func (x *TermsCollector) Reset()
- func (x *TermsCollector) String() string
- type TermsCollector_Field
- type TermsCollector_Script
- type TotalHits
- type TotalHits_Relation
- func (TotalHits_Relation) Descriptor() protoreflect.EnumDescriptor
- func (x TotalHits_Relation) Enum() *TotalHits_Relation
- func (TotalHits_Relation) EnumDescriptor() ([]byte, []int)deprecated
- func (x TotalHits_Relation) Number() protoreflect.EnumNumber
- func (x TotalHits_Relation) String() string
- func (TotalHits_Relation) Type() protoreflect.EnumType
- type TransferStatus
- func (*TransferStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TransferStatus) GetCode() TransferStatusCode
- func (x *TransferStatus) GetMessage() string
- func (*TransferStatus) ProtoMessage()
- func (x *TransferStatus) ProtoReflect() protoreflect.Message
- func (x *TransferStatus) Reset()
- func (x *TransferStatus) String() string
- type TransferStatusCode
- func (TransferStatusCode) Descriptor() protoreflect.EnumDescriptor
- func (x TransferStatusCode) Enum() *TransferStatusCode
- func (TransferStatusCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransferStatusCode) Number() protoreflect.EnumNumber
- func (x TransferStatusCode) String() string
- func (TransferStatusCode) Type() protoreflect.EnumType
- type UnimplementedLuceneServerServer
- func (*UnimplementedLuceneServerServer) AddDocuments(LuceneServer_AddDocumentsServer) error
- func (*UnimplementedLuceneServerServer) BackupIndex(context.Context, *BackupIndexRequest) (*BackupIndexResponse, error)
- func (*UnimplementedLuceneServerServer) BackupWarmingQueries(context.Context, *BackupWarmingQueriesRequest) (*BackupWarmingQueriesResponse, error)
- func (*UnimplementedLuceneServerServer) BuildSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error)
- func (*UnimplementedLuceneServerServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
- func (*UnimplementedLuceneServerServer) CreateIndex(context.Context, *CreateIndexRequest) (*CreateIndexResponse, error)
- func (*UnimplementedLuceneServerServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
- func (*UnimplementedLuceneServerServer) Delete(context.Context, *AddDocumentRequest) (*AddDocumentResponse, error)
- func (*UnimplementedLuceneServerServer) DeleteAll(context.Context, *DeleteAllDocumentsRequest) (*DeleteAllDocumentsResponse, error)
- func (*UnimplementedLuceneServerServer) DeleteByQuery(context.Context, *DeleteByQueryRequest) (*AddDocumentResponse, error)
- func (*UnimplementedLuceneServerServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*DeleteIndexResponse, error)
- func (*UnimplementedLuceneServerServer) DeleteIndexBackup(context.Context, *DeleteIndexBackupRequest) (*DeleteIndexBackupResponse, error)
- func (*UnimplementedLuceneServerServer) ForceMerge(context.Context, *ForceMergeRequest) (*ForceMergeResponse, error)
- func (*UnimplementedLuceneServerServer) ForceMergeDeletes(context.Context, *ForceMergeDeletesRequest) (*ForceMergeDeletesResponse, error)
- func (*UnimplementedLuceneServerServer) GetAllSnapshotIndexGen(context.Context, *GetAllSnapshotGenRequest) (*GetAllSnapshotGenResponse, error)
- func (*UnimplementedLuceneServerServer) Indices(context.Context, *IndicesRequest) (*IndicesResponse, error)
- func (*UnimplementedLuceneServerServer) LiveSettings(context.Context, *LiveSettingsRequest) (*LiveSettingsResponse, error)
- func (*UnimplementedLuceneServerServer) Metrics(context.Context, *empty.Empty) (*httpbody.HttpBody, error)
- func (*UnimplementedLuceneServerServer) Ready(context.Context, *ReadyCheckRequest) (*HealthCheckResponse, error)
- func (*UnimplementedLuceneServerServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
- func (*UnimplementedLuceneServerServer) RegisterFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error)
- func (*UnimplementedLuceneServerServer) ReleaseSnapshot(context.Context, *ReleaseSnapshotRequest) (*ReleaseSnapshotResponse, error)
- func (*UnimplementedLuceneServerServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- func (*UnimplementedLuceneServerServer) SearchV2(context.Context, *SearchRequest) (*any.Any, error)
- func (*UnimplementedLuceneServerServer) Settings(context.Context, *SettingsRequest) (*SettingsResponse, error)
- func (*UnimplementedLuceneServerServer) StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error)
- func (*UnimplementedLuceneServerServer) State(context.Context, *StateRequest) (*StateResponse, error)
- func (*UnimplementedLuceneServerServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error)
- func (*UnimplementedLuceneServerServer) Status(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (*UnimplementedLuceneServerServer) StopIndex(context.Context, *StopIndexRequest) (*DummyResponse, error)
- func (*UnimplementedLuceneServerServer) SuggestLookup(context.Context, *SuggestLookupRequest) (*SuggestLookupResponse, error)
- func (*UnimplementedLuceneServerServer) UpdateFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error)
- func (*UnimplementedLuceneServerServer) UpdateSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error)
- type UnimplementedReplicationServerServer
- func (*UnimplementedReplicationServerServer) AddReplicas(context.Context, *AddReplicaRequest) (*AddReplicaResponse, error)
- func (*UnimplementedReplicationServerServer) CopyFiles(*CopyFiles, ReplicationServer_CopyFilesServer) error
- func (*UnimplementedReplicationServerServer) GetConnectedNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
- func (*UnimplementedReplicationServerServer) GetCurrentSearcherVersion(context.Context, *IndexName) (*SearcherVersion, error)
- func (*UnimplementedReplicationServerServer) NewNRTPoint(context.Context, *NewNRTPoint) (*TransferStatus, error)
- func (*UnimplementedReplicationServerServer) RecvCopyState(context.Context, *CopyStateRequest) (*CopyState, error)
- func (*UnimplementedReplicationServerServer) RecvRawFile(*FileInfo, ReplicationServer_RecvRawFileServer) error
- func (*UnimplementedReplicationServerServer) RecvRawFileV2(ReplicationServer_RecvRawFileV2Server) error
- func (*UnimplementedReplicationServerServer) SendRawFile(ReplicationServer_SendRawFileServer) error
- func (*UnimplementedReplicationServerServer) WriteNRTPoint(context.Context, *IndexName) (*SearcherVersion, error)
- type VirtualField
- func (*VirtualField) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualField) GetName() string
- func (x *VirtualField) GetScript() *Script
- func (*VirtualField) ProtoMessage()
- func (x *VirtualField) ProtoReflect() protoreflect.Message
- func (x *VirtualField) Reset()
- func (x *VirtualField) String() string
Constants ¶
This section is empty.
Variables ¶
var ( FieldType_name = map[int32]string{ 0: "ATOM", 1: "TEXT", 2: "BOOLEAN", 3: "LONG", 4: "INT", 5: "DOUBLE", 6: "FLOAT", 7: "LAT_LON", 8: "DATE_TIME", 9: "VIRTUAL", 10: "INTERNAL", 11: "CUSTOM", 12: "_ID", 13: "POLYGON", 14: "OBJECT", } FieldType_value = map[string]int32{ "ATOM": 0, "TEXT": 1, "BOOLEAN": 2, "LONG": 3, "INT": 4, "DOUBLE": 5, "FLOAT": 6, "LAT_LON": 7, "DATE_TIME": 8, "VIRTUAL": 9, "INTERNAL": 10, "CUSTOM": 11, "_ID": 12, "POLYGON": 13, "OBJECT": 14, } )
Enum value maps for FieldType.
var ( IndexOptions_name = map[int32]string{ 0: "DOCS_FREQS_POSITIONS", 1: "DOCS", 2: "DOCS_FREQS", 3: "DOCS_FREQS_POSITIONS_OFFSETS", } IndexOptions_value = map[string]int32{ "DOCS_FREQS_POSITIONS": 0, "DOCS": 1, "DOCS_FREQS": 2, "DOCS_FREQS_POSITIONS_OFFSETS": 3, } )
Enum value maps for IndexOptions.
var ( TermVectors_name = map[int32]string{ 0: "NO_TERMVECTORS", 1: "TERMS", 2: "TERMS_POSITIONS", 3: "TERMS_POSITIONS_OFFSETS", 4: "TERMS_POSITIONS_OFFSETS_PAYLOADS", } TermVectors_value = map[string]int32{ "NO_TERMVECTORS": 0, "TERMS": 1, "TERMS_POSITIONS": 2, "TERMS_POSITIONS_OFFSETS": 3, "TERMS_POSITIONS_OFFSETS_PAYLOADS": 4, } )
Enum value maps for TermVectors.
var ( FacetType_name = map[int32]string{ 0: "NO_FACETS", 1: "FLAT", 2: "HIERARCHY", 3: "NUMERIC_RANGE", 4: "SORTED_SET_DOC_VALUES", } FacetType_value = map[string]int32{ "NO_FACETS": 0, "FLAT": 1, "HIERARCHY": 2, "NUMERIC_RANGE": 3, "SORTED_SET_DOC_VALUES": 4, } )
Enum value maps for FacetType.
var ( Mode_name = map[int32]string{ 0: "STANDALONE", 1: "PRIMARY", 2: "REPLICA", } Mode_value = map[string]int32{ "STANDALONE": 0, "PRIMARY": 1, "REPLICA": 2, } )
Enum value maps for Mode.
var ( TransferStatusCode_name = map[int32]string{ 0: "Unknown", 1: "Done", 2: "Failed", 3: "Ongoing", } TransferStatusCode_value = map[string]int32{ "Unknown": 0, "Done": 1, "Failed": 2, "Ongoing": 3, } )
Enum value maps for TransferStatusCode.
var ( ForceMergeResponse_Status_name = map[int32]string{ 0: "FORCE_MERGE_COMPLETED", 1: "FORCE_MERGE_SUBMITTED", } ForceMergeResponse_Status_value = map[string]int32{ "FORCE_MERGE_COMPLETED": 0, "FORCE_MERGE_SUBMITTED": 1, } )
Enum value maps for ForceMergeResponse_Status.
var ( ForceMergeDeletesResponse_Status_name = map[int32]string{ 0: "FORCE_MERGE_DELETES_COMPLETED", 1: "FORCE_MERGE_DELETES_SUBMITTED", } ForceMergeDeletesResponse_Status_value = map[string]int32{ "FORCE_MERGE_DELETES_COMPLETED": 0, "FORCE_MERGE_DELETES_SUBMITTED": 1, } )
Enum value maps for ForceMergeDeletesResponse_Status.
var ( MatchOperator_name = map[int32]string{ 0: "SHOULD", 1: "MUST", } MatchOperator_value = map[string]int32{ "SHOULD": 0, "MUST": 1, } )
Enum value maps for MatchOperator.
var ( QueryType_name = map[int32]string{ 0: "NONE", 1: "BOOLEAN_QUERY", 2: "PHRASE_QUERY", 3: "FUNCTION_SCORE_QUERY", 4: "TERM_QUERY", 5: "TERM_IN_SET_QUERY", 6: "DISJUNCTION_MAX", 7: "MATCH", 8: "MATCH_PHRASE", 9: "MULTI_MATCH", 10: "RANGE", 11: "GEO_BOUNDING_BOX", 12: "GEO_POINT", 13: "NESTED", 14: "EXISTS", 15: "GEO_RADIUS", } QueryType_value = map[string]int32{ "NONE": 0, "BOOLEAN_QUERY": 1, "PHRASE_QUERY": 2, "FUNCTION_SCORE_QUERY": 3, "TERM_QUERY": 4, "TERM_IN_SET_QUERY": 5, "DISJUNCTION_MAX": 6, "MATCH": 7, "MATCH_PHRASE": 8, "MULTI_MATCH": 9, "RANGE": 10, "GEO_BOUNDING_BOX": 11, "GEO_POINT": 12, "NESTED": 13, "EXISTS": 14, "GEO_RADIUS": 15, } )
Enum value maps for QueryType.
var ( Selector_name = map[int32]string{ 0: "MIN", 1: "MAX", 2: "MIDDLE_MIN", 3: "MIDDLE_MAX", } Selector_value = map[string]int32{ "MIN": 0, "MAX": 1, "MIDDLE_MIN": 2, "MIDDLE_MAX": 3, } )
Enum value maps for Selector.
var ( BooleanClause_Occur_name = map[int32]string{ 0: "SHOULD", 1: "MUST", 2: "FILTER", 3: "MUST_NOT", } BooleanClause_Occur_value = map[string]int32{ "SHOULD": 0, "MUST": 1, "FILTER": 2, "MUST_NOT": 3, } )
Enum value maps for BooleanClause_Occur.
var ( NestedQuery_ScoreMode_name = map[int32]string{ 0: "NONE", 1: "AVG", 2: "MAX", 3: "MIN", 4: "SUM", } NestedQuery_ScoreMode_value = map[string]int32{ "NONE": 0, "AVG": 1, "MAX": 2, "MIN": 3, "SUM": 4, } )
Enum value maps for NestedQuery_ScoreMode.
var ( Script_ParamNullValue_name = map[int32]string{ 0: "NULL_VALUE", } Script_ParamNullValue_value = map[string]int32{ "NULL_VALUE": 0, } )
Enum value maps for Script_ParamNullValue.
var ( TotalHits_Relation_name = map[int32]string{ 0: "EQUAL_TO", 1: "GREATER_THAN_OR_EQUAL_TO", } TotalHits_Relation_value = map[string]int32{ "EQUAL_TO": 0, "GREATER_THAN_OR_EQUAL_TO": 1, } )
Enum value maps for TotalHits_Relation.
var File_yelp_nrtsearch_analysis_proto protoreflect.FileDescriptor
var File_yelp_nrtsearch_luceneserver_proto protoreflect.FileDescriptor
var File_yelp_nrtsearch_search_proto protoreflect.FileDescriptor
var File_yelp_nrtsearch_suggest_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLuceneServerHandler ¶
func RegisterLuceneServerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLuceneServerHandler registers the http handlers for service LuceneServer to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLuceneServerHandlerClient ¶
func RegisterLuceneServerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LuceneServerClient) error
RegisterLuceneServerHandlerClient registers the http handlers for service LuceneServer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LuceneServerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LuceneServerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LuceneServerClient" to call the correct interceptors.
func RegisterLuceneServerHandlerFromEndpoint ¶
func RegisterLuceneServerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLuceneServerHandlerFromEndpoint is same as RegisterLuceneServerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLuceneServerHandlerServer ¶
func RegisterLuceneServerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LuceneServerServer) error
RegisterLuceneServerHandlerServer registers the http handlers for service LuceneServer to "mux". UnaryRPC :call LuceneServerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLuceneServerHandlerFromEndpoint instead.
func RegisterLuceneServerServer ¶
func RegisterLuceneServerServer(s *grpc.Server, srv LuceneServerServer)
func RegisterReplicationServerServer ¶
func RegisterReplicationServerServer(s *grpc.Server, srv ReplicationServerServer)
Types ¶
type AddDocumentRequest ¶
type AddDocumentRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //name of the index Fields map[string]*AddDocumentRequest_MultiValuedField `` //map of field name to a list of string values. /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AddDocumentRequest) Descriptor
deprecated
func (*AddDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentRequest.ProtoReflect.Descriptor instead.
func (*AddDocumentRequest) GetFields ¶
func (x *AddDocumentRequest) GetFields() map[string]*AddDocumentRequest_MultiValuedField
func (*AddDocumentRequest) GetIndexName ¶
func (x *AddDocumentRequest) GetIndexName() string
func (*AddDocumentRequest) ProtoMessage ¶
func (*AddDocumentRequest) ProtoMessage()
func (*AddDocumentRequest) ProtoReflect ¶
func (x *AddDocumentRequest) ProtoReflect() protoreflect.Message
func (*AddDocumentRequest) Reset ¶
func (x *AddDocumentRequest) Reset()
func (*AddDocumentRequest) String ¶
func (x *AddDocumentRequest) String() string
type AddDocumentRequest_MultiValuedField ¶
type AddDocumentRequest_MultiValuedField struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` //list of values for this field //Facet paths/hierarchy to bucket these values by, if indexed field is of type Facet.HIERARCHY FaceHierarchyPaths []*FacetHierarchyPath `protobuf:"bytes,2,rep,name=faceHierarchyPaths,proto3" json:"faceHierarchyPaths,omitempty"` // contains filtered or unexported fields }
we use this wrapper object to represent each field as a multivalued field.
func (*AddDocumentRequest_MultiValuedField) Descriptor
deprecated
func (*AddDocumentRequest_MultiValuedField) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentRequest_MultiValuedField.ProtoReflect.Descriptor instead.
func (*AddDocumentRequest_MultiValuedField) GetFaceHierarchyPaths ¶
func (x *AddDocumentRequest_MultiValuedField) GetFaceHierarchyPaths() []*FacetHierarchyPath
func (*AddDocumentRequest_MultiValuedField) GetValue ¶
func (x *AddDocumentRequest_MultiValuedField) GetValue() []string
func (*AddDocumentRequest_MultiValuedField) ProtoMessage ¶
func (*AddDocumentRequest_MultiValuedField) ProtoMessage()
func (*AddDocumentRequest_MultiValuedField) ProtoReflect ¶
func (x *AddDocumentRequest_MultiValuedField) ProtoReflect() protoreflect.Message
func (*AddDocumentRequest_MultiValuedField) Reset ¶
func (x *AddDocumentRequest_MultiValuedField) Reset()
func (*AddDocumentRequest_MultiValuedField) String ¶
func (x *AddDocumentRequest_MultiValuedField) String() string
type AddDocumentResponse ¶
type AddDocumentResponse struct { GenId string `protobuf:"bytes,1,opt,name=genId,proto3" json:"genId,omitempty"` // Unique identifier for the primary instance that processed the request PrimaryId string `protobuf:"bytes,2,opt,name=primaryId,proto3" json:"primaryId,omitempty"` // contains filtered or unexported fields }
func (*AddDocumentResponse) Descriptor
deprecated
func (*AddDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDocumentResponse.ProtoReflect.Descriptor instead.
func (*AddDocumentResponse) GetGenId ¶
func (x *AddDocumentResponse) GetGenId() string
func (*AddDocumentResponse) GetPrimaryId ¶
func (x *AddDocumentResponse) GetPrimaryId() string
func (*AddDocumentResponse) ProtoMessage ¶
func (*AddDocumentResponse) ProtoMessage()
func (*AddDocumentResponse) ProtoReflect ¶
func (x *AddDocumentResponse) ProtoReflect() protoreflect.Message
func (*AddDocumentResponse) Reset ¶
func (x *AddDocumentResponse) Reset()
func (*AddDocumentResponse) String ¶
func (x *AddDocumentResponse) String() string
type AddReplicaRequest ¶
type AddReplicaRequest struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name ReplicaId int32 `protobuf:"varint,3,opt,name=replicaId,proto3" json:"replicaId,omitempty"` //replica Id HostName string `protobuf:"bytes,4,opt,name=hostName,proto3" json:"hostName,omitempty"` // replica host name Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // replica port number // contains filtered or unexported fields }
func (*AddReplicaRequest) Descriptor
deprecated
func (*AddReplicaRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddReplicaRequest.ProtoReflect.Descriptor instead.
func (*AddReplicaRequest) GetHostName ¶
func (x *AddReplicaRequest) GetHostName() string
func (*AddReplicaRequest) GetIndexName ¶
func (x *AddReplicaRequest) GetIndexName() string
func (*AddReplicaRequest) GetMagicNumber ¶
func (x *AddReplicaRequest) GetMagicNumber() int32
func (*AddReplicaRequest) GetPort ¶
func (x *AddReplicaRequest) GetPort() int32
func (*AddReplicaRequest) GetReplicaId ¶
func (x *AddReplicaRequest) GetReplicaId() int32
func (*AddReplicaRequest) ProtoMessage ¶
func (*AddReplicaRequest) ProtoMessage()
func (*AddReplicaRequest) ProtoReflect ¶
func (x *AddReplicaRequest) ProtoReflect() protoreflect.Message
func (*AddReplicaRequest) Reset ¶
func (x *AddReplicaRequest) Reset()
func (*AddReplicaRequest) String ¶
func (x *AddReplicaRequest) String() string
type AddReplicaResponse ¶
type AddReplicaResponse struct { Ok string `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"` //Returns "ok" string on success // contains filtered or unexported fields }
func (*AddReplicaResponse) Descriptor
deprecated
func (*AddReplicaResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddReplicaResponse.ProtoReflect.Descriptor instead.
func (*AddReplicaResponse) GetOk ¶
func (x *AddReplicaResponse) GetOk() string
func (*AddReplicaResponse) ProtoMessage ¶
func (*AddReplicaResponse) ProtoMessage()
func (*AddReplicaResponse) ProtoReflect ¶
func (x *AddReplicaResponse) ProtoReflect() protoreflect.Message
func (*AddReplicaResponse) Reset ¶
func (x *AddReplicaResponse) Reset()
func (*AddReplicaResponse) String ¶
func (x *AddReplicaResponse) String() string
type Analyzer ¶
type Analyzer struct { // Types that are assignable to AnalyzerType: // *Analyzer_Predefined // *Analyzer_Custom AnalyzerType isAnalyzer_AnalyzerType `protobuf_oneof:"AnalyzerType"` // contains filtered or unexported fields }
func (*Analyzer) Descriptor
deprecated
func (*Analyzer) GetAnalyzerType ¶
func (m *Analyzer) GetAnalyzerType() isAnalyzer_AnalyzerType
func (*Analyzer) GetCustom ¶
func (x *Analyzer) GetCustom() *CustomAnalyzer
func (*Analyzer) GetPredefined ¶
func (*Analyzer) ProtoMessage ¶
func (*Analyzer) ProtoMessage()
func (*Analyzer) ProtoReflect ¶
func (x *Analyzer) ProtoReflect() protoreflect.Message
type Analyzer_Custom ¶
type Analyzer_Custom struct {
Custom *CustomAnalyzer `protobuf:"bytes,2,opt,name=custom,proto3,oneof"`
}
type Analyzer_Predefined ¶
type Analyzer_Predefined struct {
Predefined string `protobuf:"bytes,1,opt,name=predefined,proto3,oneof"` // Analyzers predefined in Lucene, apart from standard and classic there are en.English, bn.Bengali, eu.Basque, etc. (names derived from Lucene's analyzer class names)
}
type AnalyzingSuggester ¶
type AnalyzingSuggester struct { Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` //Index and query analyzer IndexAnalyzer string `protobuf:"bytes,2,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` // Index Analyzer QueryAnalyzer string `protobuf:"bytes,3,opt,name=queryAnalyzer,proto3" json:"queryAnalyzer,omitempty"` // Query Analyzer MaxSurfaceFormsPerAnalyzedForm int32 `protobuf:"varint,4,opt,name=maxSurfaceFormsPerAnalyzedForm,proto3" json:"maxSurfaceFormsPerAnalyzedForm,omitempty"` //Maximum number of surface forms to keep for a single analyzed form MaxGraphExpansions int32 `protobuf:"varint,5,opt,name=maxGraphExpansions,proto3" json:"maxGraphExpansions,omitempty"` //Maximum number of graph paths to expand from the analyzed from PreserveSep bool `protobuf:"varint,6,opt,name=preserveSep,proto3" json:"preserveSep,omitempty"` //True if token separators should be preserved when matching ExactFirst bool `protobuf:"varint,7,opt,name=exactFirst,proto3" json:"exactFirst,omitempty"` //True if the exact match should always be returned first regardless of score // contains filtered or unexported fields }
Suggester that first analyzes the surface form, adds the analyzed form to a weighted FST, and then does the same thing at lookup time (see @lucene:suggest:org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
func (*AnalyzingSuggester) Descriptor
deprecated
func (*AnalyzingSuggester) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzingSuggester.ProtoReflect.Descriptor instead.
func (*AnalyzingSuggester) GetAnalyzer ¶
func (x *AnalyzingSuggester) GetAnalyzer() string
func (*AnalyzingSuggester) GetExactFirst ¶
func (x *AnalyzingSuggester) GetExactFirst() bool
func (*AnalyzingSuggester) GetIndexAnalyzer ¶
func (x *AnalyzingSuggester) GetIndexAnalyzer() string
func (*AnalyzingSuggester) GetMaxGraphExpansions ¶
func (x *AnalyzingSuggester) GetMaxGraphExpansions() int32
func (*AnalyzingSuggester) GetMaxSurfaceFormsPerAnalyzedForm ¶
func (x *AnalyzingSuggester) GetMaxSurfaceFormsPerAnalyzedForm() int32
func (*AnalyzingSuggester) GetPreserveSep ¶
func (x *AnalyzingSuggester) GetPreserveSep() bool
func (*AnalyzingSuggester) GetQueryAnalyzer ¶
func (x *AnalyzingSuggester) GetQueryAnalyzer() string
func (*AnalyzingSuggester) ProtoMessage ¶
func (*AnalyzingSuggester) ProtoMessage()
func (*AnalyzingSuggester) ProtoReflect ¶
func (x *AnalyzingSuggester) ProtoReflect() protoreflect.Message
func (*AnalyzingSuggester) Reset ¶
func (x *AnalyzingSuggester) Reset()
func (*AnalyzingSuggester) String ¶
func (x *AnalyzingSuggester) String() string
type BackupIndexRequest ¶
type BackupIndexRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //name of the index to backup ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"` // remote storage namespace qualifier for service ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` //remote storage namespace qualifier for resource e.g. indexName CompleteDirectory bool `protobuf:"varint,4,opt,name=completeDirectory,proto3" json:"completeDirectory,omitempty"` // backup complete directory including all current snapshots if true (may backup corrupt segments if backup is created while indexing is happening), otherwise only backup the required segments and segment files Stream bool `protobuf:"varint,5,opt,name=stream,proto3" json:"stream,omitempty"` // if the built tar should be directly streamed to s3, instead of being written to a file first (experimental) // contains filtered or unexported fields }
func (*BackupIndexRequest) Descriptor
deprecated
func (*BackupIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupIndexRequest.ProtoReflect.Descriptor instead.
func (*BackupIndexRequest) GetCompleteDirectory ¶
func (x *BackupIndexRequest) GetCompleteDirectory() bool
func (*BackupIndexRequest) GetIndexName ¶
func (x *BackupIndexRequest) GetIndexName() string
func (*BackupIndexRequest) GetResourceName ¶
func (x *BackupIndexRequest) GetResourceName() string
func (*BackupIndexRequest) GetServiceName ¶
func (x *BackupIndexRequest) GetServiceName() string
func (*BackupIndexRequest) GetStream ¶
func (x *BackupIndexRequest) GetStream() bool
func (*BackupIndexRequest) ProtoMessage ¶
func (*BackupIndexRequest) ProtoMessage()
func (*BackupIndexRequest) ProtoReflect ¶
func (x *BackupIndexRequest) ProtoReflect() protoreflect.Message
func (*BackupIndexRequest) Reset ¶
func (x *BackupIndexRequest) Reset()
func (*BackupIndexRequest) String ¶
func (x *BackupIndexRequest) String() string
type BackupIndexResponse ¶
type BackupIndexResponse struct { DataVersionHash string `protobuf:"bytes,1,opt,name=dataVersionHash,proto3" json:"dataVersionHash,omitempty"` //version identifier for data on s3 MetadataVersionHash string `protobuf:"bytes,2,opt,name=metadataVersionHash,proto3" json:"metadataVersionHash,omitempty"` //version identifier for metadata on s3 // contains filtered or unexported fields }
func (*BackupIndexResponse) Descriptor
deprecated
func (*BackupIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupIndexResponse.ProtoReflect.Descriptor instead.
func (*BackupIndexResponse) GetDataVersionHash ¶
func (x *BackupIndexResponse) GetDataVersionHash() string
func (*BackupIndexResponse) GetMetadataVersionHash ¶
func (x *BackupIndexResponse) GetMetadataVersionHash() string
func (*BackupIndexResponse) ProtoMessage ¶
func (*BackupIndexResponse) ProtoMessage()
func (*BackupIndexResponse) ProtoReflect ¶
func (x *BackupIndexResponse) ProtoReflect() protoreflect.Message
func (*BackupIndexResponse) Reset ¶
func (x *BackupIndexResponse) Reset()
func (*BackupIndexResponse) String ¶
func (x *BackupIndexResponse) String() string
type BackupWarmingQueriesRequest ¶
type BackupWarmingQueriesRequest struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // Index whose warming queries to backup ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"` // remote storage namespace qualifier for service NumQueriesThreshold int32 `protobuf:"varint,3,opt,name=numQueriesThreshold,proto3" json:"numQueriesThreshold,omitempty"` // optional; minimum # of queries required to backup warming queries UptimeMinutesThreshold int32 `protobuf:"varint,4,opt,name=uptimeMinutesThreshold,proto3" json:"uptimeMinutesThreshold,omitempty"` // optional; minimum # of minutes uptime to backup warming queries // contains filtered or unexported fields }
func (*BackupWarmingQueriesRequest) Descriptor
deprecated
func (*BackupWarmingQueriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupWarmingQueriesRequest.ProtoReflect.Descriptor instead.
func (*BackupWarmingQueriesRequest) GetIndex ¶
func (x *BackupWarmingQueriesRequest) GetIndex() string
func (*BackupWarmingQueriesRequest) GetNumQueriesThreshold ¶
func (x *BackupWarmingQueriesRequest) GetNumQueriesThreshold() int32
func (*BackupWarmingQueriesRequest) GetServiceName ¶
func (x *BackupWarmingQueriesRequest) GetServiceName() string
func (*BackupWarmingQueriesRequest) GetUptimeMinutesThreshold ¶
func (x *BackupWarmingQueriesRequest) GetUptimeMinutesThreshold() int32
func (*BackupWarmingQueriesRequest) ProtoMessage ¶
func (*BackupWarmingQueriesRequest) ProtoMessage()
func (*BackupWarmingQueriesRequest) ProtoReflect ¶
func (x *BackupWarmingQueriesRequest) ProtoReflect() protoreflect.Message
func (*BackupWarmingQueriesRequest) Reset ¶
func (x *BackupWarmingQueriesRequest) Reset()
func (*BackupWarmingQueriesRequest) String ¶
func (x *BackupWarmingQueriesRequest) String() string
type BackupWarmingQueriesResponse ¶
type BackupWarmingQueriesResponse struct {
// contains filtered or unexported fields
}
func (*BackupWarmingQueriesResponse) Descriptor
deprecated
func (*BackupWarmingQueriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupWarmingQueriesResponse.ProtoReflect.Descriptor instead.
func (*BackupWarmingQueriesResponse) ProtoMessage ¶
func (*BackupWarmingQueriesResponse) ProtoMessage()
func (*BackupWarmingQueriesResponse) ProtoReflect ¶
func (x *BackupWarmingQueriesResponse) ProtoReflect() protoreflect.Message
func (*BackupWarmingQueriesResponse) Reset ¶
func (x *BackupWarmingQueriesResponse) Reset()
func (*BackupWarmingQueriesResponse) String ¶
func (x *BackupWarmingQueriesResponse) String() string
type BooleanClause ¶
type BooleanClause struct { Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // The Query for the clause. Occur BooleanClause_Occur `protobuf:"varint,2,opt,name=occur,proto3,enum=luceneserver.BooleanClause_Occur" json:"occur,omitempty"` // Specifies how this clause must occur in a matching document. SHOULD by default. // contains filtered or unexported fields }
A clause in a BooleanQuery.
func (*BooleanClause) Descriptor
deprecated
func (*BooleanClause) Descriptor() ([]byte, []int)
Deprecated: Use BooleanClause.ProtoReflect.Descriptor instead.
func (*BooleanClause) GetOccur ¶
func (x *BooleanClause) GetOccur() BooleanClause_Occur
func (*BooleanClause) GetQuery ¶
func (x *BooleanClause) GetQuery() *Query
func (*BooleanClause) ProtoMessage ¶
func (*BooleanClause) ProtoMessage()
func (*BooleanClause) ProtoReflect ¶
func (x *BooleanClause) ProtoReflect() protoreflect.Message
func (*BooleanClause) Reset ¶
func (x *BooleanClause) Reset()
func (*BooleanClause) String ¶
func (x *BooleanClause) String() string
type BooleanClause_Occur ¶
type BooleanClause_Occur int32
Defines how clauses may occur in matching documents. This will always be SHOULD by default.
const ( BooleanClause_SHOULD BooleanClause_Occur = 0 BooleanClause_MUST BooleanClause_Occur = 1 BooleanClause_FILTER BooleanClause_Occur = 2 BooleanClause_MUST_NOT BooleanClause_Occur = 3 )
func (BooleanClause_Occur) Descriptor ¶
func (BooleanClause_Occur) Descriptor() protoreflect.EnumDescriptor
func (BooleanClause_Occur) Enum ¶
func (x BooleanClause_Occur) Enum() *BooleanClause_Occur
func (BooleanClause_Occur) EnumDescriptor
deprecated
func (BooleanClause_Occur) EnumDescriptor() ([]byte, []int)
Deprecated: Use BooleanClause_Occur.Descriptor instead.
func (BooleanClause_Occur) Number ¶
func (x BooleanClause_Occur) Number() protoreflect.EnumNumber
func (BooleanClause_Occur) String ¶
func (x BooleanClause_Occur) String() string
func (BooleanClause_Occur) Type ¶
func (BooleanClause_Occur) Type() protoreflect.EnumType
type BooleanQuery ¶
type BooleanQuery struct { Clauses []*BooleanClause `protobuf:"bytes,1,rep,name=clauses,proto3" json:"clauses,omitempty"` // Clauses for a boolean query. MinimumNumberShouldMatch int32 `protobuf:"varint,2,opt,name=minimumNumberShouldMatch,proto3" json:"minimumNumberShouldMatch,omitempty"` // Minimum number of optional clauses that must match. // contains filtered or unexported fields }
A query that matches documents using boolean combinations of other queries.
func (*BooleanQuery) Descriptor
deprecated
func (*BooleanQuery) Descriptor() ([]byte, []int)
Deprecated: Use BooleanQuery.ProtoReflect.Descriptor instead.
func (*BooleanQuery) GetClauses ¶
func (x *BooleanQuery) GetClauses() []*BooleanClause
func (*BooleanQuery) GetMinimumNumberShouldMatch ¶
func (x *BooleanQuery) GetMinimumNumberShouldMatch() int32
func (*BooleanQuery) ProtoMessage ¶
func (*BooleanQuery) ProtoMessage()
func (*BooleanQuery) ProtoReflect ¶
func (x *BooleanQuery) ProtoReflect() protoreflect.Message
func (*BooleanQuery) Reset ¶
func (x *BooleanQuery) Reset()
func (*BooleanQuery) String ¶
func (x *BooleanQuery) String() string
type BucketResult ¶
type BucketResult struct { Buckets []*BucketResult_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` //Number of unique buckets, including those not in the buckets list. TotalBuckets int32 `protobuf:"varint,2,opt,name=totalBuckets,proto3" json:"totalBuckets,omitempty"` //Number of other collected counts not represented in the buckets' counts. TotalOtherCounts int32 `protobuf:"varint,3,opt,name=totalOtherCounts,proto3" json:"totalOtherCounts,omitempty"` // contains filtered or unexported fields }
func (*BucketResult) Descriptor
deprecated
func (*BucketResult) Descriptor() ([]byte, []int)
Deprecated: Use BucketResult.ProtoReflect.Descriptor instead.
func (*BucketResult) GetBuckets ¶
func (x *BucketResult) GetBuckets() []*BucketResult_Bucket
func (*BucketResult) GetTotalBuckets ¶
func (x *BucketResult) GetTotalBuckets() int32
func (*BucketResult) GetTotalOtherCounts ¶
func (x *BucketResult) GetTotalOtherCounts() int32
func (*BucketResult) ProtoMessage ¶
func (*BucketResult) ProtoMessage()
func (*BucketResult) ProtoReflect ¶
func (x *BucketResult) ProtoReflect() protoreflect.Message
func (*BucketResult) Reset ¶
func (x *BucketResult) Reset()
func (*BucketResult) String ¶
func (x *BucketResult) String() string
type BucketResult_Bucket ¶
type BucketResult_Bucket struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*BucketResult_Bucket) Descriptor
deprecated
func (*BucketResult_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use BucketResult_Bucket.ProtoReflect.Descriptor instead.
func (*BucketResult_Bucket) GetCount ¶
func (x *BucketResult_Bucket) GetCount() int32
func (*BucketResult_Bucket) GetKey ¶
func (x *BucketResult_Bucket) GetKey() string
func (*BucketResult_Bucket) ProtoMessage ¶
func (*BucketResult_Bucket) ProtoMessage()
func (*BucketResult_Bucket) ProtoReflect ¶
func (x *BucketResult_Bucket) ProtoReflect() protoreflect.Message
func (*BucketResult_Bucket) Reset ¶
func (x *BucketResult_Bucket) Reset()
func (*BucketResult_Bucket) String ¶
func (x *BucketResult_Bucket) String() string
type BuildSuggestRequest ¶
type BuildSuggestRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name // Types that are assignable to Suggester: // *BuildSuggestRequest_InfixSuggester // *BuildSuggestRequest_AnalyzingSuggester // *BuildSuggestRequest_FuzzySuggester // *BuildSuggestRequest_CompletionInfixSuggester // *BuildSuggestRequest_FuzzyInfixSuggester Suggester isBuildSuggestRequest_Suggester `protobuf_oneof:"Suggester"` // Types that are assignable to Source: // *BuildSuggestRequest_LocalSource // *BuildSuggestRequest_NonLocalSource Source isBuildSuggestRequest_Source `protobuf_oneof:"Source"` SuggestName string `protobuf:"bytes,9,opt,name=suggestName,proto3" json:"suggestName,omitempty"` //Unique name for this suggest build. // contains filtered or unexported fields }
func (*BuildSuggestRequest) Descriptor
deprecated
func (*BuildSuggestRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildSuggestRequest.ProtoReflect.Descriptor instead.
func (*BuildSuggestRequest) GetAnalyzingSuggester ¶
func (x *BuildSuggestRequest) GetAnalyzingSuggester() *AnalyzingSuggester
func (*BuildSuggestRequest) GetCompletionInfixSuggester ¶
func (x *BuildSuggestRequest) GetCompletionInfixSuggester() *CompletionInfixSuggester
func (*BuildSuggestRequest) GetFuzzyInfixSuggester ¶
func (x *BuildSuggestRequest) GetFuzzyInfixSuggester() *FuzzyInfixSuggester
func (*BuildSuggestRequest) GetFuzzySuggester ¶
func (x *BuildSuggestRequest) GetFuzzySuggester() *FuzzySuggester
func (*BuildSuggestRequest) GetIndexName ¶
func (x *BuildSuggestRequest) GetIndexName() string
func (*BuildSuggestRequest) GetInfixSuggester ¶
func (x *BuildSuggestRequest) GetInfixSuggester() *InfixSuggester
func (*BuildSuggestRequest) GetLocalSource ¶
func (x *BuildSuggestRequest) GetLocalSource() *SuggestLocalSource
func (*BuildSuggestRequest) GetNonLocalSource ¶
func (x *BuildSuggestRequest) GetNonLocalSource() *SuggestNonLocalSource
func (*BuildSuggestRequest) GetSource ¶
func (m *BuildSuggestRequest) GetSource() isBuildSuggestRequest_Source
func (*BuildSuggestRequest) GetSuggestName ¶
func (x *BuildSuggestRequest) GetSuggestName() string
func (*BuildSuggestRequest) GetSuggester ¶
func (m *BuildSuggestRequest) GetSuggester() isBuildSuggestRequest_Suggester
func (*BuildSuggestRequest) ProtoMessage ¶
func (*BuildSuggestRequest) ProtoMessage()
func (*BuildSuggestRequest) ProtoReflect ¶
func (x *BuildSuggestRequest) ProtoReflect() protoreflect.Message
func (*BuildSuggestRequest) Reset ¶
func (x *BuildSuggestRequest) Reset()
func (*BuildSuggestRequest) String ¶
func (x *BuildSuggestRequest) String() string
type BuildSuggestRequest_AnalyzingSuggester ¶
type BuildSuggestRequest_AnalyzingSuggester struct { // Suggester that first analyzes the surface form, adds the analyzed form to a weighted FST, and then does the same thing at lookup time (see @lucene:suggest:org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester AnalyzingSuggester *AnalyzingSuggester `protobuf:"bytes,3,opt,name=analyzingSuggester,proto3,oneof"` }
type BuildSuggestRequest_CompletionInfixSuggester ¶
type BuildSuggestRequest_CompletionInfixSuggester struct { // A suggester that matches terms anywhere in the input text. The implementation is different from InfixSuggester CompletionInfixSuggester *CompletionInfixSuggester `protobuf:"bytes,5,opt,name=completionInfixSuggester,proto3,oneof"` }
type BuildSuggestRequest_FuzzyInfixSuggester ¶
type BuildSuggestRequest_FuzzyInfixSuggester struct { // A suggester that matches fuzzy terms in the input text. FuzzyInfixSuggester *FuzzyInfixSuggester `protobuf:"bytes,6,opt,name=fuzzyInfixSuggester,proto3,oneof"` }
type BuildSuggestRequest_FuzzySuggester ¶
type BuildSuggestRequest_FuzzySuggester struct { // Implements a fuzzy AnalyzingSuggester (see @lucene:suggest:org.apache.lucene.search.suggest.analyzing.FuzzySuggester FuzzySuggester *FuzzySuggester `protobuf:"bytes,4,opt,name=fuzzySuggester,proto3,oneof"` }
type BuildSuggestRequest_InfixSuggester ¶
type BuildSuggestRequest_InfixSuggester struct { // A suggester that matches terms anywhere in the input text, not just as a prefix. (see @lucene:org:server.InfixSuggester) InfixSuggester *InfixSuggester `protobuf:"bytes,2,opt,name=infixSuggester,proto3,oneof"` }
type BuildSuggestRequest_LocalSource ¶
type BuildSuggestRequest_LocalSource struct {
LocalSource *SuggestLocalSource `protobuf:"bytes,7,opt,name=localSource,proto3,oneof"`
}
type BuildSuggestRequest_NonLocalSource ¶
type BuildSuggestRequest_NonLocalSource struct {
NonLocalSource *SuggestNonLocalSource `protobuf:"bytes,8,opt,name=nonLocalSource,proto3,oneof"`
}
type BuildSuggestResponse ¶
type BuildSuggestResponse struct { SizeInBytes int64 `protobuf:"varint,1,opt,name=sizeInBytes,proto3" json:"sizeInBytes,omitempty"` //size in bytes in RAM if using AnalyzingSuggester Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` //total number of suggester entries // contains filtered or unexported fields }
func (*BuildSuggestResponse) Descriptor
deprecated
func (*BuildSuggestResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildSuggestResponse.ProtoReflect.Descriptor instead.
func (*BuildSuggestResponse) GetCount ¶
func (x *BuildSuggestResponse) GetCount() int64
func (*BuildSuggestResponse) GetSizeInBytes ¶
func (x *BuildSuggestResponse) GetSizeInBytes() int64
func (*BuildSuggestResponse) ProtoMessage ¶
func (*BuildSuggestResponse) ProtoMessage()
func (*BuildSuggestResponse) ProtoReflect ¶
func (x *BuildSuggestResponse) ProtoReflect() protoreflect.Message
func (*BuildSuggestResponse) Reset ¶
func (x *BuildSuggestResponse) Reset()
func (*BuildSuggestResponse) String ¶
func (x *BuildSuggestResponse) String() string
type Collector ¶
type Collector struct { // Types that are assignable to Collectors: // *Collector_Terms Collectors isCollector_Collectors `protobuf_oneof:"Collectors"` // contains filtered or unexported fields }
Definition of additional document collector.
func (*Collector) Descriptor
deprecated
func (*Collector) GetCollectors ¶
func (m *Collector) GetCollectors() isCollector_Collectors
func (*Collector) GetTerms ¶
func (x *Collector) GetTerms() *TermsCollector
func (*Collector) ProtoMessage ¶
func (*Collector) ProtoMessage()
func (*Collector) ProtoReflect ¶
func (x *Collector) ProtoReflect() protoreflect.Message
type CollectorResult ¶
type CollectorResult struct { // Types that are assignable to CollectorResults: // *CollectorResult_BucketResult CollectorResults isCollectorResult_CollectorResults `protobuf_oneof:"CollectorResults"` // contains filtered or unexported fields }
func (*CollectorResult) Descriptor
deprecated
func (*CollectorResult) Descriptor() ([]byte, []int)
Deprecated: Use CollectorResult.ProtoReflect.Descriptor instead.
func (*CollectorResult) GetBucketResult ¶
func (x *CollectorResult) GetBucketResult() *BucketResult
func (*CollectorResult) GetCollectorResults ¶
func (m *CollectorResult) GetCollectorResults() isCollectorResult_CollectorResults
func (*CollectorResult) ProtoMessage ¶
func (*CollectorResult) ProtoMessage()
func (*CollectorResult) ProtoReflect ¶
func (x *CollectorResult) ProtoReflect() protoreflect.Message
func (*CollectorResult) Reset ¶
func (x *CollectorResult) Reset()
func (*CollectorResult) String ¶
func (x *CollectorResult) String() string
type CollectorResult_BucketResult ¶
type CollectorResult_BucketResult struct { //Result of collector that produces buckets and counts. BucketResult *BucketResult `protobuf:"bytes,1,opt,name=bucketResult,proto3,oneof"` }
type Collector_Terms ¶
type Collector_Terms struct { //Collector for aggregating based on term values. Terms *TermsCollector `protobuf:"bytes,1,opt,name=terms,proto3,oneof"` }
type CommitRequest ¶
type CommitRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index to commit // contains filtered or unexported fields }
func (*CommitRequest) Descriptor
deprecated
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetIndexName ¶
func (x *CommitRequest) GetIndexName() string
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect ¶
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset ¶
func (x *CommitRequest) Reset()
func (*CommitRequest) String ¶
func (x *CommitRequest) String() string
type CommitResponse ¶
type CommitResponse struct { // sequence number of the last operation in the commit. All sequence numbers less than this value //will be reflected in the commit, and all others will not. Gen int64 `protobuf:"varint,1,opt,name=gen,proto3" json:"gen,omitempty"` // Unique identifier for the primary instance that processed the request PrimaryId string `protobuf:"bytes,2,opt,name=primaryId,proto3" json:"primaryId,omitempty"` // contains filtered or unexported fields }
func (*CommitResponse) Descriptor
deprecated
func (*CommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
func (*CommitResponse) GetGen ¶
func (x *CommitResponse) GetGen() int64
func (*CommitResponse) GetPrimaryId ¶
func (x *CommitResponse) GetPrimaryId() string
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) ProtoReflect ¶
func (x *CommitResponse) ProtoReflect() protoreflect.Message
func (*CommitResponse) Reset ¶
func (x *CommitResponse) Reset()
func (*CommitResponse) String ¶
func (x *CommitResponse) String() string
type CompletionInfixSuggester ¶
type CompletionInfixSuggester struct { Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` //Index and query analyzer IndexAnalyzer string `protobuf:"bytes,2,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` //Index Analyzer QueryAnalyzer string `protobuf:"bytes,3,opt,name=queryAnalyzer,proto3" json:"queryAnalyzer,omitempty"` //Query Analyzer // contains filtered or unexported fields }
A suggester that matches terms anywhere in the input text. The implementation is different from InfixSuggester
func (*CompletionInfixSuggester) Descriptor
deprecated
func (*CompletionInfixSuggester) Descriptor() ([]byte, []int)
Deprecated: Use CompletionInfixSuggester.ProtoReflect.Descriptor instead.
func (*CompletionInfixSuggester) GetAnalyzer ¶
func (x *CompletionInfixSuggester) GetAnalyzer() string
func (*CompletionInfixSuggester) GetIndexAnalyzer ¶
func (x *CompletionInfixSuggester) GetIndexAnalyzer() string
func (*CompletionInfixSuggester) GetQueryAnalyzer ¶
func (x *CompletionInfixSuggester) GetQueryAnalyzer() string
func (*CompletionInfixSuggester) ProtoMessage ¶
func (*CompletionInfixSuggester) ProtoMessage()
func (*CompletionInfixSuggester) ProtoReflect ¶
func (x *CompletionInfixSuggester) ProtoReflect() protoreflect.Message
func (*CompletionInfixSuggester) Reset ¶
func (x *CompletionInfixSuggester) Reset()
func (*CompletionInfixSuggester) String ¶
func (x *CompletionInfixSuggester) String() string
type ConditionalTokenFilter ¶
type ConditionalTokenFilter struct { Condition *NameAndParams `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` TokenFilters []*NameAndParams `protobuf:"bytes,2,rep,name=tokenFilters,proto3" json:"tokenFilters,omitempty"` // contains filtered or unexported fields }
func (*ConditionalTokenFilter) Descriptor
deprecated
func (*ConditionalTokenFilter) Descriptor() ([]byte, []int)
Deprecated: Use ConditionalTokenFilter.ProtoReflect.Descriptor instead.
func (*ConditionalTokenFilter) GetCondition ¶
func (x *ConditionalTokenFilter) GetCondition() *NameAndParams
func (*ConditionalTokenFilter) GetTokenFilters ¶
func (x *ConditionalTokenFilter) GetTokenFilters() []*NameAndParams
func (*ConditionalTokenFilter) ProtoMessage ¶
func (*ConditionalTokenFilter) ProtoMessage()
func (*ConditionalTokenFilter) ProtoReflect ¶
func (x *ConditionalTokenFilter) ProtoReflect() protoreflect.Message
func (*ConditionalTokenFilter) Reset ¶
func (x *ConditionalTokenFilter) Reset()
func (*ConditionalTokenFilter) String ¶
func (x *ConditionalTokenFilter) String() string
type CopyFiles ¶
type CopyFiles struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name PrimaryGen int64 `protobuf:"varint,3,opt,name=primaryGen,proto3" json:"primaryGen,omitempty"` //primary, the generation of this primary (should increment each time a new primary starts for this index) FilesMetadata *FilesMetadata `protobuf:"bytes,4,opt,name=filesMetadata,proto3" json:"filesMetadata,omitempty"` //file metadata to copy // contains filtered or unexported fields }
* Primary invokes this on a replica to ask it to copy files
func (*CopyFiles) Descriptor
deprecated
func (*CopyFiles) GetFilesMetadata ¶
func (x *CopyFiles) GetFilesMetadata() *FilesMetadata
func (*CopyFiles) GetIndexName ¶
func (*CopyFiles) GetMagicNumber ¶
func (*CopyFiles) GetPrimaryGen ¶
func (*CopyFiles) ProtoMessage ¶
func (*CopyFiles) ProtoMessage()
func (*CopyFiles) ProtoReflect ¶
func (x *CopyFiles) ProtoReflect() protoreflect.Message
type CopyState ¶
type CopyState struct { InfoBytesLength int32 `protobuf:"varint,1,opt,name=infoBytesLength,proto3" json:"infoBytesLength,omitempty"` // infoBytes len InfoBytes []byte `protobuf:"bytes,2,opt,name=infoBytes,proto3" json:"infoBytes,omitempty"` //infoBytes Gen int64 `protobuf:"varint,3,opt,name=gen,proto3" json:"gen,omitempty"` //gen Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` //versiom FilesMetadata *FilesMetadata `protobuf:"bytes,5,opt,name=filesMetadata,proto3" json:"filesMetadata,omitempty"` //fileMetadata CompletedMergeFilesSize int32 `protobuf:"varint,6,opt,name=completedMergeFilesSize,proto3" json:"completedMergeFilesSize,omitempty"` //completed merged files CompletedMergeFiles []string `protobuf:"bytes,7,rep,name=completedMergeFiles,proto3" json:"completedMergeFiles,omitempty"` //names of files that finished merge PrimaryGen int64 `protobuf:"varint,8,opt,name=primaryGen,proto3" json:"primaryGen,omitempty"` //primary Gen // contains filtered or unexported fields }
Holds incRef'd file level details for one point-in-time segment infos on the primary node.
func (*CopyState) Descriptor
deprecated
func (*CopyState) GetCompletedMergeFiles ¶
func (*CopyState) GetCompletedMergeFilesSize ¶
func (*CopyState) GetFilesMetadata ¶
func (x *CopyState) GetFilesMetadata() *FilesMetadata
func (*CopyState) GetInfoBytes ¶
func (*CopyState) GetInfoBytesLength ¶
func (*CopyState) GetPrimaryGen ¶
func (*CopyState) GetVersion ¶
func (*CopyState) ProtoMessage ¶
func (*CopyState) ProtoMessage()
func (*CopyState) ProtoReflect ¶
func (x *CopyState) ProtoReflect() protoreflect.Message
type CopyStateRequest ¶
type CopyStateRequest struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name ReplicaId int32 `protobuf:"varint,3,opt,name=replicaId,proto3" json:"replicaId,omitempty"` //replica Id // contains filtered or unexported fields }
* Replica invokes this on a primary to let primary know it needs the CopyState
func (*CopyStateRequest) Descriptor
deprecated
func (*CopyStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyStateRequest.ProtoReflect.Descriptor instead.
func (*CopyStateRequest) GetIndexName ¶
func (x *CopyStateRequest) GetIndexName() string
func (*CopyStateRequest) GetMagicNumber ¶
func (x *CopyStateRequest) GetMagicNumber() int32
func (*CopyStateRequest) GetReplicaId ¶
func (x *CopyStateRequest) GetReplicaId() int32
func (*CopyStateRequest) ProtoMessage ¶
func (*CopyStateRequest) ProtoMessage()
func (*CopyStateRequest) ProtoReflect ¶
func (x *CopyStateRequest) ProtoReflect() protoreflect.Message
func (*CopyStateRequest) Reset ¶
func (x *CopyStateRequest) Reset()
func (*CopyStateRequest) String ¶
func (x *CopyStateRequest) String() string
type CreateIndexRequest ¶
type CreateIndexRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // name of the index to be created. [a-zA-Z0-9]* // contains filtered or unexported fields }
Input to createIndex
func (*CreateIndexRequest) Descriptor
deprecated
func (*CreateIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead.
func (*CreateIndexRequest) GetIndexName ¶
func (x *CreateIndexRequest) GetIndexName() string
func (*CreateIndexRequest) ProtoMessage ¶
func (*CreateIndexRequest) ProtoMessage()
func (*CreateIndexRequest) ProtoReflect ¶
func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message
func (*CreateIndexRequest) Reset ¶
func (x *CreateIndexRequest) Reset()
func (*CreateIndexRequest) String ¶
func (x *CreateIndexRequest) String() string
type CreateIndexResponse ¶
type CreateIndexResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
Response from Server to createIndex
func (*CreateIndexResponse) Descriptor
deprecated
func (*CreateIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexResponse.ProtoReflect.Descriptor instead.
func (*CreateIndexResponse) GetResponse ¶
func (x *CreateIndexResponse) GetResponse() string
func (*CreateIndexResponse) ProtoMessage ¶
func (*CreateIndexResponse) ProtoMessage()
func (*CreateIndexResponse) ProtoReflect ¶
func (x *CreateIndexResponse) ProtoReflect() protoreflect.Message
func (*CreateIndexResponse) Reset ¶
func (x *CreateIndexResponse) Reset()
func (*CreateIndexResponse) String ¶
func (x *CreateIndexResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //name of the index to snapshot; OpenSearcher bool `protobuf:"varint,2,opt,name=openSearcher,proto3" json:"openSearcher,omitempty"` //Pass true if you intend to do searches against this snapshot, by passing searcher: {snapshot: X} to @search // contains filtered or unexported fields }
Creates a snapshot in the index, which is saved point-in-time view of the last commit in the index such that no files referenced by that snapshot will be deleted by ongoing indexing until the snapshot is released with @releaseSnapshot. Note that this will reference the last commit, so be sure to call commit first if you have pending changes that you'd like to be included in the snapshot.<p>This can be used for backup purposes, i.e. after creating the snapshot you can copy all referenced files to backup storage, and then release the snapshot once complete. To restore the backup, just copy all the files back and restart the server. It can also be used for transactional purposes, i.e. if you sometimes need to search a specific snapshot instead of the current live index.<p>Creating a snapshot is very fast (does not require any file copying), but over time it will consume extra disk space as old segments are merged in the index. Be sure to release the snapshot once you're done. Snapshots survive shutdown and restart of the server. Returns all protected filenames referenced by this snapshot: these files will not change and will not be deleted until the snapshot is released. This returns the directories and files referenced by the snapshot.
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetIndexName ¶
func (x *CreateSnapshotRequest) GetIndexName() string
func (*CreateSnapshotRequest) GetOpenSearcher ¶
func (x *CreateSnapshotRequest) GetOpenSearcher() bool
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { IndexFiles []string `protobuf:"bytes,1,rep,name=indexFiles,proto3" json:"indexFiles,omitempty"` TaxonomyFiles []string `protobuf:"bytes,2,rep,name=taxonomyFiles,proto3" json:"taxonomyFiles,omitempty"` StateFiles []string `protobuf:"bytes,3,rep,name=stateFiles,proto3" json:"stateFiles,omitempty"` SnapshotId *SnapshotId `protobuf:"bytes,4,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotResponse) Descriptor
deprecated
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.
func (*CreateSnapshotResponse) GetIndexFiles ¶
func (x *CreateSnapshotResponse) GetIndexFiles() []string
func (*CreateSnapshotResponse) GetSnapshotId ¶
func (x *CreateSnapshotResponse) GetSnapshotId() *SnapshotId
func (*CreateSnapshotResponse) GetStateFiles ¶
func (x *CreateSnapshotResponse) GetStateFiles() []string
func (*CreateSnapshotResponse) GetTaxonomyFiles ¶
func (x *CreateSnapshotResponse) GetTaxonomyFiles() []string
func (*CreateSnapshotResponse) ProtoMessage ¶
func (*CreateSnapshotResponse) ProtoMessage()
func (*CreateSnapshotResponse) ProtoReflect ¶
func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message
func (*CreateSnapshotResponse) Reset ¶
func (x *CreateSnapshotResponse) Reset()
func (*CreateSnapshotResponse) String ¶
func (x *CreateSnapshotResponse) String() string
type CustomAnalyzer ¶
type CustomAnalyzer struct { CharFilters []*NameAndParams `protobuf:"bytes,1,rep,name=charFilters,proto3" json:"charFilters,omitempty"` // Available char filters as of Lucene 8.2.0: htmlstrip, mapping, persian, patternreplace Tokenizer *NameAndParams `protobuf:"bytes,2,opt,name=tokenizer,proto3" json:"tokenizer,omitempty"` // Specify a Lucene tokenizer (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/Tokenizer.html). Possible options as of Lucene 8.2.0: keyword, letter, whitespace, edgengram, pathhierarchy, pattern, simplepatternsplit, classic, standard, uax29urlemail, thai, wikipedia. TokenFilters []*NameAndParams `protobuf:"bytes,3,rep,name=tokenFilters,proto3" json:"tokenFilters,omitempty"` // Specify a Lucene token filter (https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/TokenFilter.html). The possible options can be seen at https://lucene.apache.org/core/8_2_0/analyzers-common/org/apache/lucene/analysis/util/TokenFilterFactory.html and subclasses of TokenFilter at https://lucene.apache.org/core/8_2_0/core/org/apache/lucene/analysis/package-tree.html or by calling TokenFilterFactory.availableTokenFilters(). ConditionalTokenFilters []*ConditionalTokenFilter `protobuf:"bytes,4,rep,name=conditionalTokenFilters,proto3" json:"conditionalTokenFilters,omitempty"` // TODO: this is not properly supported yet, the only impl requires a protected terms file. Can support this properly later if needed DefaultMatchVersion string `protobuf:"bytes,5,opt,name=defaultMatchVersion,proto3" json:"defaultMatchVersion,omitempty"` // Lucene version as LUCENE_X_Y_Z or X.Y.Z, LATEST by default PositionIncrementGap *IntObject `protobuf:"bytes,6,opt,name=positionIncrementGap,proto3" json:"positionIncrementGap,omitempty"` // Must be >= 0 OffsetGap *IntObject `protobuf:"bytes,7,opt,name=offsetGap,proto3" json:"offsetGap,omitempty"` // Must be >= 0 // contains filtered or unexported fields }
func (*CustomAnalyzer) Descriptor
deprecated
func (*CustomAnalyzer) Descriptor() ([]byte, []int)
Deprecated: Use CustomAnalyzer.ProtoReflect.Descriptor instead.
func (*CustomAnalyzer) GetCharFilters ¶
func (x *CustomAnalyzer) GetCharFilters() []*NameAndParams
func (*CustomAnalyzer) GetConditionalTokenFilters ¶
func (x *CustomAnalyzer) GetConditionalTokenFilters() []*ConditionalTokenFilter
func (*CustomAnalyzer) GetDefaultMatchVersion ¶
func (x *CustomAnalyzer) GetDefaultMatchVersion() string
func (*CustomAnalyzer) GetOffsetGap ¶
func (x *CustomAnalyzer) GetOffsetGap() *IntObject
func (*CustomAnalyzer) GetPositionIncrementGap ¶
func (x *CustomAnalyzer) GetPositionIncrementGap() *IntObject
func (*CustomAnalyzer) GetTokenFilters ¶
func (x *CustomAnalyzer) GetTokenFilters() []*NameAndParams
func (*CustomAnalyzer) GetTokenizer ¶
func (x *CustomAnalyzer) GetTokenizer() *NameAndParams
func (*CustomAnalyzer) ProtoMessage ¶
func (*CustomAnalyzer) ProtoMessage()
func (*CustomAnalyzer) ProtoReflect ¶
func (x *CustomAnalyzer) ProtoReflect() protoreflect.Message
func (*CustomAnalyzer) Reset ¶
func (x *CustomAnalyzer) Reset()
func (*CustomAnalyzer) String ¶
func (x *CustomAnalyzer) String() string
type DeleteAllDocumentsRequest ¶
type DeleteAllDocumentsRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index to delete all documents from // contains filtered or unexported fields }
func (*DeleteAllDocumentsRequest) Descriptor
deprecated
func (*DeleteAllDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllDocumentsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllDocumentsRequest) GetIndexName ¶
func (x *DeleteAllDocumentsRequest) GetIndexName() string
func (*DeleteAllDocumentsRequest) ProtoMessage ¶
func (*DeleteAllDocumentsRequest) ProtoMessage()
func (*DeleteAllDocumentsRequest) ProtoReflect ¶
func (x *DeleteAllDocumentsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllDocumentsRequest) Reset ¶
func (x *DeleteAllDocumentsRequest) Reset()
func (*DeleteAllDocumentsRequest) String ¶
func (x *DeleteAllDocumentsRequest) String() string
type DeleteAllDocumentsResponse ¶
type DeleteAllDocumentsResponse struct { GenId string `protobuf:"bytes,1,opt,name=genId,proto3" json:"genId,omitempty"` //Returns the index generation (indexGen) that reflects the deletion. // contains filtered or unexported fields }
func (*DeleteAllDocumentsResponse) Descriptor
deprecated
func (*DeleteAllDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllDocumentsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllDocumentsResponse) GetGenId ¶
func (x *DeleteAllDocumentsResponse) GetGenId() string
func (*DeleteAllDocumentsResponse) ProtoMessage ¶
func (*DeleteAllDocumentsResponse) ProtoMessage()
func (*DeleteAllDocumentsResponse) ProtoReflect ¶
func (x *DeleteAllDocumentsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllDocumentsResponse) Reset ¶
func (x *DeleteAllDocumentsResponse) Reset()
func (*DeleteAllDocumentsResponse) String ¶
func (x *DeleteAllDocumentsResponse) String() string
type DeleteByQueryRequest ¶
type DeleteByQueryRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Index to delete documents from Query []*Query `protobuf:"bytes,2,rep,name=query,proto3" json:"query,omitempty"` // Queries to match documents to be deleted // contains filtered or unexported fields }
func (*DeleteByQueryRequest) Descriptor
deprecated
func (*DeleteByQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteByQueryRequest.ProtoReflect.Descriptor instead.
func (*DeleteByQueryRequest) GetIndexName ¶
func (x *DeleteByQueryRequest) GetIndexName() string
func (*DeleteByQueryRequest) GetQuery ¶
func (x *DeleteByQueryRequest) GetQuery() []*Query
func (*DeleteByQueryRequest) ProtoMessage ¶
func (*DeleteByQueryRequest) ProtoMessage()
func (*DeleteByQueryRequest) ProtoReflect ¶
func (x *DeleteByQueryRequest) ProtoReflect() protoreflect.Message
func (*DeleteByQueryRequest) Reset ¶
func (x *DeleteByQueryRequest) Reset()
func (*DeleteByQueryRequest) String ¶
func (x *DeleteByQueryRequest) String() string
type DeleteIndexBackupRequest ¶
type DeleteIndexBackupRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //name of the index to backup ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"` // remote storage namespace qualifier for service ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` //remote storage namespace qualifier for resource e.g. indexName NDays int32 `protobuf:"varint,4,opt,name=nDays,proto3" json:"nDays,omitempty"` //backups older than nDays will be deleted from s3 // contains filtered or unexported fields }
func (*DeleteIndexBackupRequest) Descriptor
deprecated
func (*DeleteIndexBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteIndexBackupRequest) GetIndexName ¶
func (x *DeleteIndexBackupRequest) GetIndexName() string
func (*DeleteIndexBackupRequest) GetNDays ¶
func (x *DeleteIndexBackupRequest) GetNDays() int32
func (*DeleteIndexBackupRequest) GetResourceName ¶
func (x *DeleteIndexBackupRequest) GetResourceName() string
func (*DeleteIndexBackupRequest) GetServiceName ¶
func (x *DeleteIndexBackupRequest) GetServiceName() string
func (*DeleteIndexBackupRequest) ProtoMessage ¶
func (*DeleteIndexBackupRequest) ProtoMessage()
func (*DeleteIndexBackupRequest) ProtoReflect ¶
func (x *DeleteIndexBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteIndexBackupRequest) Reset ¶
func (x *DeleteIndexBackupRequest) Reset()
func (*DeleteIndexBackupRequest) String ¶
func (x *DeleteIndexBackupRequest) String() string
type DeleteIndexBackupResponse ¶
type DeleteIndexBackupResponse struct { DeletedResourceDataHashes []string `protobuf:"bytes,1,rep,name=deletedResourceDataHashes,proto3" json:"deletedResourceDataHashes,omitempty"` // version hashes of deleted backups from {resource}_data folder DeletedResourceMetadataHashes []string `protobuf:"bytes,2,rep,name=deletedResourceMetadataHashes,proto3" json:"deletedResourceMetadataHashes,omitempty"` // version hashes of deleted metadata of backups from {resource}_metadata folder DeletedDataVersions []string `protobuf:"bytes,3,rep,name=deletedDataVersions,proto3" json:"deletedDataVersions,omitempty"` // versions of deleted backup data from _version/{resource}_data folder DeletedMetadataVersions []string `protobuf:"bytes,4,rep,name=deletedMetadataVersions,proto3" json:"deletedMetadataVersions,omitempty"` // versions of deleted backup data from _version/{resource}_metadata folder // contains filtered or unexported fields }
func (*DeleteIndexBackupResponse) Descriptor
deprecated
func (*DeleteIndexBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexBackupResponse.ProtoReflect.Descriptor instead.
func (*DeleteIndexBackupResponse) GetDeletedDataVersions ¶
func (x *DeleteIndexBackupResponse) GetDeletedDataVersions() []string
func (*DeleteIndexBackupResponse) GetDeletedMetadataVersions ¶
func (x *DeleteIndexBackupResponse) GetDeletedMetadataVersions() []string
func (*DeleteIndexBackupResponse) GetDeletedResourceDataHashes ¶
func (x *DeleteIndexBackupResponse) GetDeletedResourceDataHashes() []string
func (*DeleteIndexBackupResponse) GetDeletedResourceMetadataHashes ¶
func (x *DeleteIndexBackupResponse) GetDeletedResourceMetadataHashes() []string
func (*DeleteIndexBackupResponse) ProtoMessage ¶
func (*DeleteIndexBackupResponse) ProtoMessage()
func (*DeleteIndexBackupResponse) ProtoReflect ¶
func (x *DeleteIndexBackupResponse) ProtoReflect() protoreflect.Message
func (*DeleteIndexBackupResponse) Reset ¶
func (x *DeleteIndexBackupResponse) Reset()
func (*DeleteIndexBackupResponse) String ¶
func (x *DeleteIndexBackupResponse) String() string
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index to delete // contains filtered or unexported fields }
func (*DeleteIndexRequest) Descriptor
deprecated
func (*DeleteIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead.
func (*DeleteIndexRequest) GetIndexName ¶
func (x *DeleteIndexRequest) GetIndexName() string
func (*DeleteIndexRequest) ProtoMessage ¶
func (*DeleteIndexRequest) ProtoMessage()
func (*DeleteIndexRequest) ProtoReflect ¶
func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message
func (*DeleteIndexRequest) Reset ¶
func (x *DeleteIndexRequest) Reset()
func (*DeleteIndexRequest) String ¶
func (x *DeleteIndexRequest) String() string
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { Ok string `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"` //Returns "ok" string on success // contains filtered or unexported fields }
func (*DeleteIndexResponse) Descriptor
deprecated
func (*DeleteIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexResponse.ProtoReflect.Descriptor instead.
func (*DeleteIndexResponse) GetOk ¶
func (x *DeleteIndexResponse) GetOk() string
func (*DeleteIndexResponse) ProtoMessage ¶
func (*DeleteIndexResponse) ProtoMessage()
func (*DeleteIndexResponse) ProtoReflect ¶
func (x *DeleteIndexResponse) ProtoReflect() protoreflect.Message
func (*DeleteIndexResponse) Reset ¶
func (x *DeleteIndexResponse) Reset()
func (*DeleteIndexResponse) String ¶
func (x *DeleteIndexResponse) String() string
type DisjunctionMaxQuery ¶
type DisjunctionMaxQuery struct { Disjuncts []*Query `protobuf:"bytes,1,rep,name=disjuncts,proto3" json:"disjuncts,omitempty"` // A list of all the disjuncts to add TieBreakerMultiplier float32 `protobuf:"fixed32,2,opt,name=tieBreakerMultiplier,proto3" json:"tieBreakerMultiplier,omitempty"` // The score of each non-maximum disjunct for a document is multiplied by this weight and added into the final score. // contains filtered or unexported fields }
A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.
func (*DisjunctionMaxQuery) Descriptor
deprecated
func (*DisjunctionMaxQuery) Descriptor() ([]byte, []int)
Deprecated: Use DisjunctionMaxQuery.ProtoReflect.Descriptor instead.
func (*DisjunctionMaxQuery) GetDisjuncts ¶
func (x *DisjunctionMaxQuery) GetDisjuncts() []*Query
func (*DisjunctionMaxQuery) GetTieBreakerMultiplier ¶
func (x *DisjunctionMaxQuery) GetTieBreakerMultiplier() float32
func (*DisjunctionMaxQuery) ProtoMessage ¶
func (*DisjunctionMaxQuery) ProtoMessage()
func (*DisjunctionMaxQuery) ProtoReflect ¶
func (x *DisjunctionMaxQuery) ProtoReflect() protoreflect.Message
func (*DisjunctionMaxQuery) Reset ¶
func (x *DisjunctionMaxQuery) Reset()
func (*DisjunctionMaxQuery) String ¶
func (x *DisjunctionMaxQuery) String() string
type DummyResponse ¶
type DummyResponse struct { Ok string `protobuf:"bytes,1,opt,name=ok,proto3" json:"ok,omitempty"` // returns "ok" string on success // contains filtered or unexported fields }
func (*DummyResponse) Descriptor
deprecated
func (*DummyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DummyResponse.ProtoReflect.Descriptor instead.
func (*DummyResponse) GetOk ¶
func (x *DummyResponse) GetOk() string
func (*DummyResponse) ProtoMessage ¶
func (*DummyResponse) ProtoMessage()
func (*DummyResponse) ProtoReflect ¶
func (x *DummyResponse) ProtoReflect() protoreflect.Message
func (*DummyResponse) Reset ¶
func (x *DummyResponse) Reset()
func (*DummyResponse) String ¶
func (x *DummyResponse) String() string
type ExistsQuery ¶
type ExistsQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query // contains filtered or unexported fields }
A query that matches documents which contain a value for a field.
func (*ExistsQuery) Descriptor
deprecated
func (*ExistsQuery) Descriptor() ([]byte, []int)
Deprecated: Use ExistsQuery.ProtoReflect.Descriptor instead.
func (*ExistsQuery) GetField ¶
func (x *ExistsQuery) GetField() string
func (*ExistsQuery) ProtoMessage ¶
func (*ExistsQuery) ProtoMessage()
func (*ExistsQuery) ProtoReflect ¶
func (x *ExistsQuery) ProtoReflect() protoreflect.Message
func (*ExistsQuery) Reset ¶
func (x *ExistsQuery) Reset()
func (*ExistsQuery) String ¶
func (x *ExistsQuery) String() string
type Facet ¶
type Facet struct { Dim string `protobuf:"bytes,1,opt,name=dim,proto3" json:"dim,omitempty"` //Dimension (field) Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` //Prefix path to facet 'under' NumericRange []*NumericRangeType `protobuf:"bytes,3,rep,name=numericRange,proto3" json:"numericRange,omitempty"` //Custom numeric ranges. Field must be indexed with facet=numericRange. UseOrdsCache bool `protobuf:"varint,4,opt,name=useOrdsCache,proto3" json:"useOrdsCache,omitempty"` // True if the ordinals cache should be used Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` // Specific facet labels to retrieve TopN int32 `protobuf:"varint,6,opt,name=topN,proto3" json:"topN,omitempty"` //How many top facets to return Script *Script `protobuf:"bytes,7,opt,name=script,proto3" json:"script,omitempty"` //FacetScript definition to use in place of index facet SampleTopDocs int32 `protobuf:"varint,8,opt,name=sampleTopDocs,proto3" json:"sampleTopDocs,omitempty"` //Facet over the top N ranked documents, instead of all hits. Only works with field doc values. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` //Name for this facet // contains filtered or unexported fields }
func (*Facet) Descriptor
deprecated
func (*Facet) GetNumericRange ¶
func (x *Facet) GetNumericRange() []*NumericRangeType
func (*Facet) GetSampleTopDocs ¶
func (*Facet) GetUseOrdsCache ¶
func (*Facet) ProtoMessage ¶
func (*Facet) ProtoMessage()
func (*Facet) ProtoReflect ¶
func (x *Facet) ProtoReflect() protoreflect.Message
type FacetHierarchyPath ¶
type FacetHierarchyPath struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*FacetHierarchyPath) Descriptor
deprecated
func (*FacetHierarchyPath) Descriptor() ([]byte, []int)
Deprecated: Use FacetHierarchyPath.ProtoReflect.Descriptor instead.
func (*FacetHierarchyPath) GetValue ¶
func (x *FacetHierarchyPath) GetValue() []string
func (*FacetHierarchyPath) ProtoMessage ¶
func (*FacetHierarchyPath) ProtoMessage()
func (*FacetHierarchyPath) ProtoReflect ¶
func (x *FacetHierarchyPath) ProtoReflect() protoreflect.Message
func (*FacetHierarchyPath) Reset ¶
func (x *FacetHierarchyPath) Reset()
func (*FacetHierarchyPath) String ¶
func (x *FacetHierarchyPath) String() string
type FacetResult ¶
type FacetResult struct { Dim string `protobuf:"bytes,1,opt,name=dim,proto3" json:"dim,omitempty"` //Dimension that was requested Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` //Path whose children were requested. Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` //Total value for this path (sum of all child counts, or sum of all child values), even those not included in the topN. LabelValues []*LabelAndValue `protobuf:"bytes,4,rep,name=labelValues,proto3" json:"labelValues,omitempty"` // Child counts. ChildCount int64 `protobuf:"varint,5,opt,name=childCount,proto3" json:"childCount,omitempty"` //How many child labels were encountered. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` //Name for this facet // contains filtered or unexported fields }
func (*FacetResult) Descriptor
deprecated
func (*FacetResult) Descriptor() ([]byte, []int)
Deprecated: Use FacetResult.ProtoReflect.Descriptor instead.
func (*FacetResult) GetChildCount ¶
func (x *FacetResult) GetChildCount() int64
func (*FacetResult) GetDim ¶
func (x *FacetResult) GetDim() string
func (*FacetResult) GetLabelValues ¶
func (x *FacetResult) GetLabelValues() []*LabelAndValue
func (*FacetResult) GetName ¶
func (x *FacetResult) GetName() string
func (*FacetResult) GetPath ¶
func (x *FacetResult) GetPath() []string
func (*FacetResult) GetValue ¶
func (x *FacetResult) GetValue() float64
func (*FacetResult) ProtoMessage ¶
func (*FacetResult) ProtoMessage()
func (*FacetResult) ProtoReflect ¶
func (x *FacetResult) ProtoReflect() protoreflect.Message
func (*FacetResult) Reset ¶
func (x *FacetResult) Reset()
func (*FacetResult) String ¶
func (x *FacetResult) String() string
type FacetType ¶
type FacetType int32
Whether/How this field should index facets, and how.
const ( FacetType_NO_FACETS FacetType = 0 //No facets are indexed. FacetType_FLAT FacetType = 1 //Facets are indexed with no hierarchy. FacetType_HIERARCHY FacetType = 2 //Facets are indexed and are hierarchical. FacetType_NUMERIC_RANGE FacetType = 3 //Compute facet counts for custom numeric ranges FacetType_SORTED_SET_DOC_VALUES FacetType = 4 //Uses SortedSetDocValuesFacetCounts, which must be flat but don't require a taxonomy index )
func (FacetType) Descriptor ¶
func (FacetType) Descriptor() protoreflect.EnumDescriptor
func (FacetType) EnumDescriptor
deprecated
func (FacetType) Number ¶
func (x FacetType) Number() protoreflect.EnumNumber
func (FacetType) Type ¶
func (FacetType) Type() protoreflect.EnumType
type FetchTask ¶
type FetchTask struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //Name of task, as registered by a FetchTaskPlugin Params *_struct.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` //Optional task parameters // contains filtered or unexported fields }
func (*FetchTask) Descriptor
deprecated
func (*FetchTask) ProtoMessage ¶
func (*FetchTask) ProtoMessage()
func (*FetchTask) ProtoReflect ¶
func (x *FetchTask) ProtoReflect() protoreflect.Message
type Field ¶
type Field struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // name of the field Type FieldType `protobuf:"varint,2,opt,name=type,proto3,enum=luceneserver.FieldType" json:"type,omitempty"` Search bool `protobuf:"varint,3,opt,name=search,proto3" json:"search,omitempty"` // True if the value should be available for searching (or numeric range searching, for a numeric field). Store bool `protobuf:"varint,4,opt,name=store,proto3" json:"store,omitempty"` // True if the value should be stored. StoreDocValues bool `protobuf:"varint,5,opt,name=storeDocValues,proto3" json:"storeDocValues,omitempty"` // Whether to index the value into doc values. Sort bool `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` // True if the value should be indexed into doc values for sorting. Tokenize bool `protobuf:"varint,7,opt,name=tokenize,proto3" json:"tokenize,omitempty"` // True if the value should be tokenized. Group bool `protobuf:"varint,8,opt,name=group,proto3" json:"group,omitempty"` // True if the value should be indexed into doc values for grouping. MultiValued bool `protobuf:"varint,9,opt,name=multiValued,proto3" json:"multiValued,omitempty"` // True if this field may sometimes have more than one value. Highlight bool `protobuf:"varint,10,opt,name=highlight,proto3" json:"highlight,omitempty"` // True if the value should be indexed for highlighting. OmitNorms bool `protobuf:"varint,11,opt,name=omitNorms,proto3" json:"omitNorms,omitempty"` // True if norms are omitted. DateTimeFormat string `protobuf:"bytes,12,opt,name=dateTimeFormat,proto3" json:"dateTimeFormat,omitempty"` // Format string used to parse datetime fields, supported values are: 1) DateTimeFormatter format 2) "epoch_millis" (datetime value is epoch timestamp) PostingsFormat string `protobuf:"bytes,13,opt,name=postingsFormat,proto3" json:"postingsFormat,omitempty"` // Which PostingsFormat should be used to index this field. DocValuesFormat string `protobuf:"bytes,14,opt,name=docValuesFormat,proto3" json:"docValuesFormat,omitempty"` // Which DocValuesFormat should be used to index this field. IndexOptions IndexOptions `protobuf:"varint,15,opt,name=indexOptions,proto3,enum=luceneserver.IndexOptions" json:"indexOptions,omitempty"` //How the tokens should be indexed. Script *Script `protobuf:"bytes,16,opt,name=script,proto3" json:"script,omitempty"` // The script definition defining a virtual field's value (only used with type=virtual). //TODO make analyzers message types i.e. StandardAnalyzer, EnglishAnalyzer, CustomAnalyzer etc Analyzer *Analyzer `protobuf:"bytes,17,opt,name=analyzer,proto3" json:"analyzer,omitempty"` // Analyzer to use for this field during indexing and searching. IndexAnalyzer *Analyzer `protobuf:"bytes,18,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` // Analyzer to use for this field during indexing. SearchAnalyzer *Analyzer `protobuf:"bytes,19,opt,name=searchAnalyzer,proto3" json:"searchAnalyzer,omitempty"` //Analyzer to use for this field during searching. TermVectors TermVectors `protobuf:"varint,20,opt,name=termVectors,proto3,enum=luceneserver.TermVectors" json:"termVectors,omitempty"` // Whether/how term vectors should be indexed. //TODO make similarity message types i.d. DefaultSimilarity, CustomSimilarity, BM25Similarity; Similarity string `protobuf:"bytes,21,opt,name=similarity,proto3" json:"similarity,omitempty"` // Which Similarity implementation to use for this field. Facet FacetType `protobuf:"varint,22,opt,name=facet,proto3,enum=luceneserver.FacetType" json:"facet,omitempty"` // Whether this field should index facets, and how. FacetIndexFieldName string `protobuf:"bytes,23,opt,name=facetIndexFieldName,proto3" json:"facetIndexFieldName,omitempty"` // "Which underlying Lucene index field is used to hold any indexed taxonomy or sorted set doc values facets AdditionalProperties *_struct.Struct `protobuf:"bytes,24,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"` // Additional info needed to configure field, used for CUSTOM types. SimilarityParams *_struct.Struct `protobuf:"bytes,25,opt,name=similarityParams,proto3" json:"similarityParams,omitempty"` // Parameters for similarity implementation. ChildFields []*Field `protobuf:"bytes,26,rep,name=childFields,proto3" json:"childFields,omitempty"` // Child fields accessible by dot notation, index same data as parent EagerGlobalOrdinals bool `protobuf:"varint,27,opt,name=eagerGlobalOrdinals,proto3" json:"eagerGlobalOrdinals,omitempty"` // Compute facet global ordinals for this field up front, otherwise this is done lazily on first query. Currently only for SORTED_SET_DOC_VALUES facet type. NestedDoc bool `protobuf:"varint,28,opt,name=nestedDoc,proto3" json:"nestedDoc,omitempty"` // True if object data should be indexed as child documents // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetAdditionalProperties ¶
func (*Field) GetAnalyzer ¶
func (*Field) GetChildFields ¶
func (*Field) GetDateTimeFormat ¶
func (*Field) GetDocValuesFormat ¶
func (*Field) GetEagerGlobalOrdinals ¶
func (*Field) GetFacetIndexFieldName ¶
func (*Field) GetHighlight ¶
func (*Field) GetIndexAnalyzer ¶
func (*Field) GetIndexOptions ¶
func (x *Field) GetIndexOptions() IndexOptions
func (*Field) GetMultiValued ¶
func (*Field) GetNestedDoc ¶
func (*Field) GetOmitNorms ¶
func (*Field) GetPostingsFormat ¶
func (*Field) GetSearchAnalyzer ¶
func (*Field) GetSimilarity ¶
func (*Field) GetSimilarityParams ¶
func (*Field) GetStoreDocValues ¶
func (*Field) GetTermVectors ¶
func (x *Field) GetTermVectors() TermVectors
func (*Field) GetTokenize ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type FieldDefRequest ¶
type FieldDefRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // name of the index against which the field is to be created Field []*Field `protobuf:"bytes,2,rep,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
Input to registerFields
func (*FieldDefRequest) Descriptor
deprecated
func (*FieldDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use FieldDefRequest.ProtoReflect.Descriptor instead.
func (*FieldDefRequest) GetField ¶
func (x *FieldDefRequest) GetField() []*Field
func (*FieldDefRequest) GetIndexName ¶
func (x *FieldDefRequest) GetIndexName() string
func (*FieldDefRequest) ProtoMessage ¶
func (*FieldDefRequest) ProtoMessage()
func (*FieldDefRequest) ProtoReflect ¶
func (x *FieldDefRequest) ProtoReflect() protoreflect.Message
func (*FieldDefRequest) Reset ¶
func (x *FieldDefRequest) Reset()
func (*FieldDefRequest) String ¶
func (x *FieldDefRequest) String() string
type FieldDefResponse ¶
type FieldDefResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
Response from Server for registerFields
func (*FieldDefResponse) Descriptor
deprecated
func (*FieldDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use FieldDefResponse.ProtoReflect.Descriptor instead.
func (*FieldDefResponse) GetResponse ¶
func (x *FieldDefResponse) GetResponse() string
func (*FieldDefResponse) ProtoMessage ¶
func (*FieldDefResponse) ProtoMessage()
func (*FieldDefResponse) ProtoReflect ¶
func (x *FieldDefResponse) ProtoReflect() protoreflect.Message
func (*FieldDefResponse) Reset ¶
func (x *FieldDefResponse) Reset()
func (*FieldDefResponse) String ¶
func (x *FieldDefResponse) String() string
type FieldType ¶
type FieldType int32
Type of the field
const ( FieldType_ATOM FieldType = 0 // Text that's indexed as a single token, with DOCS_ONLY and omitting norms. FieldType_TEXT FieldType = 1 // Text that's tokenized and indexed, with the index-time analyzer. FieldType_BOOLEAN FieldType = 2 // Boolean value. FieldType_LONG FieldType = 3 //Long value. FieldType_INT FieldType = 4 // Int value. FieldType_DOUBLE FieldType = 5 //Double value. FieldType_FLOAT FieldType = 6 // Float value. FieldType_LAT_LON FieldType = 7 // A latitude/longitude point. FieldType_DATE_TIME FieldType = 8 // Date and optional time. // TODO name this "dynamic" instead of "virtual"? FieldType_VIRTUAL FieldType = 9 // Virtual field defined with a JavaScript expression. // TODO need tests for internal: FieldType_INTERNAL FieldType = 10 //Internal field, currently only for holding indexed facets data. FieldType_CUSTOM FieldType = 11 // Field type specified by name. FieldType__ID FieldType = 12 // Field which will be used as document IDs FieldType_POLYGON FieldType = 13 // Geojson string for polygon FieldType_OBJECT FieldType = 14 // JSON )
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type FileInfo ¶
type FileInfo struct { FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` // Name of the file the replica wants primary to send FpStart int64 `protobuf:"varint,2,opt,name=fpStart,proto3" json:"fpStart,omitempty"` // Starting offset in the file primary should start sending bytes from: IndexName string `protobuf:"bytes,3,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name these files belong to // sequence number to ack, only used for acked file copy AckSeqNum int32 `protobuf:"varint,4,opt,name=ackSeqNum,proto3" json:"ackSeqNum,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetAckSeqNum ¶
func (*FileInfo) GetFileName ¶
func (*FileInfo) GetFpStart ¶
func (*FileInfo) GetIndexName ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FileMetadata ¶
type FileMetadata struct { FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` //file Name Len int64 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` //file checksum Checksum int64 `protobuf:"varint,3,opt,name=checksum,proto3" json:"checksum,omitempty"` //file checksum HeaderLength int32 `protobuf:"varint,4,opt,name=headerLength,proto3" json:"headerLength,omitempty"` //file header length; Header []byte `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` //file header; // contains filtered or unexported fields }
func (*FileMetadata) Descriptor
deprecated
func (*FileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FileMetadata.ProtoReflect.Descriptor instead.
func (*FileMetadata) GetChecksum ¶
func (x *FileMetadata) GetChecksum() int64
func (*FileMetadata) GetFileName ¶
func (x *FileMetadata) GetFileName() string
func (*FileMetadata) GetFooter ¶
func (x *FileMetadata) GetFooter() []byte
func (*FileMetadata) GetFooterLength ¶
func (x *FileMetadata) GetFooterLength() int32
func (*FileMetadata) GetHeader ¶
func (x *FileMetadata) GetHeader() []byte
func (*FileMetadata) GetHeaderLength ¶
func (x *FileMetadata) GetHeaderLength() int32
func (*FileMetadata) GetLen ¶
func (x *FileMetadata) GetLen() int64
func (*FileMetadata) ProtoMessage ¶
func (*FileMetadata) ProtoMessage()
func (*FileMetadata) ProtoReflect ¶
func (x *FileMetadata) ProtoReflect() protoreflect.Message
func (*FileMetadata) Reset ¶
func (x *FileMetadata) Reset()
func (*FileMetadata) String ¶
func (x *FileMetadata) String() string
type FilesInfo ¶
type FilesInfo struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name ReplicaId int32 `protobuf:"varint,3,opt,name=replicaId,proto3" json:"replicaId,omitempty"` //replica Id FileInfo []*FileInfo `protobuf:"bytes,4,rep,name=fileInfo,proto3" json:"fileInfo,omitempty"` //list of file name and offsets from where primary should start sending bytes to replica // contains filtered or unexported fields }
func (*FilesInfo) Descriptor
deprecated
func (*FilesInfo) GetFileInfo ¶
func (*FilesInfo) GetIndexName ¶
func (*FilesInfo) GetMagicNumber ¶
func (*FilesInfo) GetReplicaId ¶
func (*FilesInfo) ProtoMessage ¶
func (*FilesInfo) ProtoMessage()
func (*FilesInfo) ProtoReflect ¶
func (x *FilesInfo) ProtoReflect() protoreflect.Message
type FilesMetadata ¶
type FilesMetadata struct { NumFiles int32 `protobuf:"varint,1,opt,name=numFiles,proto3" json:"numFiles,omitempty"` //number of files int this set FileMetadata []*FileMetadata `protobuf:"bytes,2,rep,name=fileMetadata,proto3" json:"fileMetadata,omitempty"` //list of metadata for each file // contains filtered or unexported fields }
func (*FilesMetadata) Descriptor
deprecated
func (*FilesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FilesMetadata.ProtoReflect.Descriptor instead.
func (*FilesMetadata) GetFileMetadata ¶
func (x *FilesMetadata) GetFileMetadata() []*FileMetadata
func (*FilesMetadata) GetNumFiles ¶
func (x *FilesMetadata) GetNumFiles() int32
func (*FilesMetadata) ProtoMessage ¶
func (*FilesMetadata) ProtoMessage()
func (*FilesMetadata) ProtoReflect ¶
func (x *FilesMetadata) ProtoReflect() protoreflect.Message
func (*FilesMetadata) Reset ¶
func (x *FilesMetadata) Reset()
func (*FilesMetadata) String ¶
func (x *FilesMetadata) String() string
type ForceMergeDeletesRequest ¶
type ForceMergeDeletesRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Index whose segments having deletes must be force merged DoWait bool `protobuf:"varint,2,opt,name=doWait,proto3" json:"doWait,omitempty"` // If true, waits until the force merge is completed before returning a response. Otherwise starts force merging in async and returns a response. // contains filtered or unexported fields }
func (*ForceMergeDeletesRequest) Descriptor
deprecated
func (*ForceMergeDeletesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForceMergeDeletesRequest.ProtoReflect.Descriptor instead.
func (*ForceMergeDeletesRequest) GetDoWait ¶
func (x *ForceMergeDeletesRequest) GetDoWait() bool
func (*ForceMergeDeletesRequest) GetIndexName ¶
func (x *ForceMergeDeletesRequest) GetIndexName() string
func (*ForceMergeDeletesRequest) ProtoMessage ¶
func (*ForceMergeDeletesRequest) ProtoMessage()
func (*ForceMergeDeletesRequest) ProtoReflect ¶
func (x *ForceMergeDeletesRequest) ProtoReflect() protoreflect.Message
func (*ForceMergeDeletesRequest) Reset ¶
func (x *ForceMergeDeletesRequest) Reset()
func (*ForceMergeDeletesRequest) String ¶
func (x *ForceMergeDeletesRequest) String() string
type ForceMergeDeletesResponse ¶
type ForceMergeDeletesResponse struct { Status ForceMergeDeletesResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=luceneserver.ForceMergeDeletesResponse_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ForceMergeDeletesResponse) Descriptor
deprecated
func (*ForceMergeDeletesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForceMergeDeletesResponse.ProtoReflect.Descriptor instead.
func (*ForceMergeDeletesResponse) GetStatus ¶
func (x *ForceMergeDeletesResponse) GetStatus() ForceMergeDeletesResponse_Status
func (*ForceMergeDeletesResponse) ProtoMessage ¶
func (*ForceMergeDeletesResponse) ProtoMessage()
func (*ForceMergeDeletesResponse) ProtoReflect ¶
func (x *ForceMergeDeletesResponse) ProtoReflect() protoreflect.Message
func (*ForceMergeDeletesResponse) Reset ¶
func (x *ForceMergeDeletesResponse) Reset()
func (*ForceMergeDeletesResponse) String ¶
func (x *ForceMergeDeletesResponse) String() string
type ForceMergeDeletesResponse_Status ¶
type ForceMergeDeletesResponse_Status int32
const ( ForceMergeDeletesResponse_FORCE_MERGE_DELETES_COMPLETED ForceMergeDeletesResponse_Status = 0 ForceMergeDeletesResponse_FORCE_MERGE_DELETES_SUBMITTED ForceMergeDeletesResponse_Status = 1 )
func (ForceMergeDeletesResponse_Status) Descriptor ¶
func (ForceMergeDeletesResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (ForceMergeDeletesResponse_Status) Enum ¶
func (x ForceMergeDeletesResponse_Status) Enum() *ForceMergeDeletesResponse_Status
func (ForceMergeDeletesResponse_Status) EnumDescriptor
deprecated
func (ForceMergeDeletesResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForceMergeDeletesResponse_Status.Descriptor instead.
func (ForceMergeDeletesResponse_Status) Number ¶
func (x ForceMergeDeletesResponse_Status) Number() protoreflect.EnumNumber
func (ForceMergeDeletesResponse_Status) String ¶
func (x ForceMergeDeletesResponse_Status) String() string
func (ForceMergeDeletesResponse_Status) Type ¶
func (ForceMergeDeletesResponse_Status) Type() protoreflect.EnumType
type ForceMergeRequest ¶
type ForceMergeRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Index whose segments must be force merged MaxNumSegments int32 `protobuf:"varint,2,opt,name=maxNumSegments,proto3" json:"maxNumSegments,omitempty"` // Maximum number of segments after force merge DoWait bool `protobuf:"varint,3,opt,name=doWait,proto3" json:"doWait,omitempty"` // If true, waits until the force merge is completed before returning a response. Otherwise starts force merging in async and returns a response. // contains filtered or unexported fields }
func (*ForceMergeRequest) Descriptor
deprecated
func (*ForceMergeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForceMergeRequest.ProtoReflect.Descriptor instead.
func (*ForceMergeRequest) GetDoWait ¶
func (x *ForceMergeRequest) GetDoWait() bool
func (*ForceMergeRequest) GetIndexName ¶
func (x *ForceMergeRequest) GetIndexName() string
func (*ForceMergeRequest) GetMaxNumSegments ¶
func (x *ForceMergeRequest) GetMaxNumSegments() int32
func (*ForceMergeRequest) ProtoMessage ¶
func (*ForceMergeRequest) ProtoMessage()
func (*ForceMergeRequest) ProtoReflect ¶
func (x *ForceMergeRequest) ProtoReflect() protoreflect.Message
func (*ForceMergeRequest) Reset ¶
func (x *ForceMergeRequest) Reset()
func (*ForceMergeRequest) String ¶
func (x *ForceMergeRequest) String() string
type ForceMergeResponse ¶
type ForceMergeResponse struct { Status ForceMergeResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=luceneserver.ForceMergeResponse_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ForceMergeResponse) Descriptor
deprecated
func (*ForceMergeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForceMergeResponse.ProtoReflect.Descriptor instead.
func (*ForceMergeResponse) GetStatus ¶
func (x *ForceMergeResponse) GetStatus() ForceMergeResponse_Status
func (*ForceMergeResponse) ProtoMessage ¶
func (*ForceMergeResponse) ProtoMessage()
func (*ForceMergeResponse) ProtoReflect ¶
func (x *ForceMergeResponse) ProtoReflect() protoreflect.Message
func (*ForceMergeResponse) Reset ¶
func (x *ForceMergeResponse) Reset()
func (*ForceMergeResponse) String ¶
func (x *ForceMergeResponse) String() string
type ForceMergeResponse_Status ¶
type ForceMergeResponse_Status int32
const ( ForceMergeResponse_FORCE_MERGE_COMPLETED ForceMergeResponse_Status = 0 ForceMergeResponse_FORCE_MERGE_SUBMITTED ForceMergeResponse_Status = 1 )
func (ForceMergeResponse_Status) Descriptor ¶
func (ForceMergeResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (ForceMergeResponse_Status) Enum ¶
func (x ForceMergeResponse_Status) Enum() *ForceMergeResponse_Status
func (ForceMergeResponse_Status) EnumDescriptor
deprecated
func (ForceMergeResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForceMergeResponse_Status.Descriptor instead.
func (ForceMergeResponse_Status) Number ¶
func (x ForceMergeResponse_Status) Number() protoreflect.EnumNumber
func (ForceMergeResponse_Status) String ¶
func (x ForceMergeResponse_Status) String() string
func (ForceMergeResponse_Status) Type ¶
func (ForceMergeResponse_Status) Type() protoreflect.EnumType
type FunctionFilterQuery ¶
type FunctionFilterQuery struct { Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` // script definition to compute a custom document score // contains filtered or unexported fields }
A query that retrieves all documents with a positive score calculated by the script
func (*FunctionFilterQuery) Descriptor
deprecated
func (*FunctionFilterQuery) Descriptor() ([]byte, []int)
Deprecated: Use FunctionFilterQuery.ProtoReflect.Descriptor instead.
func (*FunctionFilterQuery) GetScript ¶
func (x *FunctionFilterQuery) GetScript() *Script
func (*FunctionFilterQuery) ProtoMessage ¶
func (*FunctionFilterQuery) ProtoMessage()
func (*FunctionFilterQuery) ProtoReflect ¶
func (x *FunctionFilterQuery) ProtoReflect() protoreflect.Message
func (*FunctionFilterQuery) Reset ¶
func (x *FunctionFilterQuery) Reset()
func (*FunctionFilterQuery) String ¶
func (x *FunctionFilterQuery) String() string
type FunctionScoreQuery ¶
type FunctionScoreQuery struct { Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Input query Script *Script `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` // script definition to compute a custom document score // contains filtered or unexported fields }
A query that wraps another query and uses custom scoring logic to compute the wrapped query's score.
func (*FunctionScoreQuery) Descriptor
deprecated
func (*FunctionScoreQuery) Descriptor() ([]byte, []int)
Deprecated: Use FunctionScoreQuery.ProtoReflect.Descriptor instead.
func (*FunctionScoreQuery) GetQuery ¶
func (x *FunctionScoreQuery) GetQuery() *Query
func (*FunctionScoreQuery) GetScript ¶
func (x *FunctionScoreQuery) GetScript() *Script
func (*FunctionScoreQuery) ProtoMessage ¶
func (*FunctionScoreQuery) ProtoMessage()
func (*FunctionScoreQuery) ProtoReflect ¶
func (x *FunctionScoreQuery) ProtoReflect() protoreflect.Message
func (*FunctionScoreQuery) Reset ¶
func (x *FunctionScoreQuery) Reset()
func (*FunctionScoreQuery) String ¶
func (x *FunctionScoreQuery) String() string
type FuzzyInfixSuggester ¶
type FuzzyInfixSuggester struct { Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` IndexAnalyzer string `protobuf:"bytes,2,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` // Index Analyzer QueryAnalyzer string `protobuf:"bytes,3,opt,name=queryAnalyzer,proto3" json:"queryAnalyzer,omitempty"` // Query Analyzer MinFuzzyLength int32 `protobuf:"varint,4,opt,name=minFuzzyLength,proto3" json:"minFuzzyLength,omitempty"` //Minimum key length before edits are allowed, NonFuzzyPrefix int32 `protobuf:"varint,5,opt,name=nonFuzzyPrefix,proto3" json:"nonFuzzyPrefix,omitempty"` //Key prefix where edits are not allowed, MaxEdits int32 `protobuf:"varint,6,opt,name=maxEdits,proto3" json:"maxEdits,omitempty"` //Maximum number of edits for fuzzy suggestions Transpositions bool `protobuf:"varint,7,opt,name=transpositions,proto3" json:"transpositions,omitempty"` //Whether transpositions are allowed UnicodeAware bool `protobuf:"varint,8,opt,name=unicodeAware,proto3" json:"unicodeAware,omitempty"` //True if all edits are measured in unicode characters, not UTF-8 bytes // contains filtered or unexported fields }
A suggester that matches fuzzy terms in the input text
func (*FuzzyInfixSuggester) Descriptor
deprecated
func (*FuzzyInfixSuggester) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyInfixSuggester.ProtoReflect.Descriptor instead.
func (*FuzzyInfixSuggester) GetAnalyzer ¶
func (x *FuzzyInfixSuggester) GetAnalyzer() string
func (*FuzzyInfixSuggester) GetIndexAnalyzer ¶
func (x *FuzzyInfixSuggester) GetIndexAnalyzer() string
func (*FuzzyInfixSuggester) GetMaxEdits ¶
func (x *FuzzyInfixSuggester) GetMaxEdits() int32
func (*FuzzyInfixSuggester) GetMinFuzzyLength ¶
func (x *FuzzyInfixSuggester) GetMinFuzzyLength() int32
func (*FuzzyInfixSuggester) GetNonFuzzyPrefix ¶
func (x *FuzzyInfixSuggester) GetNonFuzzyPrefix() int32
func (*FuzzyInfixSuggester) GetQueryAnalyzer ¶
func (x *FuzzyInfixSuggester) GetQueryAnalyzer() string
func (*FuzzyInfixSuggester) GetTranspositions ¶
func (x *FuzzyInfixSuggester) GetTranspositions() bool
func (*FuzzyInfixSuggester) GetUnicodeAware ¶
func (x *FuzzyInfixSuggester) GetUnicodeAware() bool
func (*FuzzyInfixSuggester) ProtoMessage ¶
func (*FuzzyInfixSuggester) ProtoMessage()
func (*FuzzyInfixSuggester) ProtoReflect ¶
func (x *FuzzyInfixSuggester) ProtoReflect() protoreflect.Message
func (*FuzzyInfixSuggester) Reset ¶
func (x *FuzzyInfixSuggester) Reset()
func (*FuzzyInfixSuggester) String ¶
func (x *FuzzyInfixSuggester) String() string
type FuzzyParams ¶
type FuzzyParams struct { MaxEdits int32 `protobuf:"varint,1,opt,name=maxEdits,proto3" json:"maxEdits,omitempty"` // The maximum allowed Levenshtein Edit Distance (or number of edits). Possible values are 0, 1 and 2. PrefixLength int32 `protobuf:"varint,2,opt,name=prefixLength,proto3" json:"prefixLength,omitempty"` // Length of common (non-fuzzy) prefix MaxExpansions int32 `protobuf:"varint,3,opt,name=maxExpansions,proto3" json:"maxExpansions,omitempty"` // The maximum number of terms to match. Transpositions bool `protobuf:"varint,4,opt,name=transpositions,proto3" json:"transpositions,omitempty"` // True if transpositions should be treated as a primitive edit operation. If this is false (default), comparisons will implement the classic Levenshtein algorithm. // contains filtered or unexported fields }
func (*FuzzyParams) Descriptor
deprecated
func (*FuzzyParams) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyParams.ProtoReflect.Descriptor instead.
func (*FuzzyParams) GetMaxEdits ¶
func (x *FuzzyParams) GetMaxEdits() int32
func (*FuzzyParams) GetMaxExpansions ¶
func (x *FuzzyParams) GetMaxExpansions() int32
func (*FuzzyParams) GetPrefixLength ¶
func (x *FuzzyParams) GetPrefixLength() int32
func (*FuzzyParams) GetTranspositions ¶
func (x *FuzzyParams) GetTranspositions() bool
func (*FuzzyParams) ProtoMessage ¶
func (*FuzzyParams) ProtoMessage()
func (*FuzzyParams) ProtoReflect ¶
func (x *FuzzyParams) ProtoReflect() protoreflect.Message
func (*FuzzyParams) Reset ¶
func (x *FuzzyParams) Reset()
func (*FuzzyParams) String ¶
func (x *FuzzyParams) String() string
type FuzzySuggester ¶
type FuzzySuggester struct { Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` //Index and query analyzer IndexAnalyzer string `protobuf:"bytes,2,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` // Index Analyzer QueryAnalyzer string `protobuf:"bytes,3,opt,name=queryAnalyzer,proto3" json:"queryAnalyzer,omitempty"` // Query Analyzer MaxSurfaceFormsPerAnalyzedForm int32 `protobuf:"varint,4,opt,name=maxSurfaceFormsPerAnalyzedForm,proto3" json:"maxSurfaceFormsPerAnalyzedForm,omitempty"` //Maximum number of surface forms to keep for a single analyzed form MaxGraphExpansions int32 `protobuf:"varint,5,opt,name=maxGraphExpansions,proto3" json:"maxGraphExpansions,omitempty"` //Maximum number of graph paths to expand from the analyzed from PreserveSep bool `protobuf:"varint,6,opt,name=preserveSep,proto3" json:"preserveSep,omitempty"` //True if token separators should be preserved when matching ExactFirst bool `protobuf:"varint,7,opt,name=exactFirst,proto3" json:"exactFirst,omitempty"` //True if the exact match should always be returned first regardless of score MinFuzzyLength int32 `protobuf:"varint,8,opt,name=minFuzzyLength,proto3" json:"minFuzzyLength,omitempty"` //Minimum key length before edits are allowed, NonFuzzyPrefix int32 `protobuf:"varint,9,opt,name=nonFuzzyPrefix,proto3" json:"nonFuzzyPrefix,omitempty"` //Key prefix where edits are not allowed, MaxEdits int32 `protobuf:"varint,10,opt,name=maxEdits,proto3" json:"maxEdits,omitempty"` //Maximum number of edits for fuzzy suggestions Transpositions bool `protobuf:"varint,11,opt,name=transpositions,proto3" json:"transpositions,omitempty"` //Whether transpositions are allowed UnicodeAware bool `protobuf:"varint,12,opt,name=unicodeAware,proto3" json:"unicodeAware,omitempty"` //True if all edits are measured in unicode characters, not UTF-8 bytes // contains filtered or unexported fields }
Implements a fuzzy AnalyzingSuggester (see @lucene:suggest:org.apache.lucene.search.suggest.analyzing.FuzzySuggester
func (*FuzzySuggester) Descriptor
deprecated
func (*FuzzySuggester) Descriptor() ([]byte, []int)
Deprecated: Use FuzzySuggester.ProtoReflect.Descriptor instead.
func (*FuzzySuggester) GetAnalyzer ¶
func (x *FuzzySuggester) GetAnalyzer() string
func (*FuzzySuggester) GetExactFirst ¶
func (x *FuzzySuggester) GetExactFirst() bool
func (*FuzzySuggester) GetIndexAnalyzer ¶
func (x *FuzzySuggester) GetIndexAnalyzer() string
func (*FuzzySuggester) GetMaxEdits ¶
func (x *FuzzySuggester) GetMaxEdits() int32
func (*FuzzySuggester) GetMaxGraphExpansions ¶
func (x *FuzzySuggester) GetMaxGraphExpansions() int32
func (*FuzzySuggester) GetMaxSurfaceFormsPerAnalyzedForm ¶
func (x *FuzzySuggester) GetMaxSurfaceFormsPerAnalyzedForm() int32
func (*FuzzySuggester) GetMinFuzzyLength ¶
func (x *FuzzySuggester) GetMinFuzzyLength() int32
func (*FuzzySuggester) GetNonFuzzyPrefix ¶
func (x *FuzzySuggester) GetNonFuzzyPrefix() int32
func (*FuzzySuggester) GetPreserveSep ¶
func (x *FuzzySuggester) GetPreserveSep() bool
func (*FuzzySuggester) GetQueryAnalyzer ¶
func (x *FuzzySuggester) GetQueryAnalyzer() string
func (*FuzzySuggester) GetTranspositions ¶
func (x *FuzzySuggester) GetTranspositions() bool
func (*FuzzySuggester) GetUnicodeAware ¶
func (x *FuzzySuggester) GetUnicodeAware() bool
func (*FuzzySuggester) ProtoMessage ¶
func (*FuzzySuggester) ProtoMessage()
func (*FuzzySuggester) ProtoReflect ¶
func (x *FuzzySuggester) ProtoReflect() protoreflect.Message
func (*FuzzySuggester) Reset ¶
func (x *FuzzySuggester) Reset()
func (*FuzzySuggester) String ¶
func (x *FuzzySuggester) String() string
type GeoBoundingBoxQuery ¶
type GeoBoundingBoxQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query TopLeft *latlng.LatLng `protobuf:"bytes,2,opt,name=topLeft,proto3" json:"topLeft,omitempty"` // top left corner of the geo box BottomRight *latlng.LatLng `protobuf:"bytes,3,opt,name=bottomRight,proto3" json:"bottomRight,omitempty"` // bottom right corner of the geo box // contains filtered or unexported fields }
A query that matches documents with geopoint within the geo box.
func (*GeoBoundingBoxQuery) Descriptor
deprecated
func (*GeoBoundingBoxQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoBoundingBoxQuery.ProtoReflect.Descriptor instead.
func (*GeoBoundingBoxQuery) GetBottomRight ¶
func (x *GeoBoundingBoxQuery) GetBottomRight() *latlng.LatLng
func (*GeoBoundingBoxQuery) GetField ¶
func (x *GeoBoundingBoxQuery) GetField() string
func (*GeoBoundingBoxQuery) GetTopLeft ¶
func (x *GeoBoundingBoxQuery) GetTopLeft() *latlng.LatLng
func (*GeoBoundingBoxQuery) ProtoMessage ¶
func (*GeoBoundingBoxQuery) ProtoMessage()
func (*GeoBoundingBoxQuery) ProtoReflect ¶
func (x *GeoBoundingBoxQuery) ProtoReflect() protoreflect.Message
func (*GeoBoundingBoxQuery) Reset ¶
func (x *GeoBoundingBoxQuery) Reset()
func (*GeoBoundingBoxQuery) String ¶
func (x *GeoBoundingBoxQuery) String() string
type GeoPointQuery ¶
type GeoPointQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query Point *latlng.LatLng `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"` // point used to query whether the polygon contains it. // contains filtered or unexported fields }
A query that matches documents with polygon that contains the geo point.
func (*GeoPointQuery) Descriptor
deprecated
func (*GeoPointQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoPointQuery.ProtoReflect.Descriptor instead.
func (*GeoPointQuery) GetField ¶
func (x *GeoPointQuery) GetField() string
func (*GeoPointQuery) GetPoint ¶
func (x *GeoPointQuery) GetPoint() *latlng.LatLng
func (*GeoPointQuery) ProtoMessage ¶
func (*GeoPointQuery) ProtoMessage()
func (*GeoPointQuery) ProtoReflect ¶
func (x *GeoPointQuery) ProtoReflect() protoreflect.Message
func (*GeoPointQuery) Reset ¶
func (x *GeoPointQuery) Reset()
func (*GeoPointQuery) String ¶
func (x *GeoPointQuery) String() string
type GeoRadiusQuery ¶
type GeoRadiusQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query Center *latlng.LatLng `protobuf:"bytes,2,opt,name=center,proto3" json:"center,omitempty"` // target center geo point to calculate distance Radius string `protobuf:"bytes,3,opt,name=radius,proto3" json:"radius,omitempty"` // distance radius like "12 km". supports m, km and mi, default to m // contains filtered or unexported fields }
A query that matches documents with geo point within the radius of target geo point
func (*GeoRadiusQuery) Descriptor
deprecated
func (*GeoRadiusQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoRadiusQuery.ProtoReflect.Descriptor instead.
func (*GeoRadiusQuery) GetCenter ¶
func (x *GeoRadiusQuery) GetCenter() *latlng.LatLng
func (*GeoRadiusQuery) GetField ¶
func (x *GeoRadiusQuery) GetField() string
func (*GeoRadiusQuery) GetRadius ¶
func (x *GeoRadiusQuery) GetRadius() string
func (*GeoRadiusQuery) ProtoMessage ¶
func (*GeoRadiusQuery) ProtoMessage()
func (*GeoRadiusQuery) ProtoReflect ¶
func (x *GeoRadiusQuery) ProtoReflect() protoreflect.Message
func (*GeoRadiusQuery) Reset ¶
func (x *GeoRadiusQuery) Reset()
func (*GeoRadiusQuery) String ¶
func (x *GeoRadiusQuery) String() string
type GetAllSnapshotGenRequest ¶
type GetAllSnapshotGenRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // name of index whose snapshotted index gens are needed // contains filtered or unexported fields }
func (*GetAllSnapshotGenRequest) Descriptor
deprecated
func (*GetAllSnapshotGenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSnapshotGenRequest.ProtoReflect.Descriptor instead.
func (*GetAllSnapshotGenRequest) GetIndexName ¶
func (x *GetAllSnapshotGenRequest) GetIndexName() string
func (*GetAllSnapshotGenRequest) ProtoMessage ¶
func (*GetAllSnapshotGenRequest) ProtoMessage()
func (*GetAllSnapshotGenRequest) ProtoReflect ¶
func (x *GetAllSnapshotGenRequest) ProtoReflect() protoreflect.Message
func (*GetAllSnapshotGenRequest) Reset ¶
func (x *GetAllSnapshotGenRequest) Reset()
func (*GetAllSnapshotGenRequest) String ¶
func (x *GetAllSnapshotGenRequest) String() string
type GetAllSnapshotGenResponse ¶
type GetAllSnapshotGenResponse struct { IndexGens []int64 `protobuf:"varint,1,rep,packed,name=indexGens,proto3" json:"indexGens,omitempty"` // list of snapshotted index gens // contains filtered or unexported fields }
func (*GetAllSnapshotGenResponse) Descriptor
deprecated
func (*GetAllSnapshotGenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllSnapshotGenResponse.ProtoReflect.Descriptor instead.
func (*GetAllSnapshotGenResponse) GetIndexGens ¶
func (x *GetAllSnapshotGenResponse) GetIndexGens() []int64
func (*GetAllSnapshotGenResponse) ProtoMessage ¶
func (*GetAllSnapshotGenResponse) ProtoMessage()
func (*GetAllSnapshotGenResponse) ProtoReflect ¶
func (x *GetAllSnapshotGenResponse) ProtoReflect() protoreflect.Message
func (*GetAllSnapshotGenResponse) Reset ¶
func (x *GetAllSnapshotGenResponse) Reset()
func (*GetAllSnapshotGenResponse) String ¶
func (x *GetAllSnapshotGenResponse) String() string
type GetNodesRequest ¶
type GetNodesRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //name of the started index whose binary connections we wish to see // contains filtered or unexported fields }
func (*GetNodesRequest) Descriptor
deprecated
func (*GetNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesRequest.ProtoReflect.Descriptor instead.
func (*GetNodesRequest) GetIndexName ¶
func (x *GetNodesRequest) GetIndexName() string
func (*GetNodesRequest) ProtoMessage ¶
func (*GetNodesRequest) ProtoMessage()
func (*GetNodesRequest) ProtoReflect ¶
func (x *GetNodesRequest) ProtoReflect() protoreflect.Message
func (*GetNodesRequest) Reset ¶
func (x *GetNodesRequest) Reset()
func (*GetNodesRequest) String ¶
func (x *GetNodesRequest) String() string
type GetNodesResponse ¶
type GetNodesResponse struct { Nodes []*NodeInfo `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` //list of NodeInfo // contains filtered or unexported fields }
func (*GetNodesResponse) Descriptor
deprecated
func (*GetNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesResponse.ProtoReflect.Descriptor instead.
func (*GetNodesResponse) GetNodes ¶
func (x *GetNodesResponse) GetNodes() []*NodeInfo
func (*GetNodesResponse) ProtoMessage ¶
func (*GetNodesResponse) ProtoMessage()
func (*GetNodesResponse) ProtoReflect ¶
func (x *GetNodesResponse) ProtoReflect() protoreflect.Message
func (*GetNodesResponse) Reset ¶
func (x *GetNodesResponse) Reset()
func (*GetNodesResponse) String ¶
func (x *GetNodesResponse) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct { Check bool `protobuf:"varint,1,opt,name=check,proto3" json:"check,omitempty"` //healthcheck request // contains filtered or unexported fields }
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetCheck ¶
func (x *HealthCheckRequest) GetCheck() bool
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { Health TransferStatusCode `protobuf:"varint,1,opt,name=health,proto3,enum=luceneserver.TransferStatusCode" json:"health,omitempty"` //enum response of healthcheck; // contains filtered or unexported fields }
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetHealth ¶
func (x *HealthCheckResponse) GetHealth() TransferStatusCode
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type IndexName ¶
type IndexName struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name // contains filtered or unexported fields }
func (*IndexName) Descriptor
deprecated
func (*IndexName) GetIndexName ¶
func (*IndexName) GetMagicNumber ¶
func (*IndexName) ProtoMessage ¶
func (*IndexName) ProtoMessage()
func (*IndexName) ProtoReflect ¶
func (x *IndexName) ProtoReflect() protoreflect.Message
type IndexOptions ¶
type IndexOptions int32
How the tokens should be indexed.
const ( IndexOptions_DOCS_FREQS_POSITIONS IndexOptions = 0 // Index doc ids, term frequencies and positions. IndexOptions_DOCS IndexOptions = 1 // Index only doc ids (for binary search). IndexOptions_DOCS_FREQS IndexOptions = 2 // Index doc ids and term frequencies. IndexOptions_DOCS_FREQS_POSITIONS_OFFSETS IndexOptions = 3 // Index doc ids, term frequencies, positions and offsets. )
func (IndexOptions) Descriptor ¶
func (IndexOptions) Descriptor() protoreflect.EnumDescriptor
func (IndexOptions) Enum ¶
func (x IndexOptions) Enum() *IndexOptions
func (IndexOptions) EnumDescriptor
deprecated
func (IndexOptions) EnumDescriptor() ([]byte, []int)
Deprecated: Use IndexOptions.Descriptor instead.
func (IndexOptions) Number ¶
func (x IndexOptions) Number() protoreflect.EnumNumber
func (IndexOptions) String ¶
func (x IndexOptions) String() string
func (IndexOptions) Type ¶
func (IndexOptions) Type() protoreflect.EnumType
type IndexStatsResponse ¶
type IndexStatsResponse struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name StatsResponse *StatsResponse `protobuf:"bytes,2,opt,name=statsResponse,proto3" json:"statsResponse,omitempty"` //stats for an index // contains filtered or unexported fields }
func (*IndexStatsResponse) Descriptor
deprecated
func (*IndexStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IndexStatsResponse.ProtoReflect.Descriptor instead.
func (*IndexStatsResponse) GetIndexName ¶
func (x *IndexStatsResponse) GetIndexName() string
func (*IndexStatsResponse) GetStatsResponse ¶
func (x *IndexStatsResponse) GetStatsResponse() *StatsResponse
func (*IndexStatsResponse) ProtoMessage ¶
func (*IndexStatsResponse) ProtoMessage()
func (*IndexStatsResponse) ProtoReflect ¶
func (x *IndexStatsResponse) ProtoReflect() protoreflect.Message
func (*IndexStatsResponse) Reset ¶
func (x *IndexStatsResponse) Reset()
func (*IndexStatsResponse) String ¶
func (x *IndexStatsResponse) String() string
type IndicesRequest ¶
type IndicesRequest struct {
// contains filtered or unexported fields
}
func (*IndicesRequest) Descriptor
deprecated
func (*IndicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use IndicesRequest.ProtoReflect.Descriptor instead.
func (*IndicesRequest) ProtoMessage ¶
func (*IndicesRequest) ProtoMessage()
func (*IndicesRequest) ProtoReflect ¶
func (x *IndicesRequest) ProtoReflect() protoreflect.Message
func (*IndicesRequest) Reset ¶
func (x *IndicesRequest) Reset()
func (*IndicesRequest) String ¶
func (x *IndicesRequest) String() string
type IndicesResponse ¶
type IndicesResponse struct { IndicesResponse []*IndexStatsResponse `protobuf:"bytes,1,rep,name=indicesResponse,proto3" json:"indicesResponse,omitempty"` //list of IndexStatsResponse // contains filtered or unexported fields }
func (*IndicesResponse) Descriptor
deprecated
func (*IndicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use IndicesResponse.ProtoReflect.Descriptor instead.
func (*IndicesResponse) GetIndicesResponse ¶
func (x *IndicesResponse) GetIndicesResponse() []*IndexStatsResponse
func (*IndicesResponse) ProtoMessage ¶
func (*IndicesResponse) ProtoMessage()
func (*IndicesResponse) ProtoReflect ¶
func (x *IndicesResponse) ProtoReflect() protoreflect.Message
func (*IndicesResponse) Reset ¶
func (x *IndicesResponse) Reset()
func (*IndicesResponse) String ¶
func (x *IndicesResponse) String() string
type InfixSuggester ¶
type InfixSuggester struct { Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` //Index and query analyzer IndexAnalyzer string `protobuf:"bytes,2,opt,name=indexAnalyzer,proto3" json:"indexAnalyzer,omitempty"` // Index Analyzer QueryAnalyzer string `protobuf:"bytes,3,opt,name=queryAnalyzer,proto3" json:"queryAnalyzer,omitempty"` // Query Analyzer // contains filtered or unexported fields }
A suggester that matches terms anywhere in the input text, not just as a prefix. (see @lucene:org:server.InfixSuggester)
func (*InfixSuggester) Descriptor
deprecated
func (*InfixSuggester) Descriptor() ([]byte, []int)
Deprecated: Use InfixSuggester.ProtoReflect.Descriptor instead.
func (*InfixSuggester) GetAnalyzer ¶
func (x *InfixSuggester) GetAnalyzer() string
func (*InfixSuggester) GetIndexAnalyzer ¶
func (x *InfixSuggester) GetIndexAnalyzer() string
func (*InfixSuggester) GetQueryAnalyzer ¶
func (x *InfixSuggester) GetQueryAnalyzer() string
func (*InfixSuggester) ProtoMessage ¶
func (*InfixSuggester) ProtoMessage()
func (*InfixSuggester) ProtoReflect ¶
func (x *InfixSuggester) ProtoReflect() protoreflect.Message
func (*InfixSuggester) Reset ¶
func (x *InfixSuggester) Reset()
func (*InfixSuggester) String ¶
func (x *InfixSuggester) String() string
type IntObject ¶
type IntObject struct { Int int32 `protobuf:"varint,1,opt,name=int,proto3" json:"int,omitempty"` // contains filtered or unexported fields }
Used to be able to check if a value was set
func (*IntObject) Descriptor
deprecated
func (*IntObject) ProtoMessage ¶
func (*IntObject) ProtoMessage()
func (*IntObject) ProtoReflect ¶
func (x *IntObject) ProtoReflect() protoreflect.Message
type LabelAndValue ¶
type LabelAndValue struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` //Facet's label. Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` // Value associated with this label. // contains filtered or unexported fields }
func (*LabelAndValue) Descriptor
deprecated
func (*LabelAndValue) Descriptor() ([]byte, []int)
Deprecated: Use LabelAndValue.ProtoReflect.Descriptor instead.
func (*LabelAndValue) GetLabel ¶
func (x *LabelAndValue) GetLabel() string
func (*LabelAndValue) GetValue ¶
func (x *LabelAndValue) GetValue() float64
func (*LabelAndValue) ProtoMessage ¶
func (*LabelAndValue) ProtoMessage()
func (*LabelAndValue) ProtoReflect ¶
func (x *LabelAndValue) ProtoReflect() protoreflect.Message
func (*LabelAndValue) Reset ¶
func (x *LabelAndValue) Reset()
func (*LabelAndValue) String ¶
func (x *LabelAndValue) String() string
type LiveSettingsRequest ¶
type LiveSettingsRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // name of index whose liveSettings are to be updated. //Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen). MaxRefreshSec float64 `protobuf:"fixed64,2,opt,name=maxRefreshSec,proto3" json:"maxRefreshSec,omitempty"` //Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen). MinRefreshSec float64 `protobuf:"fixed64,3,opt,name=minRefreshSec,proto3" json:"minRefreshSec,omitempty"` //Non-current searchers older than this are pruned. MaxSearcherAgeSec float64 `protobuf:"fixed64,4,opt,name=maxSearcherAgeSec,proto3" json:"maxSearcherAgeSec,omitempty"` //Size (in MB) of IndexWriter's RAM buffer. IndexRamBufferSizeMB float64 `protobuf:"fixed64,5,opt,name=indexRamBufferSizeMB,proto3" json:"indexRamBufferSizeMB,omitempty"` //Max number of documents to add at a time. AddDocumentsMaxBufferLen int32 `protobuf:"varint,6,opt,name=addDocumentsMaxBufferLen,proto3" json:"addDocumentsMaxBufferLen,omitempty"` //Maximum number of documents allowed in a parallel search slice. SliceMaxDocs int32 `protobuf:"varint,7,opt,name=sliceMaxDocs,proto3" json:"sliceMaxDocs,omitempty"` //Maximum number of segments allowed in a parallel search slice. SliceMaxSegments int32 `protobuf:"varint,8,opt,name=sliceMaxSegments,proto3" json:"sliceMaxSegments,omitempty"` //Number of virtual shards to use for this index. VirtualShards int32 `protobuf:"varint,9,opt,name=virtualShards,proto3" json:"virtualShards,omitempty"` //Maximum sized segment to produce during normal merging MaxMergedSegmentMB int32 `protobuf:"varint,10,opt,name=maxMergedSegmentMB,proto3" json:"maxMergedSegmentMB,omitempty"` //Number of segments per tier used by TieredMergePolicy SegmentsPerTier int32 `protobuf:"varint,11,opt,name=segmentsPerTier,proto3" json:"segmentsPerTier,omitempty"` //Timeout value to used when not specified in the search request. DefaultSearchTimeoutSec float64 `protobuf:"fixed64,12,opt,name=defaultSearchTimeoutSec,proto3" json:"defaultSearchTimeoutSec,omitempty"` //Timeout check every value to use when not specified in the search request. DefaultSearchTimeoutCheckEvery int32 `protobuf:"varint,13,opt,name=defaultSearchTimeoutCheckEvery,proto3" json:"defaultSearchTimeoutCheckEvery,omitempty"` //Terminate after value to use when not specified in the search request. DefaultTerminateAfter int32 `protobuf:"varint,14,opt,name=defaultTerminateAfter,proto3" json:"defaultTerminateAfter,omitempty"` // contains filtered or unexported fields }
Input to liveSettings
func (*LiveSettingsRequest) Descriptor
deprecated
func (*LiveSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LiveSettingsRequest.ProtoReflect.Descriptor instead.
func (*LiveSettingsRequest) GetAddDocumentsMaxBufferLen ¶
func (x *LiveSettingsRequest) GetAddDocumentsMaxBufferLen() int32
func (*LiveSettingsRequest) GetDefaultSearchTimeoutCheckEvery ¶
func (x *LiveSettingsRequest) GetDefaultSearchTimeoutCheckEvery() int32
func (*LiveSettingsRequest) GetDefaultSearchTimeoutSec ¶
func (x *LiveSettingsRequest) GetDefaultSearchTimeoutSec() float64
func (*LiveSettingsRequest) GetDefaultTerminateAfter ¶
func (x *LiveSettingsRequest) GetDefaultTerminateAfter() int32
func (*LiveSettingsRequest) GetIndexName ¶
func (x *LiveSettingsRequest) GetIndexName() string
func (*LiveSettingsRequest) GetIndexRamBufferSizeMB ¶
func (x *LiveSettingsRequest) GetIndexRamBufferSizeMB() float64
func (*LiveSettingsRequest) GetMaxMergedSegmentMB ¶
func (x *LiveSettingsRequest) GetMaxMergedSegmentMB() int32
func (*LiveSettingsRequest) GetMaxRefreshSec ¶
func (x *LiveSettingsRequest) GetMaxRefreshSec() float64
func (*LiveSettingsRequest) GetMaxSearcherAgeSec ¶
func (x *LiveSettingsRequest) GetMaxSearcherAgeSec() float64
func (*LiveSettingsRequest) GetMinRefreshSec ¶
func (x *LiveSettingsRequest) GetMinRefreshSec() float64
func (*LiveSettingsRequest) GetSegmentsPerTier ¶
func (x *LiveSettingsRequest) GetSegmentsPerTier() int32
func (*LiveSettingsRequest) GetSliceMaxDocs ¶
func (x *LiveSettingsRequest) GetSliceMaxDocs() int32
func (*LiveSettingsRequest) GetSliceMaxSegments ¶
func (x *LiveSettingsRequest) GetSliceMaxSegments() int32
func (*LiveSettingsRequest) GetVirtualShards ¶
func (x *LiveSettingsRequest) GetVirtualShards() int32
func (*LiveSettingsRequest) ProtoMessage ¶
func (*LiveSettingsRequest) ProtoMessage()
func (*LiveSettingsRequest) ProtoReflect ¶
func (x *LiveSettingsRequest) ProtoReflect() protoreflect.Message
func (*LiveSettingsRequest) Reset ¶
func (x *LiveSettingsRequest) Reset()
func (*LiveSettingsRequest) String ¶
func (x *LiveSettingsRequest) String() string
type LiveSettingsResponse ¶
type LiveSettingsResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
Response from Server to liveSettings
func (*LiveSettingsResponse) Descriptor
deprecated
func (*LiveSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LiveSettingsResponse.ProtoReflect.Descriptor instead.
func (*LiveSettingsResponse) GetResponse ¶
func (x *LiveSettingsResponse) GetResponse() string
func (*LiveSettingsResponse) ProtoMessage ¶
func (*LiveSettingsResponse) ProtoMessage()
func (*LiveSettingsResponse) ProtoReflect ¶
func (x *LiveSettingsResponse) ProtoReflect() protoreflect.Message
func (*LiveSettingsResponse) Reset ¶
func (x *LiveSettingsResponse) Reset()
func (*LiveSettingsResponse) String ¶
func (x *LiveSettingsResponse) String() string
type LuceneServerClient ¶
type LuceneServerClient interface { // Create an Index CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*CreateIndexResponse, error) // Change global offline or online settings for this index. LiveSettings(ctx context.Context, in *LiveSettingsRequest, opts ...grpc.CallOption) (*LiveSettingsResponse, error) // Registers one or more fields. Fields must be registered before they can be added in a document (via @addDocument). //Pass a list of Fields and an indexName. Any number of fields may be registered in a single request, //and once a field is registered it cannot be changed (write-once). //This returns the full set of fields currently registered. RegisterFields(ctx context.Context, in *FieldDefRequest, opts ...grpc.CallOption) (*FieldDefResponse, error) // Adds one or more fields. Fields must be registered before they can be added in a document (via @addDocument). //Pass a list of Fields and an indexName. Any number of fields may be registered in a single request, //and once a field is registered it cannot be changed (write-once). //This returns the full set of fields currently registered. UpdateFields(ctx context.Context, in *FieldDefRequest, opts ...grpc.CallOption) (*FieldDefResponse, error) // Change global offline settings for this index. //This returns the currently set settings; pass no settings changes to retrieve current settings. Settings(ctx context.Context, in *SettingsRequest, opts ...grpc.CallOption) (*SettingsResponse, error) // Starts an index StartIndex(ctx context.Context, in *StartIndexRequest, opts ...grpc.CallOption) (*StartIndexResponse, error) // Stops an index StopIndex(ctx context.Context, in *StopIndexRequest, opts ...grpc.CallOption) (*DummyResponse, error) // Adds a stream of Documents AddDocuments(ctx context.Context, opts ...grpc.CallOption) (LuceneServer_AddDocumentsClient, error) // Refresh the latest searcher for an index Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error) // Commits all pending changes to durable storage Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) // Retrieve index statistics Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) // Search Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) // Search V2 SearchV2(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*any.Any, error) // Delete documents Delete(ctx context.Context, in *AddDocumentRequest, opts ...grpc.CallOption) (*AddDocumentResponse, error) // Delete documents matching a query DeleteByQuery(ctx context.Context, in *DeleteByQueryRequest, opts ...grpc.CallOption) (*AddDocumentResponse, error) // Delete all documents for index DeleteAll(ctx context.Context, in *DeleteAllDocumentsRequest, opts ...grpc.CallOption) (*DeleteAllDocumentsResponse, error) // Delete index DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*DeleteIndexResponse, error) // Builds a new auto-suggester, loading suggestions via the provided local file path. BuildSuggest(ctx context.Context, in *BuildSuggestRequest, opts ...grpc.CallOption) (*BuildSuggestResponse, error) // Perform an auto-suggest lookup. SuggestLookup(ctx context.Context, in *SuggestLookupRequest, opts ...grpc.CallOption) (*SuggestLookupResponse, error) // Updates existing suggestions, if the suggester supports near-real-time changes. UpdateSuggest(ctx context.Context, in *BuildSuggestRequest, opts ...grpc.CallOption) (*BuildSuggestResponse, error) // //Creates a snapshot in the index, which is saved point-in-time view of the last commit //in the index such that no files referenced by that snapshot will be deleted by ongoing //indexing until the snapshot is released with @releaseSnapshot. Note that this will //reference the last commit, so be sure to call commit first if you have pending changes //that you'd like to be included in the snapshot. //This can be used for backup purposes, i.e. after creating the snapshot you can copy //all referenced files to backup storage, and then release the snapshot once complete. //To restore the backup, just copy all the files back and restart the server. //It can also be used for transactional purposes, i.e. if you sometimes need to search a //specific snapshot instead of the current live index. Creating a snapshot is very fast //(does not require any file copying), but over time it will consume extra disk space as //old segments are merged in the index. Be sure to release the snapshot once you're done. //Snapshots survive shutdown and restart of the server. Returns all protected filenames //referenced by this snapshot: these files will not change and will not be deleted until //the snapshot is released. This returns the directories and files referenced by the snapshot. CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error) // releases a snapshot previously created with @createSnapshot. ReleaseSnapshot(ctx context.Context, in *ReleaseSnapshotRequest, opts ...grpc.CallOption) (*ReleaseSnapshotResponse, error) // Gets all unreleased index gens of snapshots previously created with @createSnapshot. GetAllSnapshotIndexGen(ctx context.Context, in *GetAllSnapshotGenRequest, opts ...grpc.CallOption) (*GetAllSnapshotGenResponse, error) // backs up a resource (index) and it associated metadata e.g. settings, schema to s3 BackupIndex(ctx context.Context, in *BackupIndexRequest, opts ...grpc.CallOption) (*BackupIndexResponse, error) DeleteIndexBackup(ctx context.Context, in *DeleteIndexBackupRequest, opts ...grpc.CallOption) (*DeleteIndexBackupResponse, error) // Backup warming queries to S3 BackupWarmingQueries(ctx context.Context, in *BackupWarmingQueriesRequest, opts ...grpc.CallOption) (*BackupWarmingQueriesResponse, error) // Gets the state of a started index, includes settings, live_settings, search schema, suggest schema State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) // healthcheck Status(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) // //Checks if a node is ready to receive traffic by checking if all the indices (which can be preloaded) //are started. Can specify comma-separated list of index name to only check specific indices if needed. Ready(ctx context.Context, in *ReadyCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) // metrics Metrics(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*httpbody.HttpBody, error) // indices Indices(ctx context.Context, in *IndicesRequest, opts ...grpc.CallOption) (*IndicesResponse, error) // //Forces merge policy to merge segments until there are <= maxNumSegments. The actual //merges to be executed are determined by the MergePolicy. This call will merge those //segments present in the index when the call started. If other threads are still //adding documents and flushing segments, those newly created segments will not be //merged unless you call forceMerge again. ForceMerge(ctx context.Context, in *ForceMergeRequest, opts ...grpc.CallOption) (*ForceMergeResponse, error) // //Forces merging of all segments that have deleted documents. The actual merges to be //executed are determined by the MergePolicy. For example, the default TieredMergePolicy //will only pick a segment if the percentage of deleted docs is over 10%. //This method first flushes a new segment (if there are indexed documents), and applies //all buffered deletes. ForceMergeDeletes(ctx context.Context, in *ForceMergeDeletesRequest, opts ...grpc.CallOption) (*ForceMergeDeletesResponse, error) }
LuceneServerClient is the client API for LuceneServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLuceneServerClient ¶
func NewLuceneServerClient(cc grpc.ClientConnInterface) LuceneServerClient
type LuceneServerServer ¶
type LuceneServerServer interface { // Create an Index CreateIndex(context.Context, *CreateIndexRequest) (*CreateIndexResponse, error) // Change global offline or online settings for this index. LiveSettings(context.Context, *LiveSettingsRequest) (*LiveSettingsResponse, error) // Registers one or more fields. Fields must be registered before they can be added in a document (via @addDocument). //Pass a list of Fields and an indexName. Any number of fields may be registered in a single request, //and once a field is registered it cannot be changed (write-once). //This returns the full set of fields currently registered. RegisterFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error) // Adds one or more fields. Fields must be registered before they can be added in a document (via @addDocument). //Pass a list of Fields and an indexName. Any number of fields may be registered in a single request, //and once a field is registered it cannot be changed (write-once). //This returns the full set of fields currently registered. UpdateFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error) // Change global offline settings for this index. //This returns the currently set settings; pass no settings changes to retrieve current settings. Settings(context.Context, *SettingsRequest) (*SettingsResponse, error) // Starts an index StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error) // Stops an index StopIndex(context.Context, *StopIndexRequest) (*DummyResponse, error) // Adds a stream of Documents AddDocuments(LuceneServer_AddDocumentsServer) error // Refresh the latest searcher for an index Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error) // Commits all pending changes to durable storage Commit(context.Context, *CommitRequest) (*CommitResponse, error) // Retrieve index statistics Stats(context.Context, *StatsRequest) (*StatsResponse, error) // Search Search(context.Context, *SearchRequest) (*SearchResponse, error) // Search V2 SearchV2(context.Context, *SearchRequest) (*any.Any, error) // Delete documents Delete(context.Context, *AddDocumentRequest) (*AddDocumentResponse, error) // Delete documents matching a query DeleteByQuery(context.Context, *DeleteByQueryRequest) (*AddDocumentResponse, error) // Delete all documents for index DeleteAll(context.Context, *DeleteAllDocumentsRequest) (*DeleteAllDocumentsResponse, error) // Delete index DeleteIndex(context.Context, *DeleteIndexRequest) (*DeleteIndexResponse, error) // Builds a new auto-suggester, loading suggestions via the provided local file path. BuildSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error) // Perform an auto-suggest lookup. SuggestLookup(context.Context, *SuggestLookupRequest) (*SuggestLookupResponse, error) // Updates existing suggestions, if the suggester supports near-real-time changes. UpdateSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error) // //Creates a snapshot in the index, which is saved point-in-time view of the last commit //in the index such that no files referenced by that snapshot will be deleted by ongoing //indexing until the snapshot is released with @releaseSnapshot. Note that this will //reference the last commit, so be sure to call commit first if you have pending changes //that you'd like to be included in the snapshot. //This can be used for backup purposes, i.e. after creating the snapshot you can copy //all referenced files to backup storage, and then release the snapshot once complete. //To restore the backup, just copy all the files back and restart the server. //It can also be used for transactional purposes, i.e. if you sometimes need to search a //specific snapshot instead of the current live index. Creating a snapshot is very fast //(does not require any file copying), but over time it will consume extra disk space as //old segments are merged in the index. Be sure to release the snapshot once you're done. //Snapshots survive shutdown and restart of the server. Returns all protected filenames //referenced by this snapshot: these files will not change and will not be deleted until //the snapshot is released. This returns the directories and files referenced by the snapshot. CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error) // releases a snapshot previously created with @createSnapshot. ReleaseSnapshot(context.Context, *ReleaseSnapshotRequest) (*ReleaseSnapshotResponse, error) // Gets all unreleased index gens of snapshots previously created with @createSnapshot. GetAllSnapshotIndexGen(context.Context, *GetAllSnapshotGenRequest) (*GetAllSnapshotGenResponse, error) // backs up a resource (index) and it associated metadata e.g. settings, schema to s3 BackupIndex(context.Context, *BackupIndexRequest) (*BackupIndexResponse, error) DeleteIndexBackup(context.Context, *DeleteIndexBackupRequest) (*DeleteIndexBackupResponse, error) // Backup warming queries to S3 BackupWarmingQueries(context.Context, *BackupWarmingQueriesRequest) (*BackupWarmingQueriesResponse, error) // Gets the state of a started index, includes settings, live_settings, search schema, suggest schema State(context.Context, *StateRequest) (*StateResponse, error) // healthcheck Status(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) // //Checks if a node is ready to receive traffic by checking if all the indices (which can be preloaded) //are started. Can specify comma-separated list of index name to only check specific indices if needed. Ready(context.Context, *ReadyCheckRequest) (*HealthCheckResponse, error) // metrics Metrics(context.Context, *empty.Empty) (*httpbody.HttpBody, error) // indices Indices(context.Context, *IndicesRequest) (*IndicesResponse, error) // //Forces merge policy to merge segments until there are <= maxNumSegments. The actual //merges to be executed are determined by the MergePolicy. This call will merge those //segments present in the index when the call started. If other threads are still //adding documents and flushing segments, those newly created segments will not be //merged unless you call forceMerge again. ForceMerge(context.Context, *ForceMergeRequest) (*ForceMergeResponse, error) // //Forces merging of all segments that have deleted documents. The actual merges to be //executed are determined by the MergePolicy. For example, the default TieredMergePolicy //will only pick a segment if the percentage of deleted docs is over 10%. //This method first flushes a new segment (if there are indexed documents), and applies //all buffered deletes. ForceMergeDeletes(context.Context, *ForceMergeDeletesRequest) (*ForceMergeDeletesResponse, error) }
LuceneServerServer is the server API for LuceneServer service.
type LuceneServer_AddDocumentsClient ¶
type LuceneServer_AddDocumentsClient interface { Send(*AddDocumentRequest) error CloseAndRecv() (*AddDocumentResponse, error) grpc.ClientStream }
type LuceneServer_AddDocumentsServer ¶
type LuceneServer_AddDocumentsServer interface { SendAndClose(*AddDocumentResponse) error Recv() (*AddDocumentRequest, error) grpc.ServerStream }
type MatchOperator ¶
type MatchOperator int32
const ( MatchOperator_SHOULD MatchOperator = 0 MatchOperator_MUST MatchOperator = 1 )
func (MatchOperator) Descriptor ¶
func (MatchOperator) Descriptor() protoreflect.EnumDescriptor
func (MatchOperator) Enum ¶
func (x MatchOperator) Enum() *MatchOperator
func (MatchOperator) EnumDescriptor
deprecated
func (MatchOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchOperator.Descriptor instead.
func (MatchOperator) Number ¶
func (x MatchOperator) Number() protoreflect.EnumNumber
func (MatchOperator) String ¶
func (x MatchOperator) String() string
func (MatchOperator) Type ¶
func (MatchOperator) Type() protoreflect.EnumType
type MatchPhraseQuery ¶
type MatchPhraseQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The text to query with. Slop int32 `protobuf:"varint,3,opt,name=slop,proto3" json:"slop,omitempty"` // Edit distance between respective positions of tokens generated by analyzing this query and the positions of terms in a document. Analyzer *Analyzer `protobuf:"bytes,4,opt,name=analyzer,proto3" json:"analyzer,omitempty"` // Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead. // contains filtered or unexported fields }
A query that analyzes the text before finding matching documents. The tokens resulting from the analysis are combined into a PhraseQuery.
func (*MatchPhraseQuery) Descriptor
deprecated
func (*MatchPhraseQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchPhraseQuery.ProtoReflect.Descriptor instead.
func (*MatchPhraseQuery) GetAnalyzer ¶
func (x *MatchPhraseQuery) GetAnalyzer() *Analyzer
func (*MatchPhraseQuery) GetField ¶
func (x *MatchPhraseQuery) GetField() string
func (*MatchPhraseQuery) GetQuery ¶
func (x *MatchPhraseQuery) GetQuery() string
func (*MatchPhraseQuery) GetSlop ¶
func (x *MatchPhraseQuery) GetSlop() int32
func (*MatchPhraseQuery) ProtoMessage ¶
func (*MatchPhraseQuery) ProtoMessage()
func (*MatchPhraseQuery) ProtoReflect ¶
func (x *MatchPhraseQuery) ProtoReflect() protoreflect.Message
func (*MatchPhraseQuery) Reset ¶
func (x *MatchPhraseQuery) Reset()
func (*MatchPhraseQuery) String ¶
func (x *MatchPhraseQuery) String() string
type MatchQuery ¶
type MatchQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The text to query with. Operator MatchOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=luceneserver.MatchOperator" json:"operator,omitempty"` // Boolean logic used to interpret text in the query. The possible values are SHOULD (default) and MUST. MinimumNumberShouldMatch int32 `protobuf:"varint,4,opt,name=minimumNumberShouldMatch,proto3" json:"minimumNumberShouldMatch,omitempty"` // Minimum number of optional clauses that must match. Analyzer *Analyzer `protobuf:"bytes,5,opt,name=analyzer,proto3" json:"analyzer,omitempty"` // Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead. FuzzyParams *FuzzyParams `protobuf:"bytes,6,opt,name=fuzzyParams,proto3" json:"fuzzyParams,omitempty"` // Parameters to set the fuzziness of the query // contains filtered or unexported fields }
A query that analyzes the text before finding matching documents. The tokens resulting from the analysis are combined using term queries in boolean clauses.
func (*MatchQuery) Descriptor
deprecated
func (*MatchQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchQuery.ProtoReflect.Descriptor instead.
func (*MatchQuery) GetAnalyzer ¶
func (x *MatchQuery) GetAnalyzer() *Analyzer
func (*MatchQuery) GetField ¶
func (x *MatchQuery) GetField() string
func (*MatchQuery) GetFuzzyParams ¶
func (x *MatchQuery) GetFuzzyParams() *FuzzyParams
func (*MatchQuery) GetMinimumNumberShouldMatch ¶
func (x *MatchQuery) GetMinimumNumberShouldMatch() int32
func (*MatchQuery) GetOperator ¶
func (x *MatchQuery) GetOperator() MatchOperator
func (*MatchQuery) GetQuery ¶
func (x *MatchQuery) GetQuery() string
func (*MatchQuery) ProtoMessage ¶
func (*MatchQuery) ProtoMessage()
func (*MatchQuery) ProtoReflect ¶
func (x *MatchQuery) ProtoReflect() protoreflect.Message
func (*MatchQuery) Reset ¶
func (x *MatchQuery) Reset()
func (*MatchQuery) String ¶
func (x *MatchQuery) String() string
type Mode ¶
type Mode int32
func (Mode) Descriptor ¶
func (Mode) Descriptor() protoreflect.EnumDescriptor
func (Mode) EnumDescriptor
deprecated
func (Mode) Number ¶
func (x Mode) Number() protoreflect.EnumNumber
func (Mode) Type ¶
func (Mode) Type() protoreflect.EnumType
type MultiMatchQuery ¶
type MultiMatchQuery struct { Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // Fields in the document to query. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The text to query with. FieldBoosts map[string]float32 `` // Boosts for each field, if any. /* 165-byte string literal not displayed */ Operator MatchOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=luceneserver.MatchOperator" json:"operator,omitempty"` // Boolean logic used to interpret text in the query. The possible values are SHOULD (default) and MUST. MinimumNumberShouldMatch int32 `protobuf:"varint,5,opt,name=minimumNumberShouldMatch,proto3" json:"minimumNumberShouldMatch,omitempty"` // Minimum number of optional clauses that must match. Analyzer *Analyzer `protobuf:"bytes,6,opt,name=analyzer,proto3" json:"analyzer,omitempty"` // Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead. FuzzyParams *FuzzyParams `protobuf:"bytes,7,opt,name=fuzzyParams,proto3" json:"fuzzyParams,omitempty"` // Parameters to set the fuzziness of the query TieBreakerMultiplier float32 `protobuf:"fixed32,8,opt,name=tieBreakerMultiplier,proto3" json:"tieBreakerMultiplier,omitempty"` // The score of each non-maximum match query disjunct for a document will be multiplied by this weight and added into the final score. // contains filtered or unexported fields }
A query that creates a match query for each field provided and wraps all the match queries in a disjunction max query.
func (*MultiMatchQuery) Descriptor
deprecated
func (*MultiMatchQuery) Descriptor() ([]byte, []int)
Deprecated: Use MultiMatchQuery.ProtoReflect.Descriptor instead.
func (*MultiMatchQuery) GetAnalyzer ¶
func (x *MultiMatchQuery) GetAnalyzer() *Analyzer
func (*MultiMatchQuery) GetFieldBoosts ¶
func (x *MultiMatchQuery) GetFieldBoosts() map[string]float32
func (*MultiMatchQuery) GetFields ¶
func (x *MultiMatchQuery) GetFields() []string
func (*MultiMatchQuery) GetFuzzyParams ¶
func (x *MultiMatchQuery) GetFuzzyParams() *FuzzyParams
func (*MultiMatchQuery) GetMinimumNumberShouldMatch ¶
func (x *MultiMatchQuery) GetMinimumNumberShouldMatch() int32
func (*MultiMatchQuery) GetOperator ¶
func (x *MultiMatchQuery) GetOperator() MatchOperator
func (*MultiMatchQuery) GetQuery ¶
func (x *MultiMatchQuery) GetQuery() string
func (*MultiMatchQuery) GetTieBreakerMultiplier ¶
func (x *MultiMatchQuery) GetTieBreakerMultiplier() float32
func (*MultiMatchQuery) ProtoMessage ¶
func (*MultiMatchQuery) ProtoMessage()
func (*MultiMatchQuery) ProtoReflect ¶
func (x *MultiMatchQuery) ProtoReflect() protoreflect.Message
func (*MultiMatchQuery) Reset ¶
func (x *MultiMatchQuery) Reset()
func (*MultiMatchQuery) String ¶
func (x *MultiMatchQuery) String() string
type NameAndParams ¶
type NameAndParams struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Params map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NameAndParams) Descriptor
deprecated
func (*NameAndParams) Descriptor() ([]byte, []int)
Deprecated: Use NameAndParams.ProtoReflect.Descriptor instead.
func (*NameAndParams) GetName ¶
func (x *NameAndParams) GetName() string
func (*NameAndParams) GetParams ¶
func (x *NameAndParams) GetParams() map[string]string
func (*NameAndParams) ProtoMessage ¶
func (*NameAndParams) ProtoMessage()
func (*NameAndParams) ProtoReflect ¶
func (x *NameAndParams) ProtoReflect() protoreflect.Message
func (*NameAndParams) Reset ¶
func (x *NameAndParams) Reset()
func (*NameAndParams) String ¶
func (x *NameAndParams) String() string
type NestedQuery ¶
type NestedQuery struct { Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // query for the child documents Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // field name of the nested ScoreMode NestedQuery_ScoreMode `protobuf:"varint,3,opt,name=scoreMode,proto3,enum=luceneserver.NestedQuery_ScoreMode" json:"scoreMode,omitempty"` // how child documents score affects final score // contains filtered or unexported fields }
func (*NestedQuery) Descriptor
deprecated
func (*NestedQuery) Descriptor() ([]byte, []int)
Deprecated: Use NestedQuery.ProtoReflect.Descriptor instead.
func (*NestedQuery) GetPath ¶
func (x *NestedQuery) GetPath() string
func (*NestedQuery) GetQuery ¶
func (x *NestedQuery) GetQuery() *Query
func (*NestedQuery) GetScoreMode ¶
func (x *NestedQuery) GetScoreMode() NestedQuery_ScoreMode
func (*NestedQuery) ProtoMessage ¶
func (*NestedQuery) ProtoMessage()
func (*NestedQuery) ProtoReflect ¶
func (x *NestedQuery) ProtoReflect() protoreflect.Message
func (*NestedQuery) Reset ¶
func (x *NestedQuery) Reset()
func (*NestedQuery) String ¶
func (x *NestedQuery) String() string
type NestedQuery_ScoreMode ¶
type NestedQuery_ScoreMode int32
const ( NestedQuery_NONE NestedQuery_ScoreMode = 0 NestedQuery_AVG NestedQuery_ScoreMode = 1 NestedQuery_MAX NestedQuery_ScoreMode = 2 NestedQuery_MIN NestedQuery_ScoreMode = 3 NestedQuery_SUM NestedQuery_ScoreMode = 4 )
func (NestedQuery_ScoreMode) Descriptor ¶
func (NestedQuery_ScoreMode) Descriptor() protoreflect.EnumDescriptor
func (NestedQuery_ScoreMode) Enum ¶
func (x NestedQuery_ScoreMode) Enum() *NestedQuery_ScoreMode
func (NestedQuery_ScoreMode) EnumDescriptor
deprecated
func (NestedQuery_ScoreMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NestedQuery_ScoreMode.Descriptor instead.
func (NestedQuery_ScoreMode) Number ¶
func (x NestedQuery_ScoreMode) Number() protoreflect.EnumNumber
func (NestedQuery_ScoreMode) String ¶
func (x NestedQuery_ScoreMode) String() string
func (NestedQuery_ScoreMode) Type ¶
func (NestedQuery_ScoreMode) Type() protoreflect.EnumType
type NewNRTPoint ¶
type NewNRTPoint struct { MagicNumber int32 `protobuf:"varint,1,opt,name=magicNumber,proto3" json:"magicNumber,omitempty"` //magic number send on all requests since these are meant for internal communication only IndexName string `protobuf:"bytes,2,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name PrimaryGen int64 `protobuf:"varint,3,opt,name=primaryGen,proto3" json:"primaryGen,omitempty"` //primary, the generation of this primary (should increment each time a new primary starts for this index) Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` //version number when this SegmentInfos was generated // contains filtered or unexported fields }
func (*NewNRTPoint) Descriptor
deprecated
func (*NewNRTPoint) Descriptor() ([]byte, []int)
Deprecated: Use NewNRTPoint.ProtoReflect.Descriptor instead.
func (*NewNRTPoint) GetIndexName ¶
func (x *NewNRTPoint) GetIndexName() string
func (*NewNRTPoint) GetMagicNumber ¶
func (x *NewNRTPoint) GetMagicNumber() int32
func (*NewNRTPoint) GetPrimaryGen ¶
func (x *NewNRTPoint) GetPrimaryGen() int64
func (*NewNRTPoint) GetVersion ¶
func (x *NewNRTPoint) GetVersion() int64
func (*NewNRTPoint) ProtoMessage ¶
func (*NewNRTPoint) ProtoMessage()
func (*NewNRTPoint) ProtoReflect ¶
func (x *NewNRTPoint) ProtoReflect() protoreflect.Message
func (*NewNRTPoint) Reset ¶
func (x *NewNRTPoint) Reset()
func (*NewNRTPoint) String ¶
func (x *NewNRTPoint) String() string
type NodeInfo ¶
type NodeInfo struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` //name or ip address of the remote host that this node is connected to for binary replication Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` //port number of the remote host that this node is connected to for binary replication // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetHostname ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NrtsearchIndex ¶
type NrtsearchIndex struct { UniqueId int64 `protobuf:"varint,1,opt,name=uniqueId,proto3" json:"uniqueId,omitempty"` SearchTexts []string `protobuf:"bytes,2,rep,name=searchTexts,proto3" json:"searchTexts,omitempty"` Score int64 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` Contexts []string `protobuf:"bytes,4,rep,name=contexts,proto3" json:"contexts,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
The schema of suggest item to build suggest index
func (*NrtsearchIndex) Descriptor
deprecated
func (*NrtsearchIndex) Descriptor() ([]byte, []int)
Deprecated: Use NrtsearchIndex.ProtoReflect.Descriptor instead.
func (*NrtsearchIndex) GetContexts ¶
func (x *NrtsearchIndex) GetContexts() []string
func (*NrtsearchIndex) GetPayload ¶
func (x *NrtsearchIndex) GetPayload() []byte
func (*NrtsearchIndex) GetScore ¶
func (x *NrtsearchIndex) GetScore() int64
func (*NrtsearchIndex) GetSearchTexts ¶
func (x *NrtsearchIndex) GetSearchTexts() []string
func (*NrtsearchIndex) GetUniqueId ¶
func (x *NrtsearchIndex) GetUniqueId() int64
func (*NrtsearchIndex) ProtoMessage ¶
func (*NrtsearchIndex) ProtoMessage()
func (*NrtsearchIndex) ProtoReflect ¶
func (x *NrtsearchIndex) ProtoReflect() protoreflect.Message
func (*NrtsearchIndex) Reset ¶
func (x *NrtsearchIndex) Reset()
func (*NrtsearchIndex) String ¶
func (x *NrtsearchIndex) String() string
type NumericRangeType ¶
type NumericRangeType struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` //Label for this range Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` //Min value for the range MinInclusive bool `protobuf:"varint,3,opt,name=minInclusive,proto3" json:"minInclusive,omitempty"` //True if the min value is inclusive Max int64 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"` //Max value for the range MaxInclusive bool `protobuf:"varint,5,opt,name=maxInclusive,proto3" json:"maxInclusive,omitempty"` //True if the max value is inclusive // contains filtered or unexported fields }
func (*NumericRangeType) Descriptor
deprecated
func (*NumericRangeType) Descriptor() ([]byte, []int)
Deprecated: Use NumericRangeType.ProtoReflect.Descriptor instead.
func (*NumericRangeType) GetLabel ¶
func (x *NumericRangeType) GetLabel() string
func (*NumericRangeType) GetMax ¶
func (x *NumericRangeType) GetMax() int64
func (*NumericRangeType) GetMaxInclusive ¶
func (x *NumericRangeType) GetMaxInclusive() bool
func (*NumericRangeType) GetMin ¶
func (x *NumericRangeType) GetMin() int64
func (*NumericRangeType) GetMinInclusive ¶
func (x *NumericRangeType) GetMinInclusive() bool
func (*NumericRangeType) ProtoMessage ¶
func (*NumericRangeType) ProtoMessage()
func (*NumericRangeType) ProtoReflect ¶
func (x *NumericRangeType) ProtoReflect() protoreflect.Message
func (*NumericRangeType) Reset ¶
func (x *NumericRangeType) Reset()
func (*NumericRangeType) String ¶
func (x *NumericRangeType) String() string
type OneHighlight ¶
type OneHighlight struct { IsHit bool `protobuf:"varint,1,opt,name=isHit,proto3" json:"isHit,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*OneHighlight) Descriptor
deprecated
func (*OneHighlight) Descriptor() ([]byte, []int)
Deprecated: Use OneHighlight.ProtoReflect.Descriptor instead.
func (*OneHighlight) GetIsHit ¶
func (x *OneHighlight) GetIsHit() bool
func (*OneHighlight) GetText ¶
func (x *OneHighlight) GetText() string
func (*OneHighlight) ProtoMessage ¶
func (*OneHighlight) ProtoMessage()
func (*OneHighlight) ProtoReflect ¶
func (x *OneHighlight) ProtoReflect() protoreflect.Message
func (*OneHighlight) Reset ¶
func (x *OneHighlight) Reset()
func (*OneHighlight) String ¶
func (x *OneHighlight) String() string
type OneSuggestLookupResponse ¶
type OneSuggestLookupResponse struct { // Types that are assignable to HighlightKey: // *OneSuggestLookupResponse_SuggestLookupHighlight // *OneSuggestLookupResponse_Key HighlightKey isOneSuggestLookupResponse_HighlightKey `protobuf_oneof:"HighlightKey"` Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"` //the key's weight Payload string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` //the key's payload (null if not present) // contains filtered or unexported fields }
func (*OneSuggestLookupResponse) Descriptor
deprecated
func (*OneSuggestLookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use OneSuggestLookupResponse.ProtoReflect.Descriptor instead.
func (*OneSuggestLookupResponse) GetHighlightKey ¶
func (m *OneSuggestLookupResponse) GetHighlightKey() isOneSuggestLookupResponse_HighlightKey
func (*OneSuggestLookupResponse) GetKey ¶
func (x *OneSuggestLookupResponse) GetKey() string
func (*OneSuggestLookupResponse) GetPayload ¶
func (x *OneSuggestLookupResponse) GetPayload() string
func (*OneSuggestLookupResponse) GetSuggestLookupHighlight ¶
func (x *OneSuggestLookupResponse) GetSuggestLookupHighlight() *SuggestLookupHighlight
func (*OneSuggestLookupResponse) GetWeight ¶
func (x *OneSuggestLookupResponse) GetWeight() int64
func (*OneSuggestLookupResponse) ProtoMessage ¶
func (*OneSuggestLookupResponse) ProtoMessage()
func (*OneSuggestLookupResponse) ProtoReflect ¶
func (x *OneSuggestLookupResponse) ProtoReflect() protoreflect.Message
func (*OneSuggestLookupResponse) Reset ¶
func (x *OneSuggestLookupResponse) Reset()
func (*OneSuggestLookupResponse) String ¶
func (x *OneSuggestLookupResponse) String() string
type OneSuggestLookupResponse_Key ¶
type OneSuggestLookupResponse_Key struct { // the key's text Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"` }
type OneSuggestLookupResponse_SuggestLookupHighlight ¶
type OneSuggestLookupResponse_SuggestLookupHighlight struct { // Expert: custom Object to hold the result of a highlighted suggestion (currently only works with AnalyzingInfixSuggester) SuggestLookupHighlight *SuggestLookupHighlight `protobuf:"bytes,1,opt,name=suggestLookupHighlight,proto3,oneof"` }
type PhraseQuery ¶
type PhraseQuery struct { // Edit distance between respective positions of terms as defined in this PhraseQuery and the positions //of terms in a document. Slop int32 `protobuf:"varint,1,opt,name=slop,proto3" json:"slop,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // The field in the index that this query applies to. Terms []string `protobuf:"bytes,3,rep,name=terms,proto3" json:"terms,omitempty"` // Terms to match. // contains filtered or unexported fields }
A Query that matches documents containing a particular sequence of terms.
func (*PhraseQuery) Descriptor
deprecated
func (*PhraseQuery) Descriptor() ([]byte, []int)
Deprecated: Use PhraseQuery.ProtoReflect.Descriptor instead.
func (*PhraseQuery) GetField ¶
func (x *PhraseQuery) GetField() string
func (*PhraseQuery) GetSlop ¶
func (x *PhraseQuery) GetSlop() int32
func (*PhraseQuery) GetTerms ¶
func (x *PhraseQuery) GetTerms() []string
func (*PhraseQuery) ProtoMessage ¶
func (*PhraseQuery) ProtoMessage()
func (*PhraseQuery) ProtoReflect ¶
func (x *PhraseQuery) ProtoReflect() protoreflect.Message
func (*PhraseQuery) Reset ¶
func (x *PhraseQuery) Reset()
func (*PhraseQuery) String ¶
func (x *PhraseQuery) String() string
type PluginRescorer ¶
type PluginRescorer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Params *_struct.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // arguments passed to the plugin // contains filtered or unexported fields }
Defines an entry point for using a rescorer from plugin
func (*PluginRescorer) Descriptor
deprecated
func (*PluginRescorer) Descriptor() ([]byte, []int)
Deprecated: Use PluginRescorer.ProtoReflect.Descriptor instead.
func (*PluginRescorer) GetName ¶
func (x *PluginRescorer) GetName() string
func (*PluginRescorer) GetParams ¶
func (x *PluginRescorer) GetParams() *_struct.Struct
func (*PluginRescorer) ProtoMessage ¶
func (*PluginRescorer) ProtoMessage()
func (*PluginRescorer) ProtoReflect ¶
func (x *PluginRescorer) ProtoReflect() protoreflect.Message
func (*PluginRescorer) Reset ¶
func (x *PluginRescorer) Reset()
func (*PluginRescorer) String ¶
func (x *PluginRescorer) String() string
type Point ¶
type Point struct { Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` // Latitude of the point Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // Longitude of the point // contains filtered or unexported fields }
Point representation
func (*Point) Descriptor
deprecated
func (*Point) GetLatitude ¶
func (*Point) GetLongitude ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type ProfileResult ¶
type ProfileResult struct { SearchStats *ProfileResult_SearchStats `protobuf:"bytes,1,opt,name=searchStats,proto3" json:"searchStats,omitempty"` ParsedQuery string `protobuf:"bytes,2,opt,name=parsedQuery,proto3" json:"parsedQuery,omitempty"` RewrittenQuery string `protobuf:"bytes,3,opt,name=rewrittenQuery,proto3" json:"rewrittenQuery,omitempty"` DrillDownQuery string `protobuf:"bytes,4,opt,name=drillDownQuery,proto3" json:"drillDownQuery,omitempty"` // contains filtered or unexported fields }
Defines detailed profiling stats for queries that set profile=true
func (*ProfileResult) Descriptor
deprecated
func (*ProfileResult) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResult.ProtoReflect.Descriptor instead.
func (*ProfileResult) GetDrillDownQuery ¶
func (x *ProfileResult) GetDrillDownQuery() string
func (*ProfileResult) GetParsedQuery ¶
func (x *ProfileResult) GetParsedQuery() string
func (*ProfileResult) GetRewrittenQuery ¶
func (x *ProfileResult) GetRewrittenQuery() string
func (*ProfileResult) GetSearchStats ¶
func (x *ProfileResult) GetSearchStats() *ProfileResult_SearchStats
func (*ProfileResult) ProtoMessage ¶
func (*ProfileResult) ProtoMessage()
func (*ProfileResult) ProtoReflect ¶
func (x *ProfileResult) ProtoReflect() protoreflect.Message
func (*ProfileResult) Reset ¶
func (x *ProfileResult) Reset()
func (*ProfileResult) String ¶
func (x *ProfileResult) String() string
type ProfileResult_AdditionalCollectorStats ¶
type ProfileResult_AdditionalCollectorStats struct { // Sum of all collection time CollectTimeMs float64 `protobuf:"fixed64,1,opt,name=collectTimeMs,proto3" json:"collectTimeMs,omitempty"` // contains filtered or unexported fields }
func (*ProfileResult_AdditionalCollectorStats) Descriptor
deprecated
func (*ProfileResult_AdditionalCollectorStats) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResult_AdditionalCollectorStats.ProtoReflect.Descriptor instead.
func (*ProfileResult_AdditionalCollectorStats) GetCollectTimeMs ¶
func (x *ProfileResult_AdditionalCollectorStats) GetCollectTimeMs() float64
func (*ProfileResult_AdditionalCollectorStats) ProtoMessage ¶
func (*ProfileResult_AdditionalCollectorStats) ProtoMessage()
func (*ProfileResult_AdditionalCollectorStats) ProtoReflect ¶
func (x *ProfileResult_AdditionalCollectorStats) ProtoReflect() protoreflect.Message
func (*ProfileResult_AdditionalCollectorStats) Reset ¶
func (x *ProfileResult_AdditionalCollectorStats) Reset()
func (*ProfileResult_AdditionalCollectorStats) String ¶
func (x *ProfileResult_AdditionalCollectorStats) String() string
type ProfileResult_CollectorStats ¶
type ProfileResult_CollectorStats struct { // If collection for this index slice was terminated early, such as by a timeout. Terminated bool `protobuf:"varint,1,opt,name=terminated,proto3" json:"terminated,omitempty"` SegmentStats []*ProfileResult_SegmentStats `protobuf:"bytes,2,rep,name=segmentStats,proto3" json:"segmentStats,omitempty"` // Total docs collected by this collector TotalCollectedCount int32 `protobuf:"varint,3,opt,name=totalCollectedCount,proto3" json:"totalCollectedCount,omitempty"` // Sum of all segment collection time TotalCollectTimeMs float64 `protobuf:"fixed64,4,opt,name=totalCollectTimeMs,proto3" json:"totalCollectTimeMs,omitempty"` // Stats for additional collection operations AdditionalCollectorStats map[string]*ProfileResult_AdditionalCollectorStats `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProfileResult_CollectorStats) Descriptor
deprecated
func (*ProfileResult_CollectorStats) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResult_CollectorStats.ProtoReflect.Descriptor instead.
func (*ProfileResult_CollectorStats) GetAdditionalCollectorStats ¶
func (x *ProfileResult_CollectorStats) GetAdditionalCollectorStats() map[string]*ProfileResult_AdditionalCollectorStats
func (*ProfileResult_CollectorStats) GetSegmentStats ¶
func (x *ProfileResult_CollectorStats) GetSegmentStats() []*ProfileResult_SegmentStats
func (*ProfileResult_CollectorStats) GetTerminated ¶
func (x *ProfileResult_CollectorStats) GetTerminated() bool
func (*ProfileResult_CollectorStats) GetTotalCollectTimeMs ¶
func (x *ProfileResult_CollectorStats) GetTotalCollectTimeMs() float64
func (*ProfileResult_CollectorStats) GetTotalCollectedCount ¶
func (x *ProfileResult_CollectorStats) GetTotalCollectedCount() int32
func (*ProfileResult_CollectorStats) ProtoMessage ¶
func (*ProfileResult_CollectorStats) ProtoMessage()
func (*ProfileResult_CollectorStats) ProtoReflect ¶
func (x *ProfileResult_CollectorStats) ProtoReflect() protoreflect.Message
func (*ProfileResult_CollectorStats) Reset ¶
func (x *ProfileResult_CollectorStats) Reset()
func (*ProfileResult_CollectorStats) String ¶
func (x *ProfileResult_CollectorStats) String() string
type ProfileResult_SearchStats ¶
type ProfileResult_SearchStats struct { // Total time for all document collection TotalCollectTimeMs float64 `protobuf:"fixed64,1,opt,name=totalCollectTimeMs,proto3" json:"totalCollectTimeMs,omitempty"` // Total time to reduce results from all parallel search slices TotalReduceTimeMs float64 `protobuf:"fixed64,2,opt,name=totalReduceTimeMs,proto3" json:"totalReduceTimeMs,omitempty"` CollectorStats []*ProfileResult_CollectorStats `protobuf:"bytes,3,rep,name=collectorStats,proto3" json:"collectorStats,omitempty"` // contains filtered or unexported fields }
func (*ProfileResult_SearchStats) Descriptor
deprecated
func (*ProfileResult_SearchStats) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResult_SearchStats.ProtoReflect.Descriptor instead.
func (*ProfileResult_SearchStats) GetCollectorStats ¶
func (x *ProfileResult_SearchStats) GetCollectorStats() []*ProfileResult_CollectorStats
func (*ProfileResult_SearchStats) GetTotalCollectTimeMs ¶
func (x *ProfileResult_SearchStats) GetTotalCollectTimeMs() float64
func (*ProfileResult_SearchStats) GetTotalReduceTimeMs ¶
func (x *ProfileResult_SearchStats) GetTotalReduceTimeMs() float64
func (*ProfileResult_SearchStats) ProtoMessage ¶
func (*ProfileResult_SearchStats) ProtoMessage()
func (*ProfileResult_SearchStats) ProtoReflect ¶
func (x *ProfileResult_SearchStats) ProtoReflect() protoreflect.Message
func (*ProfileResult_SearchStats) Reset ¶
func (x *ProfileResult_SearchStats) Reset()
func (*ProfileResult_SearchStats) String ¶
func (x *ProfileResult_SearchStats) String() string
type ProfileResult_SegmentStats ¶
type ProfileResult_SegmentStats struct { // Total docs in segment MaxDoc int32 `protobuf:"varint,1,opt,name=maxDoc,proto3" json:"maxDoc,omitempty"` // Total live docs in segment NumDocs int32 `protobuf:"varint,2,opt,name=numDocs,proto3" json:"numDocs,omitempty"` // How many docs were collected CollectedCount int32 `protobuf:"varint,3,opt,name=collectedCount,proto3" json:"collectedCount,omitempty"` // Start time of segment processing in relation to the start of the search phase RelativeStartTimeMs float64 `protobuf:"fixed64,4,opt,name=relativeStartTimeMs,proto3" json:"relativeStartTimeMs,omitempty"` // Collection duration CollectTimeMs float64 `protobuf:"fixed64,5,opt,name=collectTimeMs,proto3" json:"collectTimeMs,omitempty"` // contains filtered or unexported fields }
func (*ProfileResult_SegmentStats) Descriptor
deprecated
func (*ProfileResult_SegmentStats) Descriptor() ([]byte, []int)
Deprecated: Use ProfileResult_SegmentStats.ProtoReflect.Descriptor instead.
func (*ProfileResult_SegmentStats) GetCollectTimeMs ¶
func (x *ProfileResult_SegmentStats) GetCollectTimeMs() float64
func (*ProfileResult_SegmentStats) GetCollectedCount ¶
func (x *ProfileResult_SegmentStats) GetCollectedCount() int32
func (*ProfileResult_SegmentStats) GetMaxDoc ¶
func (x *ProfileResult_SegmentStats) GetMaxDoc() int32
func (*ProfileResult_SegmentStats) GetNumDocs ¶
func (x *ProfileResult_SegmentStats) GetNumDocs() int32
func (*ProfileResult_SegmentStats) GetRelativeStartTimeMs ¶
func (x *ProfileResult_SegmentStats) GetRelativeStartTimeMs() float64
func (*ProfileResult_SegmentStats) ProtoMessage ¶
func (*ProfileResult_SegmentStats) ProtoMessage()
func (*ProfileResult_SegmentStats) ProtoReflect ¶
func (x *ProfileResult_SegmentStats) ProtoReflect() protoreflect.Message
func (*ProfileResult_SegmentStats) Reset ¶
func (x *ProfileResult_SegmentStats) Reset()
func (*ProfileResult_SegmentStats) String ¶
func (x *ProfileResult_SegmentStats) String() string
type Query ¶
type Query struct { // Deprecated: Do not use. QueryType QueryType `protobuf:"varint,1,opt,name=queryType,proto3,enum=luceneserver.QueryType" json:"queryType,omitempty"` // no longer needed, type inferred from set QueryNode Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"` // Boost values that are less than one will give less importance to this query compared to other ones while values that are greater than one will give more importance to the scores returned by this query. Boost value of zero will do nothing (default). Boost less than 0 is invalid. // Types that are assignable to QueryNode: // *Query_BooleanQuery // *Query_PhraseQuery // *Query_FunctionScoreQuery // *Query_TermQuery // *Query_TermInSetQuery // *Query_DisjunctionMaxQuery // *Query_MatchQuery // *Query_MatchPhraseQuery // *Query_MultiMatchQuery // *Query_RangeQuery // *Query_GeoBoundingBoxQuery // *Query_GeoPointQuery // *Query_NestedQuery // *Query_ExistsQuery // *Query_GeoRadiusQuery // *Query_FunctionFilterQuery QueryNode isQuery_QueryNode `protobuf_oneof:"QueryNode"` // contains filtered or unexported fields }
Defines a full query consisting of a QueryNode which may be one of several types.
func (*Query) Descriptor
deprecated
func (*Query) GetBooleanQuery ¶
func (x *Query) GetBooleanQuery() *BooleanQuery
func (*Query) GetDisjunctionMaxQuery ¶
func (x *Query) GetDisjunctionMaxQuery() *DisjunctionMaxQuery
func (*Query) GetExistsQuery ¶
func (x *Query) GetExistsQuery() *ExistsQuery
func (*Query) GetFunctionFilterQuery ¶
func (x *Query) GetFunctionFilterQuery() *FunctionFilterQuery
func (*Query) GetFunctionScoreQuery ¶
func (x *Query) GetFunctionScoreQuery() *FunctionScoreQuery
func (*Query) GetGeoBoundingBoxQuery ¶
func (x *Query) GetGeoBoundingBoxQuery() *GeoBoundingBoxQuery
func (*Query) GetGeoPointQuery ¶
func (x *Query) GetGeoPointQuery() *GeoPointQuery
func (*Query) GetGeoRadiusQuery ¶
func (x *Query) GetGeoRadiusQuery() *GeoRadiusQuery
func (*Query) GetMatchPhraseQuery ¶
func (x *Query) GetMatchPhraseQuery() *MatchPhraseQuery
func (*Query) GetMatchQuery ¶
func (x *Query) GetMatchQuery() *MatchQuery
func (*Query) GetMultiMatchQuery ¶
func (x *Query) GetMultiMatchQuery() *MultiMatchQuery
func (*Query) GetNestedQuery ¶
func (x *Query) GetNestedQuery() *NestedQuery
func (*Query) GetPhraseQuery ¶
func (x *Query) GetPhraseQuery() *PhraseQuery
func (*Query) GetQueryNode ¶
func (m *Query) GetQueryNode() isQuery_QueryNode
func (*Query) GetQueryType
deprecated
func (*Query) GetRangeQuery ¶
func (x *Query) GetRangeQuery() *RangeQuery
func (*Query) GetTermInSetQuery ¶
func (x *Query) GetTermInSetQuery() *TermInSetQuery
func (*Query) GetTermQuery ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type QueryRescorer ¶
type QueryRescorer struct { RescoreQuery *Query `protobuf:"bytes,1,opt,name=rescoreQuery,proto3" json:"rescoreQuery,omitempty"` QueryWeight float64 `protobuf:"fixed64,2,opt,name=queryWeight,proto3" json:"queryWeight,omitempty"` RescoreQueryWeight float64 `protobuf:"fixed64,3,opt,name=rescoreQueryWeight,proto3" json:"rescoreQueryWeight,omitempty"` // contains filtered or unexported fields }
Defines a rescorer which uses query to rescore documents in the second pass
func (*QueryRescorer) Descriptor
deprecated
func (*QueryRescorer) Descriptor() ([]byte, []int)
Deprecated: Use QueryRescorer.ProtoReflect.Descriptor instead.
func (*QueryRescorer) GetQueryWeight ¶
func (x *QueryRescorer) GetQueryWeight() float64
func (*QueryRescorer) GetRescoreQuery ¶
func (x *QueryRescorer) GetRescoreQuery() *Query
func (*QueryRescorer) GetRescoreQueryWeight ¶
func (x *QueryRescorer) GetRescoreQueryWeight() float64
func (*QueryRescorer) ProtoMessage ¶
func (*QueryRescorer) ProtoMessage()
func (*QueryRescorer) ProtoReflect ¶
func (x *QueryRescorer) ProtoReflect() protoreflect.Message
func (*QueryRescorer) Reset ¶
func (x *QueryRescorer) Reset()
func (*QueryRescorer) String ¶
func (x *QueryRescorer) String() string
type QuerySortField ¶
type QuerySortField struct { DoDocScores bool `protobuf:"varint,1,opt,name=doDocScores,proto3" json:"doDocScores,omitempty"` //Compute the doc score for each collected (costs added CPU); default:false DoMaxScore bool `protobuf:"varint,2,opt,name=doMaxScore,proto3" json:"doMaxScore,omitempty"` //Compute the max score across all hits (costs added CPU); default: false Fields *SortFields `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` //List of Fields to sort on. // contains filtered or unexported fields }
func (*QuerySortField) Descriptor
deprecated
func (*QuerySortField) Descriptor() ([]byte, []int)
Deprecated: Use QuerySortField.ProtoReflect.Descriptor instead.
func (*QuerySortField) GetDoDocScores ¶
func (x *QuerySortField) GetDoDocScores() bool
func (*QuerySortField) GetDoMaxScore ¶
func (x *QuerySortField) GetDoMaxScore() bool
func (*QuerySortField) GetFields ¶
func (x *QuerySortField) GetFields() *SortFields
func (*QuerySortField) ProtoMessage ¶
func (*QuerySortField) ProtoMessage()
func (*QuerySortField) ProtoReflect ¶
func (x *QuerySortField) ProtoReflect() protoreflect.Message
func (*QuerySortField) Reset ¶
func (x *QuerySortField) Reset()
func (*QuerySortField) String ¶
func (x *QuerySortField) String() string
type QueryType ¶
type QueryType int32
Defines different types of QueryNodes.
const ( QueryType_NONE QueryType = 0 QueryType_BOOLEAN_QUERY QueryType = 1 QueryType_PHRASE_QUERY QueryType = 2 QueryType_FUNCTION_SCORE_QUERY QueryType = 3 QueryType_TERM_QUERY QueryType = 4 QueryType_TERM_IN_SET_QUERY QueryType = 5 QueryType_DISJUNCTION_MAX QueryType = 6 QueryType_MATCH QueryType = 7 QueryType_MATCH_PHRASE QueryType = 8 QueryType_MULTI_MATCH QueryType = 9 QueryType_RANGE QueryType = 10 QueryType_GEO_BOUNDING_BOX QueryType = 11 QueryType_GEO_POINT QueryType = 12 QueryType_NESTED QueryType = 13 QueryType_EXISTS QueryType = 14 QueryType_GEO_RADIUS QueryType = 15 )
func (QueryType) Descriptor ¶
func (QueryType) Descriptor() protoreflect.EnumDescriptor
func (QueryType) EnumDescriptor
deprecated
func (QueryType) Number ¶
func (x QueryType) Number() protoreflect.EnumNumber
func (QueryType) Type ¶
func (QueryType) Type() protoreflect.EnumType
type Query_BooleanQuery ¶
type Query_BooleanQuery struct {
BooleanQuery *BooleanQuery `protobuf:"bytes,3,opt,name=booleanQuery,proto3,oneof"`
}
type Query_DisjunctionMaxQuery ¶
type Query_DisjunctionMaxQuery struct {
DisjunctionMaxQuery *DisjunctionMaxQuery `protobuf:"bytes,8,opt,name=disjunctionMaxQuery,proto3,oneof"`
}
type Query_ExistsQuery ¶
type Query_ExistsQuery struct {
ExistsQuery *ExistsQuery `protobuf:"bytes,16,opt,name=existsQuery,proto3,oneof"`
}
type Query_FunctionFilterQuery ¶
type Query_FunctionFilterQuery struct {
FunctionFilterQuery *FunctionFilterQuery `protobuf:"bytes,18,opt,name=functionFilterQuery,proto3,oneof"`
}
type Query_FunctionScoreQuery ¶
type Query_FunctionScoreQuery struct {
FunctionScoreQuery *FunctionScoreQuery `protobuf:"bytes,5,opt,name=functionScoreQuery,proto3,oneof"`
}
type Query_GeoBoundingBoxQuery ¶
type Query_GeoBoundingBoxQuery struct {
GeoBoundingBoxQuery *GeoBoundingBoxQuery `protobuf:"bytes,13,opt,name=geoBoundingBoxQuery,proto3,oneof"`
}
type Query_GeoPointQuery ¶
type Query_GeoPointQuery struct {
GeoPointQuery *GeoPointQuery `protobuf:"bytes,14,opt,name=geoPointQuery,proto3,oneof"`
}
type Query_GeoRadiusQuery ¶
type Query_GeoRadiusQuery struct {
GeoRadiusQuery *GeoRadiusQuery `protobuf:"bytes,17,opt,name=geoRadiusQuery,proto3,oneof"`
}
type Query_MatchPhraseQuery ¶
type Query_MatchPhraseQuery struct {
MatchPhraseQuery *MatchPhraseQuery `protobuf:"bytes,10,opt,name=matchPhraseQuery,proto3,oneof"`
}
type Query_MatchQuery ¶
type Query_MatchQuery struct {
MatchQuery *MatchQuery `protobuf:"bytes,9,opt,name=matchQuery,proto3,oneof"`
}
type Query_MultiMatchQuery ¶
type Query_MultiMatchQuery struct {
MultiMatchQuery *MultiMatchQuery `protobuf:"bytes,11,opt,name=multiMatchQuery,proto3,oneof"`
}
type Query_NestedQuery ¶
type Query_NestedQuery struct {
NestedQuery *NestedQuery `protobuf:"bytes,15,opt,name=nestedQuery,proto3,oneof"`
}
type Query_PhraseQuery ¶
type Query_PhraseQuery struct {
PhraseQuery *PhraseQuery `protobuf:"bytes,4,opt,name=phraseQuery,proto3,oneof"`
}
type Query_RangeQuery ¶
type Query_RangeQuery struct {
RangeQuery *RangeQuery `protobuf:"bytes,12,opt,name=rangeQuery,proto3,oneof"`
}
type Query_TermInSetQuery ¶
type Query_TermInSetQuery struct {
TermInSetQuery *TermInSetQuery `protobuf:"bytes,7,opt,name=termInSetQuery,proto3,oneof"`
}
type Query_TermQuery ¶
type Query_TermQuery struct {
TermQuery *TermQuery `protobuf:"bytes,6,opt,name=termQuery,proto3,oneof"`
}
type RangeQuery ¶
type RangeQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Field in the document to query Lower string `protobuf:"bytes,2,opt,name=lower,proto3" json:"lower,omitempty"` // Lower bound, inclusive by default Upper string `protobuf:"bytes,3,opt,name=upper,proto3" json:"upper,omitempty"` // Upper bound, inclusive by default LowerExclusive bool `protobuf:"varint,4,opt,name=lowerExclusive,proto3" json:"lowerExclusive,omitempty"` // Set true to make lower bound exclusive UpperExclusive bool `protobuf:"varint,5,opt,name=upperExclusive,proto3" json:"upperExclusive,omitempty"` // Set true to make upper bound exclusive // contains filtered or unexported fields }
A query that matches documents with values within the specified range. The lower and upper values though provided as strings will be converted to the type of the field. This works with INT, LONG, FLOAT, DOUBLE and DATE_TIME field types.
func (*RangeQuery) Descriptor
deprecated
func (*RangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use RangeQuery.ProtoReflect.Descriptor instead.
func (*RangeQuery) GetField ¶
func (x *RangeQuery) GetField() string
func (*RangeQuery) GetLower ¶
func (x *RangeQuery) GetLower() string
func (*RangeQuery) GetLowerExclusive ¶
func (x *RangeQuery) GetLowerExclusive() bool
func (*RangeQuery) GetUpper ¶
func (x *RangeQuery) GetUpper() string
func (*RangeQuery) GetUpperExclusive ¶
func (x *RangeQuery) GetUpperExclusive() bool
func (*RangeQuery) ProtoMessage ¶
func (*RangeQuery) ProtoMessage()
func (*RangeQuery) ProtoReflect ¶
func (x *RangeQuery) ProtoReflect() protoreflect.Message
func (*RangeQuery) Reset ¶
func (x *RangeQuery) Reset()
func (*RangeQuery) String ¶
func (x *RangeQuery) String() string
type RawFileChunk ¶
type RawFileChunk struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` //raw contents of file // sequence number for this chunk, only used for acked file copy SeqNum int32 `protobuf:"varint,2,opt,name=seqNum,proto3" json:"seqNum,omitempty"` // if this chunk should be acked, only used for acked file copy Ack bool `protobuf:"varint,3,opt,name=ack,proto3" json:"ack,omitempty"` // contains filtered or unexported fields }
func (*RawFileChunk) Descriptor
deprecated
func (*RawFileChunk) Descriptor() ([]byte, []int)
Deprecated: Use RawFileChunk.ProtoReflect.Descriptor instead.
func (*RawFileChunk) GetAck ¶
func (x *RawFileChunk) GetAck() bool
func (*RawFileChunk) GetContent ¶
func (x *RawFileChunk) GetContent() []byte
func (*RawFileChunk) GetSeqNum ¶
func (x *RawFileChunk) GetSeqNum() int32
func (*RawFileChunk) ProtoMessage ¶
func (*RawFileChunk) ProtoMessage()
func (*RawFileChunk) ProtoReflect ¶
func (x *RawFileChunk) ProtoReflect() protoreflect.Message
func (*RawFileChunk) Reset ¶
func (x *RawFileChunk) Reset()
func (*RawFileChunk) String ¶
func (x *RawFileChunk) String() string
type ReadyCheckRequest ¶
type ReadyCheckRequest struct { IndexNames string `protobuf:"bytes,1,opt,name=indexNames,proto3" json:"indexNames,omitempty"` // contains filtered or unexported fields }
func (*ReadyCheckRequest) Descriptor
deprecated
func (*ReadyCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadyCheckRequest.ProtoReflect.Descriptor instead.
func (*ReadyCheckRequest) GetIndexNames ¶
func (x *ReadyCheckRequest) GetIndexNames() string
func (*ReadyCheckRequest) ProtoMessage ¶
func (*ReadyCheckRequest) ProtoMessage()
func (*ReadyCheckRequest) ProtoReflect ¶
func (x *ReadyCheckRequest) ProtoReflect() protoreflect.Message
func (*ReadyCheckRequest) Reset ¶
func (x *ReadyCheckRequest) Reset()
func (*ReadyCheckRequest) String ¶
func (x *ReadyCheckRequest) String() string
type RefreshRequest ¶
type RefreshRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name to be refreshed // contains filtered or unexported fields }
func (*RefreshRequest) Descriptor
deprecated
func (*RefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.
func (*RefreshRequest) GetIndexName ¶
func (x *RefreshRequest) GetIndexName() string
func (*RefreshRequest) ProtoMessage ¶
func (*RefreshRequest) ProtoMessage()
func (*RefreshRequest) ProtoReflect ¶
func (x *RefreshRequest) ProtoReflect() protoreflect.Message
func (*RefreshRequest) Reset ¶
func (x *RefreshRequest) Reset()
func (*RefreshRequest) String ¶
func (x *RefreshRequest) String() string
type RefreshResponse ¶
type RefreshResponse struct { RefreshTimeMS float64 `protobuf:"fixed64,1,opt,name=refreshTimeMS,proto3" json:"refreshTimeMS,omitempty"` //time taken in milliseconds to refresh the index // contains filtered or unexported fields }
func (*RefreshResponse) Descriptor
deprecated
func (*RefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.
func (*RefreshResponse) GetRefreshTimeMS ¶
func (x *RefreshResponse) GetRefreshTimeMS() float64
func (*RefreshResponse) ProtoMessage ¶
func (*RefreshResponse) ProtoMessage()
func (*RefreshResponse) ProtoReflect ¶
func (x *RefreshResponse) ProtoReflect() protoreflect.Message
func (*RefreshResponse) Reset ¶
func (x *RefreshResponse) Reset()
func (*RefreshResponse) String ¶
func (x *RefreshResponse) String() string
type ReleaseSnapshotRequest ¶
type ReleaseSnapshotRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // name of snapshotted index to be released SnapshotId *SnapshotId `protobuf:"bytes,2,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"` //The id for this snapshot; this must have been previously created via @createSnapshot. // contains filtered or unexported fields }
func (*ReleaseSnapshotRequest) Descriptor
deprecated
func (*ReleaseSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseSnapshotRequest.ProtoReflect.Descriptor instead.
func (*ReleaseSnapshotRequest) GetIndexName ¶
func (x *ReleaseSnapshotRequest) GetIndexName() string
func (*ReleaseSnapshotRequest) GetSnapshotId ¶
func (x *ReleaseSnapshotRequest) GetSnapshotId() *SnapshotId
func (*ReleaseSnapshotRequest) ProtoMessage ¶
func (*ReleaseSnapshotRequest) ProtoMessage()
func (*ReleaseSnapshotRequest) ProtoReflect ¶
func (x *ReleaseSnapshotRequest) ProtoReflect() protoreflect.Message
func (*ReleaseSnapshotRequest) Reset ¶
func (x *ReleaseSnapshotRequest) Reset()
func (*ReleaseSnapshotRequest) String ¶
func (x *ReleaseSnapshotRequest) String() string
type ReleaseSnapshotResponse ¶
type ReleaseSnapshotResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` //true if successful // contains filtered or unexported fields }
func (*ReleaseSnapshotResponse) Descriptor
deprecated
func (*ReleaseSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseSnapshotResponse.ProtoReflect.Descriptor instead.
func (*ReleaseSnapshotResponse) GetSuccess ¶
func (x *ReleaseSnapshotResponse) GetSuccess() bool
func (*ReleaseSnapshotResponse) ProtoMessage ¶
func (*ReleaseSnapshotResponse) ProtoMessage()
func (*ReleaseSnapshotResponse) ProtoReflect ¶
func (x *ReleaseSnapshotResponse) ProtoReflect() protoreflect.Message
func (*ReleaseSnapshotResponse) Reset ¶
func (x *ReleaseSnapshotResponse) Reset()
func (*ReleaseSnapshotResponse) String ¶
func (x *ReleaseSnapshotResponse) String() string
type ReplicationServerClient ¶
type ReplicationServerClient interface { // Issued by replica on primary node when it comes up AddReplicas(ctx context.Context, in *AddReplicaRequest, opts ...grpc.CallOption) (*AddReplicaResponse, error) // Issued by replica to receive CopyState from primary RecvCopyState(ctx context.Context, in *CopyStateRequest, opts ...grpc.CallOption) (*CopyState, error) // Send a file as a stream in chunks SendRawFile(ctx context.Context, opts ...grpc.CallOption) (ReplicationServer_SendRawFileClient, error) // Receives a file as a stream in chunks. Typically issued by replica on primary RecvRawFile(ctx context.Context, in *FileInfo, opts ...grpc.CallOption) (ReplicationServer_RecvRawFileClient, error) RecvRawFileV2(ctx context.Context, opts ...grpc.CallOption) (ReplicationServer_RecvRawFileV2Client, error) // Issued by primary on replica to inform it to start copying files either pre-warming (new merged segments) or when replica comes up first time CopyFiles(ctx context.Context, in *CopyFiles, opts ...grpc.CallOption) (ReplicationServer_CopyFilesClient, error) // Invoked externally to replica, to notify it that a new NRT point was just created on the primary NewNRTPoint(ctx context.Context, in *NewNRTPoint, opts ...grpc.CallOption) (*TransferStatus, error) //* Invoked externally to primary, to make all recent index operations searchable on the primary and, once copying is done, on the replicas WriteNRTPoint(ctx context.Context, in *IndexName, opts ...grpc.CallOption) (*SearcherVersion, error) //* Invoked externally to replica, to get the current Searcher version on replica. GetCurrentSearcherVersion(ctx context.Context, in *IndexName, opts ...grpc.CallOption) (*SearcherVersion, error) //* Invoked externally on primary to find the list of replica nodes this node is connected to for binary replication per index GetConnectedNodes(ctx context.Context, in *GetNodesRequest, opts ...grpc.CallOption) (*GetNodesResponse, error) }
ReplicationServerClient is the client API for ReplicationServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReplicationServerClient ¶
func NewReplicationServerClient(cc grpc.ClientConnInterface) ReplicationServerClient
type ReplicationServerServer ¶
type ReplicationServerServer interface { // Issued by replica on primary node when it comes up AddReplicas(context.Context, *AddReplicaRequest) (*AddReplicaResponse, error) // Issued by replica to receive CopyState from primary RecvCopyState(context.Context, *CopyStateRequest) (*CopyState, error) // Send a file as a stream in chunks SendRawFile(ReplicationServer_SendRawFileServer) error // Receives a file as a stream in chunks. Typically issued by replica on primary RecvRawFile(*FileInfo, ReplicationServer_RecvRawFileServer) error RecvRawFileV2(ReplicationServer_RecvRawFileV2Server) error // Issued by primary on replica to inform it to start copying files either pre-warming (new merged segments) or when replica comes up first time CopyFiles(*CopyFiles, ReplicationServer_CopyFilesServer) error // Invoked externally to replica, to notify it that a new NRT point was just created on the primary NewNRTPoint(context.Context, *NewNRTPoint) (*TransferStatus, error) //* Invoked externally to primary, to make all recent index operations searchable on the primary and, once copying is done, on the replicas WriteNRTPoint(context.Context, *IndexName) (*SearcherVersion, error) //* Invoked externally to replica, to get the current Searcher version on replica. GetCurrentSearcherVersion(context.Context, *IndexName) (*SearcherVersion, error) //* Invoked externally on primary to find the list of replica nodes this node is connected to for binary replication per index GetConnectedNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error) }
ReplicationServerServer is the server API for ReplicationServer service.
type ReplicationServer_CopyFilesClient ¶
type ReplicationServer_CopyFilesClient interface { Recv() (*TransferStatus, error) grpc.ClientStream }
type ReplicationServer_CopyFilesServer ¶
type ReplicationServer_CopyFilesServer interface { Send(*TransferStatus) error grpc.ServerStream }
type ReplicationServer_RecvRawFileClient ¶
type ReplicationServer_RecvRawFileClient interface { Recv() (*RawFileChunk, error) grpc.ClientStream }
type ReplicationServer_RecvRawFileServer ¶
type ReplicationServer_RecvRawFileServer interface { Send(*RawFileChunk) error grpc.ServerStream }
type ReplicationServer_RecvRawFileV2Client ¶
type ReplicationServer_RecvRawFileV2Client interface { Send(*FileInfo) error Recv() (*RawFileChunk, error) grpc.ClientStream }
type ReplicationServer_RecvRawFileV2Server ¶
type ReplicationServer_RecvRawFileV2Server interface { Send(*RawFileChunk) error Recv() (*FileInfo, error) grpc.ServerStream }
type ReplicationServer_SendRawFileClient ¶
type ReplicationServer_SendRawFileClient interface { Send(*RawFileChunk) error CloseAndRecv() (*TransferStatus, error) grpc.ClientStream }
type ReplicationServer_SendRawFileServer ¶
type ReplicationServer_SendRawFileServer interface { SendAndClose(*TransferStatus) error Recv() (*RawFileChunk, error) grpc.ServerStream }
type Rescorer ¶
type Rescorer struct { WindowSize int32 `protobuf:"varint,1,opt,name=windowSize,proto3" json:"windowSize,omitempty"` // Types that are assignable to Rescorers: // *Rescorer_QueryRescorer // *Rescorer_PluginRescorer Rescorers isRescorer_Rescorers `protobuf_oneof:"Rescorers"` // Must be unique for each Rescorer Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Defines a rescorer which is executed after the first search pass
func (*Rescorer) Descriptor
deprecated
func (*Rescorer) GetPluginRescorer ¶
func (x *Rescorer) GetPluginRescorer() *PluginRescorer
func (*Rescorer) GetQueryRescorer ¶
func (x *Rescorer) GetQueryRescorer() *QueryRescorer
func (*Rescorer) GetRescorers ¶
func (m *Rescorer) GetRescorers() isRescorer_Rescorers
func (*Rescorer) GetWindowSize ¶
func (*Rescorer) ProtoMessage ¶
func (*Rescorer) ProtoMessage()
func (*Rescorer) ProtoReflect ¶
func (x *Rescorer) ProtoReflect() protoreflect.Message
type Rescorer_PluginRescorer ¶
type Rescorer_PluginRescorer struct {
PluginRescorer *PluginRescorer `protobuf:"bytes,3,opt,name=pluginRescorer,proto3,oneof"`
}
type Rescorer_QueryRescorer ¶
type Rescorer_QueryRescorer struct {
QueryRescorer *QueryRescorer `protobuf:"bytes,2,opt,name=queryRescorer,proto3,oneof"`
}
type RestoreIndex ¶
type RestoreIndex struct { ServiceName string `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"` // remote storage namespace qualifier for service ResourceName string `protobuf:"bytes,2,opt,name=resourceName,proto3" json:"resourceName,omitempty"` //remote storage namespace qualifier for resource e.g. indexName DeleteExistingData bool `protobuf:"varint,3,opt,name=deleteExistingData,proto3" json:"deleteExistingData,omitempty"` // delete any existing data for the index // contains filtered or unexported fields }
func (*RestoreIndex) Descriptor
deprecated
func (*RestoreIndex) Descriptor() ([]byte, []int)
Deprecated: Use RestoreIndex.ProtoReflect.Descriptor instead.
func (*RestoreIndex) GetDeleteExistingData ¶
func (x *RestoreIndex) GetDeleteExistingData() bool
func (*RestoreIndex) GetResourceName ¶
func (x *RestoreIndex) GetResourceName() string
func (*RestoreIndex) GetServiceName ¶
func (x *RestoreIndex) GetServiceName() string
func (*RestoreIndex) ProtoMessage ¶
func (*RestoreIndex) ProtoMessage()
func (*RestoreIndex) ProtoReflect ¶
func (x *RestoreIndex) ProtoReflect() protoreflect.Message
func (*RestoreIndex) Reset ¶
func (x *RestoreIndex) Reset()
func (*RestoreIndex) String ¶
func (x *RestoreIndex) String() string
type Script ¶
type Script struct { Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"` // script language Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // script source Params map[string]*Script_ParamValue `` // parameters passed into script execution /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Script) Descriptor
deprecated
func (*Script) GetParams ¶
func (x *Script) GetParams() map[string]*Script_ParamValue
func (*Script) ProtoMessage ¶
func (*Script) ProtoMessage()
func (*Script) ProtoReflect ¶
func (x *Script) ProtoReflect() protoreflect.Message
type Script_ParamListValue ¶
type Script_ParamListValue struct { Values []*Script_ParamValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
list parameter value
func (*Script_ParamListValue) Descriptor
deprecated
func (*Script_ParamListValue) Descriptor() ([]byte, []int)
Deprecated: Use Script_ParamListValue.ProtoReflect.Descriptor instead.
func (*Script_ParamListValue) GetValues ¶
func (x *Script_ParamListValue) GetValues() []*Script_ParamValue
func (*Script_ParamListValue) ProtoMessage ¶
func (*Script_ParamListValue) ProtoMessage()
func (*Script_ParamListValue) ProtoReflect ¶
func (x *Script_ParamListValue) ProtoReflect() protoreflect.Message
func (*Script_ParamListValue) Reset ¶
func (x *Script_ParamListValue) Reset()
func (*Script_ParamListValue) String ¶
func (x *Script_ParamListValue) String() string
type Script_ParamNullValue ¶
type Script_ParamNullValue int32
null parameter value
const (
Script_NULL_VALUE Script_ParamNullValue = 0
)
func (Script_ParamNullValue) Descriptor ¶
func (Script_ParamNullValue) Descriptor() protoreflect.EnumDescriptor
func (Script_ParamNullValue) Enum ¶
func (x Script_ParamNullValue) Enum() *Script_ParamNullValue
func (Script_ParamNullValue) EnumDescriptor
deprecated
func (Script_ParamNullValue) EnumDescriptor() ([]byte, []int)
Deprecated: Use Script_ParamNullValue.Descriptor instead.
func (Script_ParamNullValue) Number ¶
func (x Script_ParamNullValue) Number() protoreflect.EnumNumber
func (Script_ParamNullValue) String ¶
func (x Script_ParamNullValue) String() string
func (Script_ParamNullValue) Type ¶
func (Script_ParamNullValue) Type() protoreflect.EnumType
type Script_ParamStructValue ¶
type Script_ParamStructValue struct { Fields map[string]*Script_ParamValue `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
map parameter value
func (*Script_ParamStructValue) Descriptor
deprecated
func (*Script_ParamStructValue) Descriptor() ([]byte, []int)
Deprecated: Use Script_ParamStructValue.ProtoReflect.Descriptor instead.
func (*Script_ParamStructValue) GetFields ¶
func (x *Script_ParamStructValue) GetFields() map[string]*Script_ParamValue
func (*Script_ParamStructValue) ProtoMessage ¶
func (*Script_ParamStructValue) ProtoMessage()
func (*Script_ParamStructValue) ProtoReflect ¶
func (x *Script_ParamStructValue) ProtoReflect() protoreflect.Message
func (*Script_ParamStructValue) Reset ¶
func (x *Script_ParamStructValue) Reset()
func (*Script_ParamStructValue) String ¶
func (x *Script_ParamStructValue) String() string
type Script_ParamValue ¶
type Script_ParamValue struct { // Types that are assignable to ParamValues: // *Script_ParamValue_TextValue // *Script_ParamValue_BooleanValue // *Script_ParamValue_IntValue // *Script_ParamValue_LongValue // *Script_ParamValue_FloatValue // *Script_ParamValue_DoubleValue // *Script_ParamValue_NullValue // *Script_ParamValue_ListValue // *Script_ParamValue_StructValue ParamValues isScript_ParamValue_ParamValues `protobuf_oneof:"ParamValues"` // contains filtered or unexported fields }
script parameter entry
func (*Script_ParamValue) Descriptor
deprecated
func (*Script_ParamValue) Descriptor() ([]byte, []int)
Deprecated: Use Script_ParamValue.ProtoReflect.Descriptor instead.
func (*Script_ParamValue) GetBooleanValue ¶
func (x *Script_ParamValue) GetBooleanValue() bool
func (*Script_ParamValue) GetDoubleValue ¶
func (x *Script_ParamValue) GetDoubleValue() float64
func (*Script_ParamValue) GetFloatValue ¶
func (x *Script_ParamValue) GetFloatValue() float32
func (*Script_ParamValue) GetIntValue ¶
func (x *Script_ParamValue) GetIntValue() int32
func (*Script_ParamValue) GetListValue ¶
func (x *Script_ParamValue) GetListValue() *Script_ParamListValue
func (*Script_ParamValue) GetLongValue ¶
func (x *Script_ParamValue) GetLongValue() int64
func (*Script_ParamValue) GetNullValue ¶
func (x *Script_ParamValue) GetNullValue() Script_ParamNullValue
func (*Script_ParamValue) GetParamValues ¶
func (m *Script_ParamValue) GetParamValues() isScript_ParamValue_ParamValues
func (*Script_ParamValue) GetStructValue ¶
func (x *Script_ParamValue) GetStructValue() *Script_ParamStructValue
func (*Script_ParamValue) GetTextValue ¶
func (x *Script_ParamValue) GetTextValue() string
func (*Script_ParamValue) ProtoMessage ¶
func (*Script_ParamValue) ProtoMessage()
func (*Script_ParamValue) ProtoReflect ¶
func (x *Script_ParamValue) ProtoReflect() protoreflect.Message
func (*Script_ParamValue) Reset ¶
func (x *Script_ParamValue) Reset()
func (*Script_ParamValue) String ¶
func (x *Script_ParamValue) String() string
type Script_ParamValue_BooleanValue ¶
type Script_ParamValue_BooleanValue struct {
BooleanValue bool `protobuf:"varint,2,opt,name=booleanValue,proto3,oneof"`
}
type Script_ParamValue_DoubleValue ¶
type Script_ParamValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,6,opt,name=doubleValue,proto3,oneof"`
}
type Script_ParamValue_FloatValue ¶
type Script_ParamValue_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,5,opt,name=floatValue,proto3,oneof"`
}
type Script_ParamValue_IntValue ¶
type Script_ParamValue_IntValue struct {
IntValue int32 `protobuf:"varint,3,opt,name=intValue,proto3,oneof"`
}
type Script_ParamValue_ListValue ¶
type Script_ParamValue_ListValue struct {
ListValue *Script_ParamListValue `protobuf:"bytes,8,opt,name=listValue,proto3,oneof"`
}
type Script_ParamValue_LongValue ¶
type Script_ParamValue_LongValue struct {
LongValue int64 `protobuf:"varint,4,opt,name=longValue,proto3,oneof"`
}
type Script_ParamValue_NullValue ¶
type Script_ParamValue_NullValue struct {
NullValue Script_ParamNullValue `protobuf:"varint,7,opt,name=nullValue,proto3,enum=luceneserver.Script_ParamNullValue,oneof"`
}
type Script_ParamValue_StructValue ¶
type Script_ParamValue_StructValue struct {
StructValue *Script_ParamStructValue `protobuf:"bytes,9,opt,name=structValue,proto3,oneof"`
}
type Script_ParamValue_TextValue ¶
type Script_ParamValue_TextValue struct {
TextValue string `protobuf:"bytes,1,opt,name=textValue,proto3,oneof"`
}
type SearchRequest ¶
type SearchRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index to search against StartHit int32 `protobuf:"varint,2,opt,name=startHit,proto3" json:"startHit,omitempty"` // Which hit to start from (for pagination); default: 0 TopHits int32 `protobuf:"varint,3,opt,name=topHits,proto3" json:"topHits,omitempty"` // How many top hits to retrieve; default: 10. It limits the hits returned, starting from index 0. For pagination: set it to startHit + window_size. // Maximum number of seconds spent on each collection phase; note that for // multi-pass searches (e.g. query-time grouping), this timeout applies to each phase. TimeoutSec float64 `protobuf:"fixed64,4,opt,name=timeoutSec,proto3" json:"timeoutSec,omitempty"` RetrieveFields []string `protobuf:"bytes,5,rep,name=retrieveFields,proto3" json:"retrieveFields,omitempty"` //Which fields to highlight or retrieve. QueryText string `protobuf:"bytes,6,opt,name=queryText,proto3" json:"queryText,omitempty"` //Query text to parse using the specified QueryParser. VirtualFields []*VirtualField `protobuf:"bytes,7,rep,name=virtualFields,proto3" json:"virtualFields,omitempty"` //Defines virtual fields (name'd dynamic expressions) for this query. Query *Query `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"` // Full query to execute using QueryNodes QuerySort *QuerySortField `protobuf:"bytes,9,opt,name=querySort,proto3" json:"querySort,omitempty"` //Sort hits by field (default is by relevance). // Types that are assignable to Searcher: // *SearchRequest_IndexGen // *SearchRequest_Version // *SearchRequest_Snapshot Searcher isSearchRequest_Searcher `protobuf_oneof:"Searcher"` TotalHitsThreshold int32 `protobuf:"varint,13,opt,name=totalHitsThreshold,proto3" json:"totalHitsThreshold,omitempty"` //By default we count hits accurately up to 1000. This makes sure that we don't spend most time on computing hit counts Facets []*Facet `protobuf:"bytes,14,rep,name=facets,proto3" json:"facets,omitempty"` // Which facets to retrieve FetchTasks []*FetchTask `protobuf:"bytes,15,rep,name=fetchTasks,proto3" json:"fetchTasks,omitempty"` //Any custom tasks that should be performed on top documents after ranking DisallowPartialResults bool `protobuf:"varint,16,opt,name=disallowPartialResults,proto3" json:"disallowPartialResults,omitempty"` //Should partial result be a failure condition. Applies when a search request times out. If false, the top documents ranking at the point of timeout are used and the request continues. Also, hitTimeout is set to true in the response. QueryNestedPath string `protobuf:"bytes,17,opt,name=queryNestedPath,proto3" json:"queryNestedPath,omitempty"` //nested path we want to query by if we want to query child documents. Rescorers []*Rescorer `protobuf:"bytes,18,rep,name=rescorers,proto3" json:"rescorers,omitempty"` // Rescorers which are executed in-order after the first pass //If detailed request execution profiling should be included in the response Profile bool `protobuf:"varint,19,opt,name=profile,proto3" json:"profile,omitempty"` //Check the search timeout condition after each collection of n documents in a segment. If 0, timeout is only checked on the segment boundary. TimeoutCheckEvery int32 `protobuf:"varint,20,opt,name=timeoutCheckEvery,proto3" json:"timeoutCheckEvery,omitempty"` //Additional document collectors. Provides support for operations such as aggregation. Collectors map[string]*Collector `` /* 162-byte string literal not displayed */ //Stop document collection in search phase after this many documents, 0 for unlimited. TerminateAfter int32 `protobuf:"varint,22,opt,name=terminateAfter,proto3" json:"terminateAfter,omitempty"` //Set gRPC compression codec to use for response message. If value is unset or invalid, falls back to uncompressed. Valid codecs: identity, gzip, lz4 ResponseCompression string `protobuf:"bytes,23,opt,name=responseCompression,proto3" json:"responseCompression,omitempty"` // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetCollectors ¶
func (x *SearchRequest) GetCollectors() map[string]*Collector
func (*SearchRequest) GetDisallowPartialResults ¶
func (x *SearchRequest) GetDisallowPartialResults() bool
func (*SearchRequest) GetFacets ¶
func (x *SearchRequest) GetFacets() []*Facet
func (*SearchRequest) GetFetchTasks ¶
func (x *SearchRequest) GetFetchTasks() []*FetchTask
func (*SearchRequest) GetIndexGen ¶
func (x *SearchRequest) GetIndexGen() int64
func (*SearchRequest) GetIndexName ¶
func (x *SearchRequest) GetIndexName() string
func (*SearchRequest) GetProfile ¶
func (x *SearchRequest) GetProfile() bool
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() *Query
func (*SearchRequest) GetQueryNestedPath ¶
func (x *SearchRequest) GetQueryNestedPath() string
func (*SearchRequest) GetQuerySort ¶
func (x *SearchRequest) GetQuerySort() *QuerySortField
func (*SearchRequest) GetQueryText ¶
func (x *SearchRequest) GetQueryText() string
func (*SearchRequest) GetRescorers ¶
func (x *SearchRequest) GetRescorers() []*Rescorer
func (*SearchRequest) GetResponseCompression ¶ added in v0.10.3
func (x *SearchRequest) GetResponseCompression() string
func (*SearchRequest) GetRetrieveFields ¶
func (x *SearchRequest) GetRetrieveFields() []string
func (*SearchRequest) GetSearcher ¶
func (m *SearchRequest) GetSearcher() isSearchRequest_Searcher
func (*SearchRequest) GetSnapshot ¶
func (x *SearchRequest) GetSnapshot() string
func (*SearchRequest) GetStartHit ¶
func (x *SearchRequest) GetStartHit() int32
func (*SearchRequest) GetTerminateAfter ¶
func (x *SearchRequest) GetTerminateAfter() int32
func (*SearchRequest) GetTimeoutCheckEvery ¶
func (x *SearchRequest) GetTimeoutCheckEvery() int32
func (*SearchRequest) GetTimeoutSec ¶
func (x *SearchRequest) GetTimeoutSec() float64
func (*SearchRequest) GetTopHits ¶
func (x *SearchRequest) GetTopHits() int32
func (*SearchRequest) GetTotalHitsThreshold ¶
func (x *SearchRequest) GetTotalHitsThreshold() int32
func (*SearchRequest) GetVersion ¶
func (x *SearchRequest) GetVersion() int64
func (*SearchRequest) GetVirtualFields ¶
func (x *SearchRequest) GetVirtualFields() []*VirtualField
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchRequest_IndexGen ¶
type SearchRequest_IndexGen struct {
IndexGen int64 `protobuf:"varint,10,opt,name=indexGen,proto3,oneof"` //Search a generation previously returned by an indexing operation such as #addDocument. Use this to search a non-committed (near-real-time) view of the index.
}
type SearchRequest_Snapshot ¶
type SearchRequest_Snapshot struct {
Snapshot string `protobuf:"bytes,12,opt,name=snapshot,proto3,oneof"` //Search a snapshot previously created with #createSnapshot
}
type SearchRequest_Version ¶
type SearchRequest_Version struct {
Version int64 `protobuf:"varint,11,opt,name=version,proto3,oneof"` //Search a specific searcher version. This is typically used by follow-on searches (e.g., user clicks next page, drills down, or changes sort, etc.) to get the same searcher used by the original search.
}
type SearchResponse ¶
type SearchResponse struct { Diagnostics *SearchResponse_Diagnostics `protobuf:"bytes,1,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"` HitTimeout bool `protobuf:"varint,2,opt,name=hitTimeout,proto3" json:"hitTimeout,omitempty"` // Set to true if search times out and a degraded response is returned TotalHits *TotalHits `protobuf:"bytes,3,opt,name=totalHits,proto3" json:"totalHits,omitempty"` Hits []*SearchResponse_Hit `protobuf:"bytes,4,rep,name=hits,proto3" json:"hits,omitempty"` SearchState *SearchResponse_SearchState `protobuf:"bytes,5,opt,name=searchState,proto3" json:"searchState,omitempty"` FacetResult []*FacetResult `protobuf:"bytes,6,rep,name=facetResult,proto3" json:"facetResult,omitempty"` ////Counts or aggregates for a single dimension // Detailed stats returned when profile=true in request ProfileResult *ProfileResult `protobuf:"bytes,7,opt,name=profileResult,proto3" json:"profileResult,omitempty"` // Results from any additional document collectors CollectorResults map[string]*CollectorResult `` /* 173-byte string literal not displayed */ // If this query hit the terminateAfter threshold specified in the request TerminatedEarly bool `protobuf:"varint,9,opt,name=terminatedEarly,proto3" json:"terminatedEarly,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetCollectorResults ¶
func (x *SearchResponse) GetCollectorResults() map[string]*CollectorResult
func (*SearchResponse) GetDiagnostics ¶
func (x *SearchResponse) GetDiagnostics() *SearchResponse_Diagnostics
func (*SearchResponse) GetFacetResult ¶
func (x *SearchResponse) GetFacetResult() []*FacetResult
func (*SearchResponse) GetHitTimeout ¶
func (x *SearchResponse) GetHitTimeout() bool
func (*SearchResponse) GetHits ¶
func (x *SearchResponse) GetHits() []*SearchResponse_Hit
func (*SearchResponse) GetProfileResult ¶
func (x *SearchResponse) GetProfileResult() *ProfileResult
func (*SearchResponse) GetSearchState ¶
func (x *SearchResponse) GetSearchState() *SearchResponse_SearchState
func (*SearchResponse) GetTerminatedEarly ¶
func (x *SearchResponse) GetTerminatedEarly() bool
func (*SearchResponse) GetTotalHits ¶
func (x *SearchResponse) GetTotalHits() *TotalHits
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type SearchResponse_Diagnostics ¶
type SearchResponse_Diagnostics struct { // Query debug has been moved to ProfileResult // // Deprecated: Do not use. ParsedQuery string `protobuf:"bytes,1,opt,name=parsedQuery,proto3" json:"parsedQuery,omitempty"` // Deprecated: Do not use. RewrittenQuery string `protobuf:"bytes,2,opt,name=rewrittenQuery,proto3" json:"rewrittenQuery,omitempty"` // Deprecated: Do not use. DrillDownQuery string `protobuf:"bytes,3,opt,name=drillDownQuery,proto3" json:"drillDownQuery,omitempty"` FirstPassSearchTimeMs float64 `protobuf:"fixed64,4,opt,name=firstPassSearchTimeMs,proto3" json:"firstPassSearchTimeMs,omitempty"` HighlightTimeMs float64 `protobuf:"fixed64,5,opt,name=highlightTimeMs,proto3" json:"highlightTimeMs,omitempty"` GetFieldsTimeMs float64 `protobuf:"fixed64,6,opt,name=getFieldsTimeMs,proto3" json:"getFieldsTimeMs,omitempty"` NewSnapshotSearcherOpenMs float64 `protobuf:"fixed64,7,opt,name=newSnapshotSearcherOpenMs,proto3" json:"newSnapshotSearcherOpenMs,omitempty"` NrtWaitTimeMs float64 `protobuf:"fixed64,8,opt,name=nrtWaitTimeMs,proto3" json:"nrtWaitTimeMs,omitempty"` FacetTimeMs map[string]float64 `` /* 165-byte string literal not displayed */ RescoreTimeMs float64 `protobuf:"fixed64,10,opt,name=rescoreTimeMs,proto3" json:"rescoreTimeMs,omitempty"` RescorersTimeMs map[string]float64 `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SearchResponse_Diagnostics) Descriptor
deprecated
func (*SearchResponse_Diagnostics) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Diagnostics.ProtoReflect.Descriptor instead.
func (*SearchResponse_Diagnostics) GetDrillDownQuery
deprecated
func (x *SearchResponse_Diagnostics) GetDrillDownQuery() string
Deprecated: Do not use.
func (*SearchResponse_Diagnostics) GetFacetTimeMs ¶
func (x *SearchResponse_Diagnostics) GetFacetTimeMs() map[string]float64
func (*SearchResponse_Diagnostics) GetFirstPassSearchTimeMs ¶
func (x *SearchResponse_Diagnostics) GetFirstPassSearchTimeMs() float64
func (*SearchResponse_Diagnostics) GetGetFieldsTimeMs ¶
func (x *SearchResponse_Diagnostics) GetGetFieldsTimeMs() float64
func (*SearchResponse_Diagnostics) GetHighlightTimeMs ¶
func (x *SearchResponse_Diagnostics) GetHighlightTimeMs() float64
func (*SearchResponse_Diagnostics) GetNewSnapshotSearcherOpenMs ¶
func (x *SearchResponse_Diagnostics) GetNewSnapshotSearcherOpenMs() float64
func (*SearchResponse_Diagnostics) GetNrtWaitTimeMs ¶
func (x *SearchResponse_Diagnostics) GetNrtWaitTimeMs() float64
func (*SearchResponse_Diagnostics) GetParsedQuery
deprecated
func (x *SearchResponse_Diagnostics) GetParsedQuery() string
Deprecated: Do not use.
func (*SearchResponse_Diagnostics) GetRescoreTimeMs ¶
func (x *SearchResponse_Diagnostics) GetRescoreTimeMs() float64
func (*SearchResponse_Diagnostics) GetRescorersTimeMs ¶
func (x *SearchResponse_Diagnostics) GetRescorersTimeMs() map[string]float64
func (*SearchResponse_Diagnostics) GetRewrittenQuery
deprecated
func (x *SearchResponse_Diagnostics) GetRewrittenQuery() string
Deprecated: Do not use.
func (*SearchResponse_Diagnostics) ProtoMessage ¶
func (*SearchResponse_Diagnostics) ProtoMessage()
func (*SearchResponse_Diagnostics) ProtoReflect ¶
func (x *SearchResponse_Diagnostics) ProtoReflect() protoreflect.Message
func (*SearchResponse_Diagnostics) Reset ¶
func (x *SearchResponse_Diagnostics) Reset()
func (*SearchResponse_Diagnostics) String ¶
func (x *SearchResponse_Diagnostics) String() string
type SearchResponse_Hit ¶
type SearchResponse_Hit struct { LuceneDocId int32 `protobuf:"varint,1,opt,name=luceneDocId,proto3" json:"luceneDocId,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Fields map[string]*SearchResponse_Hit_CompositeFieldValue `` // Field name to value /* 153-byte string literal not displayed */ SortedFields map[string]*SearchResponse_Hit_CompositeFieldValue `` // Sorted field name to value /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SearchResponse_Hit) Descriptor
deprecated
func (*SearchResponse_Hit) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Hit.ProtoReflect.Descriptor instead.
func (*SearchResponse_Hit) GetFields ¶
func (x *SearchResponse_Hit) GetFields() map[string]*SearchResponse_Hit_CompositeFieldValue
func (*SearchResponse_Hit) GetLuceneDocId ¶
func (x *SearchResponse_Hit) GetLuceneDocId() int32
func (*SearchResponse_Hit) GetScore ¶
func (x *SearchResponse_Hit) GetScore() float64
func (*SearchResponse_Hit) GetSortedFields ¶
func (x *SearchResponse_Hit) GetSortedFields() map[string]*SearchResponse_Hit_CompositeFieldValue
func (*SearchResponse_Hit) ProtoMessage ¶
func (*SearchResponse_Hit) ProtoMessage()
func (*SearchResponse_Hit) ProtoReflect ¶
func (x *SearchResponse_Hit) ProtoReflect() protoreflect.Message
func (*SearchResponse_Hit) Reset ¶
func (x *SearchResponse_Hit) Reset()
func (*SearchResponse_Hit) String ¶
func (x *SearchResponse_Hit) String() string
type SearchResponse_Hit_CompositeFieldValue ¶
type SearchResponse_Hit_CompositeFieldValue struct { FieldValue []*SearchResponse_Hit_FieldValue `protobuf:"bytes,3,rep,name=fieldValue,proto3" json:"fieldValue,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse_Hit_CompositeFieldValue) Descriptor
deprecated
func (*SearchResponse_Hit_CompositeFieldValue) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Hit_CompositeFieldValue.ProtoReflect.Descriptor instead.
func (*SearchResponse_Hit_CompositeFieldValue) GetFieldValue ¶
func (x *SearchResponse_Hit_CompositeFieldValue) GetFieldValue() []*SearchResponse_Hit_FieldValue
func (*SearchResponse_Hit_CompositeFieldValue) ProtoMessage ¶
func (*SearchResponse_Hit_CompositeFieldValue) ProtoMessage()
func (*SearchResponse_Hit_CompositeFieldValue) ProtoReflect ¶
func (x *SearchResponse_Hit_CompositeFieldValue) ProtoReflect() protoreflect.Message
func (*SearchResponse_Hit_CompositeFieldValue) Reset ¶
func (x *SearchResponse_Hit_CompositeFieldValue) Reset()
func (*SearchResponse_Hit_CompositeFieldValue) String ¶
func (x *SearchResponse_Hit_CompositeFieldValue) String() string
type SearchResponse_Hit_FieldValue ¶
type SearchResponse_Hit_FieldValue struct { // Types that are assignable to FieldValues: // *SearchResponse_Hit_FieldValue_TextValue // *SearchResponse_Hit_FieldValue_BooleanValue // *SearchResponse_Hit_FieldValue_IntValue // *SearchResponse_Hit_FieldValue_LongValue // *SearchResponse_Hit_FieldValue_FloatValue // *SearchResponse_Hit_FieldValue_DoubleValue // *SearchResponse_Hit_FieldValue_LatLngValue // *SearchResponse_Hit_FieldValue_StructValue FieldValues isSearchResponse_Hit_FieldValue_FieldValues `protobuf_oneof:"FieldValues"` // contains filtered or unexported fields }
func (*SearchResponse_Hit_FieldValue) Descriptor
deprecated
func (*SearchResponse_Hit_FieldValue) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Hit_FieldValue.ProtoReflect.Descriptor instead.
func (*SearchResponse_Hit_FieldValue) GetBooleanValue ¶
func (x *SearchResponse_Hit_FieldValue) GetBooleanValue() bool
func (*SearchResponse_Hit_FieldValue) GetDoubleValue ¶
func (x *SearchResponse_Hit_FieldValue) GetDoubleValue() float64
func (*SearchResponse_Hit_FieldValue) GetFieldValues ¶
func (m *SearchResponse_Hit_FieldValue) GetFieldValues() isSearchResponse_Hit_FieldValue_FieldValues
func (*SearchResponse_Hit_FieldValue) GetFloatValue ¶
func (x *SearchResponse_Hit_FieldValue) GetFloatValue() float32
func (*SearchResponse_Hit_FieldValue) GetIntValue ¶
func (x *SearchResponse_Hit_FieldValue) GetIntValue() int32
func (*SearchResponse_Hit_FieldValue) GetLatLngValue ¶
func (x *SearchResponse_Hit_FieldValue) GetLatLngValue() *latlng.LatLng
func (*SearchResponse_Hit_FieldValue) GetLongValue ¶
func (x *SearchResponse_Hit_FieldValue) GetLongValue() int64
func (*SearchResponse_Hit_FieldValue) GetStructValue ¶
func (x *SearchResponse_Hit_FieldValue) GetStructValue() *_struct.Struct
func (*SearchResponse_Hit_FieldValue) GetTextValue ¶
func (x *SearchResponse_Hit_FieldValue) GetTextValue() string
func (*SearchResponse_Hit_FieldValue) ProtoMessage ¶
func (*SearchResponse_Hit_FieldValue) ProtoMessage()
func (*SearchResponse_Hit_FieldValue) ProtoReflect ¶
func (x *SearchResponse_Hit_FieldValue) ProtoReflect() protoreflect.Message
func (*SearchResponse_Hit_FieldValue) Reset ¶
func (x *SearchResponse_Hit_FieldValue) Reset()
func (*SearchResponse_Hit_FieldValue) String ¶
func (x *SearchResponse_Hit_FieldValue) String() string
type SearchResponse_Hit_FieldValue_BooleanValue ¶
type SearchResponse_Hit_FieldValue_BooleanValue struct {
BooleanValue bool `protobuf:"varint,2,opt,name=booleanValue,proto3,oneof"` // Value for BOOLEAN FieldType
}
type SearchResponse_Hit_FieldValue_DoubleValue ¶
type SearchResponse_Hit_FieldValue_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,6,opt,name=doubleValue,proto3,oneof"` // Value for DOUBLE FieldType
}
type SearchResponse_Hit_FieldValue_FloatValue ¶
type SearchResponse_Hit_FieldValue_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,5,opt,name=floatValue,proto3,oneof"` // Value for FLOAT FieldType
}
type SearchResponse_Hit_FieldValue_IntValue ¶
type SearchResponse_Hit_FieldValue_IntValue struct {
IntValue int32 `protobuf:"varint,3,opt,name=intValue,proto3,oneof"` // Value for INT FieldType
}
type SearchResponse_Hit_FieldValue_LongValue ¶
type SearchResponse_Hit_FieldValue_LongValue struct {
LongValue int64 `protobuf:"varint,4,opt,name=longValue,proto3,oneof"` // Value for LONG and DATE_TIME (as milliseconds since epoch in UTC zone) FieldType
}
type SearchResponse_Hit_FieldValue_TextValue ¶
type SearchResponse_Hit_FieldValue_TextValue struct {
TextValue string `protobuf:"bytes,1,opt,name=textValue,proto3,oneof"` // Value for ATOM and TEXT FieldType
}
type SearchResponse_SearchState ¶
type SearchResponse_SearchState struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` SearcherVersion int64 `protobuf:"varint,2,opt,name=searcherVersion,proto3" json:"searcherVersion,omitempty"` LastDocId int32 `protobuf:"varint,3,opt,name=lastDocId,proto3" json:"lastDocId,omitempty"` LastFieldValues []string `protobuf:"bytes,4,rep,name=lastFieldValues,proto3" json:"lastFieldValues,omitempty"` LastScore float32 `protobuf:"fixed32,5,opt,name=lastScore,proto3" json:"lastScore,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse_SearchState) Descriptor
deprecated
func (*SearchResponse_SearchState) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_SearchState.ProtoReflect.Descriptor instead.
func (*SearchResponse_SearchState) GetLastDocId ¶
func (x *SearchResponse_SearchState) GetLastDocId() int32
func (*SearchResponse_SearchState) GetLastFieldValues ¶
func (x *SearchResponse_SearchState) GetLastFieldValues() []string
func (*SearchResponse_SearchState) GetLastScore ¶
func (x *SearchResponse_SearchState) GetLastScore() float32
func (*SearchResponse_SearchState) GetSearcherVersion ¶
func (x *SearchResponse_SearchState) GetSearcherVersion() int64
func (*SearchResponse_SearchState) GetTimestamp ¶
func (x *SearchResponse_SearchState) GetTimestamp() int64
func (*SearchResponse_SearchState) ProtoMessage ¶
func (*SearchResponse_SearchState) ProtoMessage()
func (*SearchResponse_SearchState) ProtoReflect ¶
func (x *SearchResponse_SearchState) ProtoReflect() protoreflect.Message
func (*SearchResponse_SearchState) Reset ¶
func (x *SearchResponse_SearchState) Reset()
func (*SearchResponse_SearchState) String ¶
func (x *SearchResponse_SearchState) String() string
type Searcher ¶
type Searcher struct { // the version recorded in the commit that the reader opened. //This version is advanced every time a change is made with IndexWriter. Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` NumDocs int32 `protobuf:"varint,2,opt,name=numDocs,proto3" json:"numDocs,omitempty"` //total number of docs in this index Segments string `protobuf:"bytes,3,opt,name=segments,proto3" json:"segments,omitempty"` //string representation of segments StaleAgeSeconds float64 `protobuf:"fixed64,4,opt,name=staleAgeSeconds,proto3" json:"staleAgeSeconds,omitempty"` //how much time has passed since this searcher was the current (live) searcher NumSegments int32 `protobuf:"varint,5,opt,name=numSegments,proto3" json:"numSegments,omitempty"` // number of segments, filled only if Searcher has StandardDirectoryReader // contains filtered or unexported fields }
func (*Searcher) Descriptor
deprecated
func (*Searcher) GetNumDocs ¶
func (*Searcher) GetNumSegments ¶
func (*Searcher) GetSegments ¶
func (*Searcher) GetStaleAgeSeconds ¶
func (*Searcher) GetVersion ¶
func (*Searcher) ProtoMessage ¶
func (*Searcher) ProtoMessage()
func (*Searcher) ProtoReflect ¶
func (x *Searcher) ProtoReflect() protoreflect.Message
type SearcherVersion ¶
type SearcherVersion struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` //returns the version recorded in the commit that the reader opened. This version is advanced every time a change is made with IndexWriter DidRefresh bool `protobuf:"varint,2,opt,name=didRefresh,proto3" json:"didRefresh,omitempty"` //true if refresh happened // contains filtered or unexported fields }
func (*SearcherVersion) Descriptor
deprecated
func (*SearcherVersion) Descriptor() ([]byte, []int)
Deprecated: Use SearcherVersion.ProtoReflect.Descriptor instead.
func (*SearcherVersion) GetDidRefresh ¶
func (x *SearcherVersion) GetDidRefresh() bool
func (*SearcherVersion) GetVersion ¶
func (x *SearcherVersion) GetVersion() int64
func (*SearcherVersion) ProtoMessage ¶
func (*SearcherVersion) ProtoMessage()
func (*SearcherVersion) ProtoReflect ¶
func (x *SearcherVersion) ProtoReflect() protoreflect.Message
func (*SearcherVersion) Reset ¶
func (x *SearcherVersion) Reset()
func (*SearcherVersion) String ¶
func (x *SearcherVersion) String() string
type Selector ¶
type Selector int32
For multi valued fields, how to select which value is used for sorting
const ( Selector_MIN Selector = 0 // Minimum value Selector_MAX Selector = 1 // Maximum value Selector_MIDDLE_MIN Selector = 2 // Middle value of the set; if there are an even number of values, the lower of the middle two is chosen Selector_MIDDLE_MAX Selector = 3 // Middle value of the set; if there are an even number of values, the upper of the middle two is chosen )
func (Selector) Descriptor ¶
func (Selector) Descriptor() protoreflect.EnumDescriptor
func (Selector) EnumDescriptor
deprecated
func (Selector) Number ¶
func (x Selector) Number() protoreflect.EnumNumber
func (Selector) Type ¶
func (Selector) Type() protoreflect.EnumType
type SettingsRequest ¶
type SettingsRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Index name MergeMaxMBPerSec float64 `protobuf:"fixed64,2,opt,name=mergeMaxMBPerSec,proto3" json:"mergeMaxMBPerSec,omitempty"` // Rate limit merges to at most this many MB/sec NrtCachingDirectoryMaxMergeSizeMB float64 `protobuf:"fixed64,3,opt,name=nrtCachingDirectoryMaxMergeSizeMB,proto3" json:"nrtCachingDirectoryMaxMergeSizeMB,omitempty"` // Largest merged segment size to cache in RAMDirectory, default: 5.0MB NrtCachingDirectoryMaxSizeMB float64 `protobuf:"fixed64,4,opt,name=nrtCachingDirectoryMaxSizeMB,proto3" json:"nrtCachingDirectoryMaxSizeMB,omitempty"` // Largest overall size for all files cached in NRTCachingDirectory; set to -1 to disable NRTCachingDirectory default: 60.0MB ConcurrentMergeSchedulerMaxThreadCount int32 `` // How many merge threads to allow at once /* 130-byte string literal not displayed */ ConcurrentMergeSchedulerMaxMergeCount int32 `` // Maximum backlog of pending merges before indexing threads are stalled /* 128-byte string literal not displayed */ IndexSort *SortFields `protobuf:"bytes,7,opt,name=indexSort,proto3" json:"indexSort,omitempty"` // Index time sorting; can only be written once", SearchHandler.SORT_TYPE // Deprecated: Do not use. IndexVerbose bool `protobuf:"varint,8,opt,name=indexVerbose,proto3" json:"indexVerbose,omitempty"` // Deprecated, moved to lucene config. Turn on IndexWriter's infoStream (to stdout) IndexMergeSchedulerAutoThrottle bool `protobuf:"varint,9,opt,name=indexMergeSchedulerAutoThrottle,proto3" json:"indexMergeSchedulerAutoThrottle,omitempty"` // Turn on/off the merge scheduler's auto throttling NormsFormat string `protobuf:"bytes,10,opt,name=normsFormat,proto3" json:"normsFormat,omitempty"` // Which NormsFormat should be used for all indexed fields. default: Lucene80NormsFormat // Base Directory implementation to use (NRTCachingDirectory will wrap this) either one of the core implementations (FSDirectory, MMapDirectory, NIOFSDirectory, SimpleFSDirectory, RAMDirectory (for temporary indices!) or a fully qualified path to a Directory implementation that has a public constructor taking a single File argument default: FSDirectory Directory string `protobuf:"bytes,11,opt,name=directory,proto3" json:"directory,omitempty"` // contains filtered or unexported fields }
Input to settings
func (*SettingsRequest) Descriptor
deprecated
func (*SettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SettingsRequest.ProtoReflect.Descriptor instead.
func (*SettingsRequest) GetConcurrentMergeSchedulerMaxMergeCount ¶
func (x *SettingsRequest) GetConcurrentMergeSchedulerMaxMergeCount() int32
func (*SettingsRequest) GetConcurrentMergeSchedulerMaxThreadCount ¶
func (x *SettingsRequest) GetConcurrentMergeSchedulerMaxThreadCount() int32
func (*SettingsRequest) GetDirectory ¶
func (x *SettingsRequest) GetDirectory() string
func (*SettingsRequest) GetIndexMergeSchedulerAutoThrottle ¶
func (x *SettingsRequest) GetIndexMergeSchedulerAutoThrottle() bool
func (*SettingsRequest) GetIndexName ¶
func (x *SettingsRequest) GetIndexName() string
func (*SettingsRequest) GetIndexSort ¶
func (x *SettingsRequest) GetIndexSort() *SortFields
func (*SettingsRequest) GetIndexVerbose
deprecated
func (x *SettingsRequest) GetIndexVerbose() bool
Deprecated: Do not use.
func (*SettingsRequest) GetMergeMaxMBPerSec ¶
func (x *SettingsRequest) GetMergeMaxMBPerSec() float64
func (*SettingsRequest) GetNormsFormat ¶
func (x *SettingsRequest) GetNormsFormat() string
func (*SettingsRequest) GetNrtCachingDirectoryMaxMergeSizeMB ¶
func (x *SettingsRequest) GetNrtCachingDirectoryMaxMergeSizeMB() float64
func (*SettingsRequest) GetNrtCachingDirectoryMaxSizeMB ¶
func (x *SettingsRequest) GetNrtCachingDirectoryMaxSizeMB() float64
func (*SettingsRequest) ProtoMessage ¶
func (*SettingsRequest) ProtoMessage()
func (*SettingsRequest) ProtoReflect ¶
func (x *SettingsRequest) ProtoReflect() protoreflect.Message
func (*SettingsRequest) Reset ¶
func (x *SettingsRequest) Reset()
func (*SettingsRequest) String ¶
func (x *SettingsRequest) String() string
type SettingsResponse ¶
type SettingsResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
Settings Response returned from Server
func (*SettingsResponse) Descriptor
deprecated
func (*SettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SettingsResponse.ProtoReflect.Descriptor instead.
func (*SettingsResponse) GetResponse ¶
func (x *SettingsResponse) GetResponse() string
func (*SettingsResponse) ProtoMessage ¶
func (*SettingsResponse) ProtoMessage()
func (*SettingsResponse) ProtoReflect ¶
func (x *SettingsResponse) ProtoReflect() protoreflect.Message
func (*SettingsResponse) Reset ¶
func (x *SettingsResponse) Reset()
func (*SettingsResponse) String ¶
func (x *SettingsResponse) String() string
type SnapshotId ¶
type SnapshotId struct { IndexGen int64 `protobuf:"varint,1,opt,name=indexGen,proto3" json:"indexGen,omitempty"` TaxonomyGen int64 `protobuf:"varint,2,opt,name=taxonomyGen,proto3" json:"taxonomyGen,omitempty"` StateGen int64 `protobuf:"varint,3,opt,name=stateGen,proto3" json:"stateGen,omitempty"` // contains filtered or unexported fields }
func (*SnapshotId) Descriptor
deprecated
func (*SnapshotId) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotId.ProtoReflect.Descriptor instead.
func (*SnapshotId) GetIndexGen ¶
func (x *SnapshotId) GetIndexGen() int64
func (*SnapshotId) GetStateGen ¶
func (x *SnapshotId) GetStateGen() int64
func (*SnapshotId) GetTaxonomyGen ¶
func (x *SnapshotId) GetTaxonomyGen() int64
func (*SnapshotId) ProtoMessage ¶
func (*SnapshotId) ProtoMessage()
func (*SnapshotId) ProtoReflect ¶
func (x *SnapshotId) ProtoReflect() protoreflect.Message
func (*SnapshotId) Reset ¶
func (x *SnapshotId) Reset()
func (*SnapshotId) String ¶
func (x *SnapshotId) String() string
type SortFields ¶
type SortFields struct { SortedFields []*SortType `protobuf:"bytes,1,rep,name=sortedFields,proto3" json:"sortedFields,omitempty"` // contains filtered or unexported fields }
Fields to sort on either during index time or search time
func (*SortFields) Descriptor
deprecated
func (*SortFields) Descriptor() ([]byte, []int)
Deprecated: Use SortFields.ProtoReflect.Descriptor instead.
func (*SortFields) GetSortedFields ¶
func (x *SortFields) GetSortedFields() []*SortType
func (*SortFields) ProtoMessage ¶
func (*SortFields) ProtoMessage()
func (*SortFields) ProtoReflect ¶
func (x *SortFields) ProtoReflect() protoreflect.Message
func (*SortFields) Reset ¶
func (x *SortFields) Reset()
func (*SortFields) String ¶
func (x *SortFields) String() string
type SortType ¶
type SortType struct { FieldName string `protobuf:"bytes,1,opt,name=fieldName,proto3" json:"fieldName,omitempty"` // name of field to sort Selector Selector `protobuf:"varint,2,opt,name=selector,proto3,enum=luceneserver.Selector" json:"selector,omitempty"` // For multi valued fields, how to select which value is used for sorting Origin *Point `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` // For distance sort, the point that we measure distance from // Whether missing values should sort last instead of first. //Note that this runs \"before\" reverse, so if you sort missing first and reverse=true then missing values will //be at the end. MissingLat bool `protobuf:"varint,4,opt,name=missingLat,proto3" json:"missingLat,omitempty"` // Sort in reverse of the field's natural order Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
"The field to sort on. Pass <code>docid</code> for index order and <code>score</code> for relevance sort.
func (*SortType) Descriptor
deprecated
func (*SortType) GetFieldName ¶
func (*SortType) GetMissingLat ¶
func (*SortType) GetReverse ¶
func (*SortType) GetSelector ¶
func (*SortType) ProtoMessage ¶
func (*SortType) ProtoMessage()
func (*SortType) ProtoReflect ¶
func (x *SortType) ProtoReflect() protoreflect.Message
type StartIndexRequest ¶
type StartIndexRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name Mode Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=luceneserver.Mode" json:"mode,omitempty"` //Standalone, NRT primary or replica mode to start this index. PrimaryGen int64 `protobuf:"varint,3,opt,name=primaryGen,proto3" json:"primaryGen,omitempty"` //primary, the generation of this primary (should increment each time a new primary starts for this index) PrimaryAddress string `protobuf:"bytes,4,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` //replica, the IP address or host name of the remote primary Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` //replica, the TCP port of the remote primary Restore *RestoreIndex `protobuf:"bytes,6,opt,name=restore,proto3" json:"restore,omitempty"` // restore index from backup // contains filtered or unexported fields }
Start the index
func (*StartIndexRequest) Descriptor
deprecated
func (*StartIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartIndexRequest.ProtoReflect.Descriptor instead.
func (*StartIndexRequest) GetIndexName ¶
func (x *StartIndexRequest) GetIndexName() string
func (*StartIndexRequest) GetMode ¶
func (x *StartIndexRequest) GetMode() Mode
func (*StartIndexRequest) GetPort ¶
func (x *StartIndexRequest) GetPort() int32
func (*StartIndexRequest) GetPrimaryAddress ¶
func (x *StartIndexRequest) GetPrimaryAddress() string
func (*StartIndexRequest) GetPrimaryGen ¶
func (x *StartIndexRequest) GetPrimaryGen() int64
func (*StartIndexRequest) GetRestore ¶
func (x *StartIndexRequest) GetRestore() *RestoreIndex
func (*StartIndexRequest) ProtoMessage ¶
func (*StartIndexRequest) ProtoMessage()
func (*StartIndexRequest) ProtoReflect ¶
func (x *StartIndexRequest) ProtoReflect() protoreflect.Message
func (*StartIndexRequest) Reset ¶
func (x *StartIndexRequest) Reset()
func (*StartIndexRequest) String ¶
func (x *StartIndexRequest) String() string
type StartIndexResponse ¶
type StartIndexResponse struct { MaxDoc int32 `protobuf:"varint,1,opt,name=maxDoc,proto3" json:"maxDoc,omitempty"` //one greater than the largest possible document number NumDocs int32 `protobuf:"varint,2,opt,name=numDocs,proto3" json:"numDocs,omitempty"` //the number of documents in this index. Segments string `protobuf:"bytes,3,opt,name=segments,proto3" json:"segments,omitempty"` //string representation of the IndexReader implementation StartTimeMS float64 `protobuf:"fixed64,4,opt,name=startTimeMS,proto3" json:"startTimeMS,omitempty"` //time taken to start the index // contains filtered or unexported fields }
func (*StartIndexResponse) Descriptor
deprecated
func (*StartIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartIndexResponse.ProtoReflect.Descriptor instead.
func (*StartIndexResponse) GetMaxDoc ¶
func (x *StartIndexResponse) GetMaxDoc() int32
func (*StartIndexResponse) GetNumDocs ¶
func (x *StartIndexResponse) GetNumDocs() int32
func (*StartIndexResponse) GetSegments ¶
func (x *StartIndexResponse) GetSegments() string
func (*StartIndexResponse) GetStartTimeMS ¶
func (x *StartIndexResponse) GetStartTimeMS() float64
func (*StartIndexResponse) ProtoMessage ¶
func (*StartIndexResponse) ProtoMessage()
func (*StartIndexResponse) ProtoReflect ¶
func (x *StartIndexResponse) ProtoReflect() protoreflect.Message
func (*StartIndexResponse) Reset ¶
func (x *StartIndexResponse) Reset()
func (*StartIndexResponse) String ¶
func (x *StartIndexResponse) String() string
type StateRequest ¶
type StateRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name // contains filtered or unexported fields }
func (*StateRequest) Descriptor
deprecated
func (*StateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.
func (*StateRequest) GetIndexName ¶
func (x *StateRequest) GetIndexName() string
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) ProtoReflect ¶
func (x *StateRequest) ProtoReflect() protoreflect.Message
func (*StateRequest) Reset ¶
func (x *StateRequest) Reset()
func (*StateRequest) String ¶
func (x *StateRequest) String() string
type StateResponse ¶
type StateResponse struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` //json string of the current index state // contains filtered or unexported fields }
func (*StateResponse) Descriptor
deprecated
func (*StateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateResponse.ProtoReflect.Descriptor instead.
func (*StateResponse) GetResponse ¶
func (x *StateResponse) GetResponse() string
func (*StateResponse) ProtoMessage ¶
func (*StateResponse) ProtoMessage()
func (*StateResponse) ProtoReflect ¶
func (x *StateResponse) ProtoReflect() protoreflect.Message
func (*StateResponse) Reset ¶
func (x *StateResponse) Reset()
func (*StateResponse) String ¶
func (x *StateResponse) String() string
type StatsRequest ¶
type StatsRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //retrieve stats of the index // contains filtered or unexported fields }
func (*StatsRequest) Descriptor
deprecated
func (*StatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
func (*StatsRequest) GetIndexName ¶
func (x *StatsRequest) GetIndexName() string
func (*StatsRequest) ProtoMessage ¶
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) ProtoReflect ¶
func (x *StatsRequest) ProtoReflect() protoreflect.Message
func (*StatsRequest) Reset ¶
func (x *StatsRequest) Reset()
func (*StatsRequest) String ¶
func (x *StatsRequest) String() string
type StatsResponse ¶
type StatsResponse struct { Ord int32 `protobuf:"varint,1,opt,name=ord,proto3" json:"ord,omitempty"` //shard ordinal // The total number of docs in this index, including docs not yet flushed (still in the RAM buffer), //not counting deletions. MaxDoc int32 `protobuf:"varint,2,opt,name=maxDoc,proto3" json:"maxDoc,omitempty"` //* // The total number of docs in this index, including // docs not yet flushed (still in the RAM buffer), and // including deletions. NOTE: buffered deletions // are not counted. If you really need these to be // counted you should call {@link IndexWriter#commit()} first. NumDocs int32 `protobuf:"varint,3,opt,name=numDocs,proto3" json:"numDocs,omitempty"` DirSize int64 `protobuf:"varint,4,opt,name=dirSize,proto3" json:"dirSize,omitempty"` //size of the this indexDir State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` //state of the index Taxonomy *Taxonomy `protobuf:"bytes,6,opt,name=taxonomy,proto3" json:"taxonomy,omitempty"` //Taxonomy(facets) stats Searchers []*Searcher `protobuf:"bytes,7,rep,name=searchers,proto3" json:"searchers,omitempty"` //Searcher stats CurrentSearcher *Searcher `protobuf:"bytes,8,opt,name=currentSearcher,proto3" json:"currentSearcher,omitempty"` //Current Searcher stats // contains filtered or unexported fields }
func (*StatsResponse) Descriptor
deprecated
func (*StatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
func (*StatsResponse) GetCurrentSearcher ¶
func (x *StatsResponse) GetCurrentSearcher() *Searcher
func (*StatsResponse) GetDirSize ¶
func (x *StatsResponse) GetDirSize() int64
func (*StatsResponse) GetMaxDoc ¶
func (x *StatsResponse) GetMaxDoc() int32
func (*StatsResponse) GetNumDocs ¶
func (x *StatsResponse) GetNumDocs() int32
func (*StatsResponse) GetOrd ¶
func (x *StatsResponse) GetOrd() int32
func (*StatsResponse) GetSearchers ¶
func (x *StatsResponse) GetSearchers() []*Searcher
func (*StatsResponse) GetState ¶
func (x *StatsResponse) GetState() string
func (*StatsResponse) GetTaxonomy ¶
func (x *StatsResponse) GetTaxonomy() *Taxonomy
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) ProtoReflect ¶
func (x *StatsResponse) ProtoReflect() protoreflect.Message
func (*StatsResponse) Reset ¶
func (x *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (x *StatsResponse) String() string
type StopIndexRequest ¶
type StopIndexRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //index name to stop // contains filtered or unexported fields }
func (*StopIndexRequest) Descriptor
deprecated
func (*StopIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopIndexRequest.ProtoReflect.Descriptor instead.
func (*StopIndexRequest) GetIndexName ¶
func (x *StopIndexRequest) GetIndexName() string
func (*StopIndexRequest) ProtoMessage ¶
func (*StopIndexRequest) ProtoMessage()
func (*StopIndexRequest) ProtoReflect ¶
func (x *StopIndexRequest) ProtoReflect() protoreflect.Message
func (*StopIndexRequest) Reset ¶
func (x *StopIndexRequest) Reset()
func (*StopIndexRequest) String ¶
func (x *StopIndexRequest) String() string
type SuggestLocalSource ¶
type SuggestLocalSource struct { // Local file (to the server) to read suggestions + weights from; format is weight U+001F suggestion U+001F payload, //one per line, with suggestion UTF-8 encoded. If this option is used then searcher, suggestField, //weightField/Expression, payloadField should not be specified. LocalFile string `protobuf:"bytes,1,opt,name=localFile,proto3" json:"localFile,omitempty"` HasContexts bool `protobuf:"varint,2,opt,name=hasContexts,proto3" json:"hasContexts,omitempty"` //True if this file provides per-suggestion contexts HasPayload bool `protobuf:"varint,3,opt,name=hasPayload,proto3" json:"hasPayload,omitempty"` //True if this file provides per-suggestion payload HasMultiSearchText bool `protobuf:"varint,4,opt,name=hasMultiSearchText,proto3" json:"hasMultiSearchText,omitempty"` //True if this file is required to parsed by SuggestInputIterator // contains filtered or unexported fields }
func (*SuggestLocalSource) Descriptor
deprecated
func (*SuggestLocalSource) Descriptor() ([]byte, []int)
Deprecated: Use SuggestLocalSource.ProtoReflect.Descriptor instead.
func (*SuggestLocalSource) GetHasContexts ¶
func (x *SuggestLocalSource) GetHasContexts() bool
func (*SuggestLocalSource) GetHasMultiSearchText ¶
func (x *SuggestLocalSource) GetHasMultiSearchText() bool
func (*SuggestLocalSource) GetHasPayload ¶
func (x *SuggestLocalSource) GetHasPayload() bool
func (*SuggestLocalSource) GetLocalFile ¶
func (x *SuggestLocalSource) GetLocalFile() string
func (*SuggestLocalSource) ProtoMessage ¶
func (*SuggestLocalSource) ProtoMessage()
func (*SuggestLocalSource) ProtoReflect ¶
func (x *SuggestLocalSource) ProtoReflect() protoreflect.Message
func (*SuggestLocalSource) Reset ¶
func (x *SuggestLocalSource) Reset()
func (*SuggestLocalSource) String ¶
func (x *SuggestLocalSource) String() string
type SuggestLookupHighlight ¶
type SuggestLookupHighlight struct { OneHighlight []*OneHighlight `protobuf:"bytes,1,rep,name=oneHighlight,proto3" json:"oneHighlight,omitempty"` // contains filtered or unexported fields }
func (*SuggestLookupHighlight) Descriptor
deprecated
func (*SuggestLookupHighlight) Descriptor() ([]byte, []int)
Deprecated: Use SuggestLookupHighlight.ProtoReflect.Descriptor instead.
func (*SuggestLookupHighlight) GetOneHighlight ¶
func (x *SuggestLookupHighlight) GetOneHighlight() []*OneHighlight
func (*SuggestLookupHighlight) ProtoMessage ¶
func (*SuggestLookupHighlight) ProtoMessage()
func (*SuggestLookupHighlight) ProtoReflect ¶
func (x *SuggestLookupHighlight) ProtoReflect() protoreflect.Message
func (*SuggestLookupHighlight) Reset ¶
func (x *SuggestLookupHighlight) Reset()
func (*SuggestLookupHighlight) String ¶
func (x *SuggestLookupHighlight) String() string
type SuggestLookupRequest ¶
type SuggestLookupRequest struct { IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` //Index name SuggestName string `protobuf:"bytes,2,opt,name=suggestName,proto3" json:"suggestName,omitempty"` //Which suggester to use Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` //Text to suggest from Highlight bool `protobuf:"varint,4,opt,name=highlight,proto3" json:"highlight,omitempty"` //True if the suggestions should be highlighted (currently only works with AnalyzingInfixSuggester) AllTermsRequired bool `protobuf:"varint,5,opt,name=allTermsRequired,proto3" json:"allTermsRequired,omitempty"` //If true then all terms must be found (this only applies to InfixSuggester currently) Contexts []string `protobuf:"bytes,6,rep,name=contexts,proto3" json:"contexts,omitempty"` //Which contexts to filter by Count int32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"` //How many suggestions to return, default = 5 // contains filtered or unexported fields }
func (*SuggestLookupRequest) Descriptor
deprecated
func (*SuggestLookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestLookupRequest.ProtoReflect.Descriptor instead.
func (*SuggestLookupRequest) GetAllTermsRequired ¶
func (x *SuggestLookupRequest) GetAllTermsRequired() bool
func (*SuggestLookupRequest) GetContexts ¶
func (x *SuggestLookupRequest) GetContexts() []string
func (*SuggestLookupRequest) GetCount ¶
func (x *SuggestLookupRequest) GetCount() int32
func (*SuggestLookupRequest) GetHighlight ¶
func (x *SuggestLookupRequest) GetHighlight() bool
func (*SuggestLookupRequest) GetIndexName ¶
func (x *SuggestLookupRequest) GetIndexName() string
func (*SuggestLookupRequest) GetSuggestName ¶
func (x *SuggestLookupRequest) GetSuggestName() string
func (*SuggestLookupRequest) GetText ¶
func (x *SuggestLookupRequest) GetText() string
func (*SuggestLookupRequest) ProtoMessage ¶
func (*SuggestLookupRequest) ProtoMessage()
func (*SuggestLookupRequest) ProtoReflect ¶
func (x *SuggestLookupRequest) ProtoReflect() protoreflect.Message
func (*SuggestLookupRequest) Reset ¶
func (x *SuggestLookupRequest) Reset()
func (*SuggestLookupRequest) String ¶
func (x *SuggestLookupRequest) String() string
type SuggestLookupResponse ¶
type SuggestLookupResponse struct { Results []*OneSuggestLookupResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` //SuggestLookup results as an array // contains filtered or unexported fields }
func (*SuggestLookupResponse) Descriptor
deprecated
func (*SuggestLookupResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestLookupResponse.ProtoReflect.Descriptor instead.
func (*SuggestLookupResponse) GetResults ¶
func (x *SuggestLookupResponse) GetResults() []*OneSuggestLookupResponse
func (*SuggestLookupResponse) ProtoMessage ¶
func (*SuggestLookupResponse) ProtoMessage()
func (*SuggestLookupResponse) ProtoReflect ¶
func (x *SuggestLookupResponse) ProtoReflect() protoreflect.Message
func (*SuggestLookupResponse) Reset ¶
func (x *SuggestLookupResponse) Reset()
func (*SuggestLookupResponse) String ¶
func (x *SuggestLookupResponse) String() string
type SuggestNonLocalSource ¶
type SuggestNonLocalSource struct { // Specific searcher version to use for pull suggestions to build. There are three different ways to specify a searcher version. // Types that are assignable to Searcher: // *SuggestNonLocalSource_IndexGen // *SuggestNonLocalSource_Version // *SuggestNonLocalSource_Snapshot Searcher isSuggestNonLocalSource_Searcher `protobuf_oneof:"Searcher"` SuggestField string `protobuf:"bytes,4,opt,name=suggestField,proto3" json:"suggestField,omitempty"` //Field (from stored documents) containing the suggestion text // Types that are assignable to Weight: // *SuggestNonLocalSource_WeightField // *SuggestNonLocalSource_WeightExpression Weight isSuggestNonLocalSource_Weight `protobuf_oneof:"Weight"` PayloadField string `protobuf:"bytes,7,opt,name=payloadField,proto3" json:"payloadField,omitempty"` //Optional binary or string field (from stored documents) containing the payload ContextField string `protobuf:"bytes,8,opt,name=contextField,proto3" json:"contextField,omitempty"` //Numeric field (from stored documents) containing the context which can be later filtered on during lookup SearchTextField string `protobuf:"bytes,9,opt,name=searchTextField,proto3" json:"searchTextField,omitempty"` //Binary or string field (from stored documents) containing the multiple search texts // contains filtered or unexported fields }
func (*SuggestNonLocalSource) Descriptor
deprecated
func (*SuggestNonLocalSource) Descriptor() ([]byte, []int)
Deprecated: Use SuggestNonLocalSource.ProtoReflect.Descriptor instead.
func (*SuggestNonLocalSource) GetContextField ¶
func (x *SuggestNonLocalSource) GetContextField() string
func (*SuggestNonLocalSource) GetIndexGen ¶
func (x *SuggestNonLocalSource) GetIndexGen() int64
func (*SuggestNonLocalSource) GetPayloadField ¶
func (x *SuggestNonLocalSource) GetPayloadField() string
func (*SuggestNonLocalSource) GetSearchTextField ¶
func (x *SuggestNonLocalSource) GetSearchTextField() string
func (*SuggestNonLocalSource) GetSearcher ¶
func (m *SuggestNonLocalSource) GetSearcher() isSuggestNonLocalSource_Searcher
func (*SuggestNonLocalSource) GetSnapshot ¶
func (x *SuggestNonLocalSource) GetSnapshot() string
func (*SuggestNonLocalSource) GetSuggestField ¶
func (x *SuggestNonLocalSource) GetSuggestField() string
func (*SuggestNonLocalSource) GetVersion ¶
func (x *SuggestNonLocalSource) GetVersion() int64
func (*SuggestNonLocalSource) GetWeight ¶
func (m *SuggestNonLocalSource) GetWeight() isSuggestNonLocalSource_Weight
func (*SuggestNonLocalSource) GetWeightExpression ¶
func (x *SuggestNonLocalSource) GetWeightExpression() string
func (*SuggestNonLocalSource) GetWeightField ¶
func (x *SuggestNonLocalSource) GetWeightField() string
func (*SuggestNonLocalSource) ProtoMessage ¶
func (*SuggestNonLocalSource) ProtoMessage()
func (*SuggestNonLocalSource) ProtoReflect ¶
func (x *SuggestNonLocalSource) ProtoReflect() protoreflect.Message
func (*SuggestNonLocalSource) Reset ¶
func (x *SuggestNonLocalSource) Reset()
func (*SuggestNonLocalSource) String ¶
func (x *SuggestNonLocalSource) String() string
type SuggestNonLocalSource_IndexGen ¶
type SuggestNonLocalSource_IndexGen struct {
IndexGen int64 `protobuf:"varint,1,opt,name=indexGen,proto3,oneof"` //Search a generation previously returned by an indexing operation such as #addDocument. Use this to search a non-committed (near-real-time) view of the index.
}
type SuggestNonLocalSource_Snapshot ¶
type SuggestNonLocalSource_Snapshot struct {
Snapshot string `protobuf:"bytes,3,opt,name=snapshot,proto3,oneof"` //Search a snapshot previously created with #createSnapshot
}
type SuggestNonLocalSource_Version ¶
type SuggestNonLocalSource_Version struct {
Version int64 `protobuf:"varint,2,opt,name=version,proto3,oneof"` //Search a specific searcher version. This is typically used by follow-on searches (e.g., user clicks next page, drills down, or changes sort, etc.) to get the same searcher used by the original search.
}
type SuggestNonLocalSource_WeightExpression ¶
type SuggestNonLocalSource_WeightExpression struct {
WeightExpression string `protobuf:"bytes,6,opt,name=weightExpression,proto3,oneof"` //Alternative to weightField, an expression that's evaluated to the weight. Note that any fields referenced in the expression must have been indexed with sort=true
}
type SuggestNonLocalSource_WeightField ¶
type SuggestNonLocalSource_WeightField struct {
WeightField string `protobuf:"bytes,5,opt,name=weightField,proto3,oneof"` //Numeric field (from stored documents) containing the weight
}
type Taxonomy ¶
type Taxonomy struct { NumOrds int32 `protobuf:"varint,1,opt,name=numOrds,proto3" json:"numOrds,omitempty"` //number of docs in this taxonomy reader Segments string `protobuf:"bytes,2,opt,name=segments,proto3" json:"segments,omitempty"` //string representation of segments // contains filtered or unexported fields }
func (*Taxonomy) Descriptor
deprecated
func (*Taxonomy) GetNumOrds ¶
func (*Taxonomy) GetSegments ¶
func (*Taxonomy) ProtoMessage ¶
func (*Taxonomy) ProtoMessage()
func (*Taxonomy) ProtoReflect ¶
func (x *Taxonomy) ProtoReflect() protoreflect.Message
type TermInSetQuery ¶
type TermInSetQuery struct { // Field in the document to query. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Types that are assignable to TermTypes: // *TermInSetQuery_TextTerms_ // *TermInSetQuery_IntTerms_ // *TermInSetQuery_LongTerms_ // *TermInSetQuery_FloatTerms_ // *TermInSetQuery_DoubleTerms_ TermTypes isTermInSetQuery_TermTypes `protobuf_oneof:"TermTypes"` // contains filtered or unexported fields }
Specialization for a disjunction over many terms that behaves like a ConstantScoreQuery over a BooleanQuery containing only BooleanClause.Occur.SHOULD clauses. Only ONE of the types of terms needs to be provided - the one that matches the type of the field.
func (*TermInSetQuery) Descriptor
deprecated
func (*TermInSetQuery) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery.ProtoReflect.Descriptor instead.
func (*TermInSetQuery) GetDoubleTerms ¶
func (x *TermInSetQuery) GetDoubleTerms() *TermInSetQuery_DoubleTerms
func (*TermInSetQuery) GetField ¶
func (x *TermInSetQuery) GetField() string
func (*TermInSetQuery) GetFloatTerms ¶
func (x *TermInSetQuery) GetFloatTerms() *TermInSetQuery_FloatTerms
func (*TermInSetQuery) GetIntTerms ¶
func (x *TermInSetQuery) GetIntTerms() *TermInSetQuery_IntTerms
func (*TermInSetQuery) GetLongTerms ¶
func (x *TermInSetQuery) GetLongTerms() *TermInSetQuery_LongTerms
func (*TermInSetQuery) GetTermTypes ¶
func (m *TermInSetQuery) GetTermTypes() isTermInSetQuery_TermTypes
func (*TermInSetQuery) GetTextTerms ¶
func (x *TermInSetQuery) GetTextTerms() *TermInSetQuery_TextTerms
func (*TermInSetQuery) ProtoMessage ¶
func (*TermInSetQuery) ProtoMessage()
func (*TermInSetQuery) ProtoReflect ¶
func (x *TermInSetQuery) ProtoReflect() protoreflect.Message
func (*TermInSetQuery) Reset ¶
func (x *TermInSetQuery) Reset()
func (*TermInSetQuery) String ¶
func (x *TermInSetQuery) String() string
type TermInSetQuery_DoubleTerms ¶
type TermInSetQuery_DoubleTerms struct { Terms []float64 `protobuf:"fixed64,1,rep,packed,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*TermInSetQuery_DoubleTerms) Descriptor
deprecated
func (*TermInSetQuery_DoubleTerms) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery_DoubleTerms.ProtoReflect.Descriptor instead.
func (*TermInSetQuery_DoubleTerms) GetTerms ¶
func (x *TermInSetQuery_DoubleTerms) GetTerms() []float64
func (*TermInSetQuery_DoubleTerms) ProtoMessage ¶
func (*TermInSetQuery_DoubleTerms) ProtoMessage()
func (*TermInSetQuery_DoubleTerms) ProtoReflect ¶
func (x *TermInSetQuery_DoubleTerms) ProtoReflect() protoreflect.Message
func (*TermInSetQuery_DoubleTerms) Reset ¶
func (x *TermInSetQuery_DoubleTerms) Reset()
func (*TermInSetQuery_DoubleTerms) String ¶
func (x *TermInSetQuery_DoubleTerms) String() string
type TermInSetQuery_DoubleTerms_ ¶
type TermInSetQuery_DoubleTerms_ struct { // Double terms to search for. DoubleTerms *TermInSetQuery_DoubleTerms `protobuf:"bytes,6,opt,name=doubleTerms,proto3,oneof"` }
type TermInSetQuery_FloatTerms ¶
type TermInSetQuery_FloatTerms struct { Terms []float32 `protobuf:"fixed32,1,rep,packed,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*TermInSetQuery_FloatTerms) Descriptor
deprecated
func (*TermInSetQuery_FloatTerms) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery_FloatTerms.ProtoReflect.Descriptor instead.
func (*TermInSetQuery_FloatTerms) GetTerms ¶
func (x *TermInSetQuery_FloatTerms) GetTerms() []float32
func (*TermInSetQuery_FloatTerms) ProtoMessage ¶
func (*TermInSetQuery_FloatTerms) ProtoMessage()
func (*TermInSetQuery_FloatTerms) ProtoReflect ¶
func (x *TermInSetQuery_FloatTerms) ProtoReflect() protoreflect.Message
func (*TermInSetQuery_FloatTerms) Reset ¶
func (x *TermInSetQuery_FloatTerms) Reset()
func (*TermInSetQuery_FloatTerms) String ¶
func (x *TermInSetQuery_FloatTerms) String() string
type TermInSetQuery_FloatTerms_ ¶
type TermInSetQuery_FloatTerms_ struct { // Float terms to search for. FloatTerms *TermInSetQuery_FloatTerms `protobuf:"bytes,5,opt,name=floatTerms,proto3,oneof"` }
type TermInSetQuery_IntTerms ¶
type TermInSetQuery_IntTerms struct { Terms []int32 `protobuf:"varint,1,rep,packed,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*TermInSetQuery_IntTerms) Descriptor
deprecated
func (*TermInSetQuery_IntTerms) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery_IntTerms.ProtoReflect.Descriptor instead.
func (*TermInSetQuery_IntTerms) GetTerms ¶
func (x *TermInSetQuery_IntTerms) GetTerms() []int32
func (*TermInSetQuery_IntTerms) ProtoMessage ¶
func (*TermInSetQuery_IntTerms) ProtoMessage()
func (*TermInSetQuery_IntTerms) ProtoReflect ¶
func (x *TermInSetQuery_IntTerms) ProtoReflect() protoreflect.Message
func (*TermInSetQuery_IntTerms) Reset ¶
func (x *TermInSetQuery_IntTerms) Reset()
func (*TermInSetQuery_IntTerms) String ¶
func (x *TermInSetQuery_IntTerms) String() string
type TermInSetQuery_IntTerms_ ¶
type TermInSetQuery_IntTerms_ struct { // Int terms to search for. IntTerms *TermInSetQuery_IntTerms `protobuf:"bytes,3,opt,name=intTerms,proto3,oneof"` }
type TermInSetQuery_LongTerms ¶
type TermInSetQuery_LongTerms struct { Terms []int64 `protobuf:"varint,1,rep,packed,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*TermInSetQuery_LongTerms) Descriptor
deprecated
func (*TermInSetQuery_LongTerms) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery_LongTerms.ProtoReflect.Descriptor instead.
func (*TermInSetQuery_LongTerms) GetTerms ¶
func (x *TermInSetQuery_LongTerms) GetTerms() []int64
func (*TermInSetQuery_LongTerms) ProtoMessage ¶
func (*TermInSetQuery_LongTerms) ProtoMessage()
func (*TermInSetQuery_LongTerms) ProtoReflect ¶
func (x *TermInSetQuery_LongTerms) ProtoReflect() protoreflect.Message
func (*TermInSetQuery_LongTerms) Reset ¶
func (x *TermInSetQuery_LongTerms) Reset()
func (*TermInSetQuery_LongTerms) String ¶
func (x *TermInSetQuery_LongTerms) String() string
type TermInSetQuery_LongTerms_ ¶
type TermInSetQuery_LongTerms_ struct { // Long terms to search for. LongTerms *TermInSetQuery_LongTerms `protobuf:"bytes,4,opt,name=longTerms,proto3,oneof"` }
type TermInSetQuery_TextTerms ¶
type TermInSetQuery_TextTerms struct { Terms []string `protobuf:"bytes,1,rep,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func (*TermInSetQuery_TextTerms) Descriptor
deprecated
func (*TermInSetQuery_TextTerms) Descriptor() ([]byte, []int)
Deprecated: Use TermInSetQuery_TextTerms.ProtoReflect.Descriptor instead.
func (*TermInSetQuery_TextTerms) GetTerms ¶
func (x *TermInSetQuery_TextTerms) GetTerms() []string
func (*TermInSetQuery_TextTerms) ProtoMessage ¶
func (*TermInSetQuery_TextTerms) ProtoMessage()
func (*TermInSetQuery_TextTerms) ProtoReflect ¶
func (x *TermInSetQuery_TextTerms) ProtoReflect() protoreflect.Message
func (*TermInSetQuery_TextTerms) Reset ¶
func (x *TermInSetQuery_TextTerms) Reset()
func (*TermInSetQuery_TextTerms) String ¶
func (x *TermInSetQuery_TextTerms) String() string
type TermInSetQuery_TextTerms_ ¶
type TermInSetQuery_TextTerms_ struct { // Text terms to search for. TextTerms *TermInSetQuery_TextTerms `protobuf:"bytes,2,opt,name=textTerms,proto3,oneof"` }
type TermQuery ¶
type TermQuery struct { // Field in the document to query. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Types that are assignable to TermTypes: // *TermQuery_TextValue // *TermQuery_IntValue // *TermQuery_LongValue // *TermQuery_FloatValue // *TermQuery_DoubleValue // *TermQuery_BooleanValue TermTypes isTermQuery_TermTypes `protobuf_oneof:"TermTypes"` // contains filtered or unexported fields }
A query that matches documents containing a term.
func (*TermQuery) Descriptor
deprecated
func (*TermQuery) GetBooleanValue ¶
func (*TermQuery) GetDoubleValue ¶
func (*TermQuery) GetFloatValue ¶
func (*TermQuery) GetIntValue ¶
func (*TermQuery) GetLongValue ¶
func (*TermQuery) GetTermTypes ¶
func (m *TermQuery) GetTermTypes() isTermQuery_TermTypes
func (*TermQuery) GetTextValue ¶
func (*TermQuery) ProtoMessage ¶
func (*TermQuery) ProtoMessage()
func (*TermQuery) ProtoReflect ¶
func (x *TermQuery) ProtoReflect() protoreflect.Message
type TermQuery_BooleanValue ¶
type TermQuery_BooleanValue struct { // BOOLEAN FieldType term to search for. BooleanValue bool `protobuf:"varint,7,opt,name=booleanValue,proto3,oneof"` }
type TermQuery_DoubleValue ¶
type TermQuery_DoubleValue struct { // DOUBLE FieldType term to search for. DoubleValue float64 `protobuf:"fixed64,6,opt,name=doubleValue,proto3,oneof"` }
type TermQuery_FloatValue ¶
type TermQuery_FloatValue struct { // FLOAT FieldType term to search for. FloatValue float32 `protobuf:"fixed32,5,opt,name=floatValue,proto3,oneof"` }
type TermQuery_IntValue ¶
type TermQuery_IntValue struct { // INT FieldType term to search for. IntValue int32 `protobuf:"varint,3,opt,name=intValue,proto3,oneof"` }
type TermQuery_LongValue ¶
type TermQuery_LongValue struct { // LONG FieldType term to search for. LongValue int64 `protobuf:"varint,4,opt,name=longValue,proto3,oneof"` }
type TermQuery_TextValue ¶
type TermQuery_TextValue struct { // TEXT FieldType term to search for. TextValue string `protobuf:"bytes,2,opt,name=textValue,proto3,oneof"` }
type TermVectors ¶
type TermVectors int32
Whether/how term vectors should be indexed.
const ( TermVectors_NO_TERMVECTORS TermVectors = 0 // no term vectors are indexed TermVectors_TERMS TermVectors = 1 // Index terms and freqs only. TermVectors_TERMS_POSITIONS TermVectors = 2 // Index terms, freqs and positions. TermVectors_TERMS_POSITIONS_OFFSETS TermVectors = 3 // Index terms, freqs, positions and offsets. TermVectors_TERMS_POSITIONS_OFFSETS_PAYLOADS TermVectors = 4 // Index terms, freqs, positions, offsets and payloads )
func (TermVectors) Descriptor ¶
func (TermVectors) Descriptor() protoreflect.EnumDescriptor
func (TermVectors) Enum ¶
func (x TermVectors) Enum() *TermVectors
func (TermVectors) EnumDescriptor
deprecated
func (TermVectors) EnumDescriptor() ([]byte, []int)
Deprecated: Use TermVectors.Descriptor instead.
func (TermVectors) Number ¶
func (x TermVectors) Number() protoreflect.EnumNumber
func (TermVectors) String ¶
func (x TermVectors) String() string
func (TermVectors) Type ¶
func (TermVectors) Type() protoreflect.EnumType
type TermsCollector ¶
type TermsCollector struct { // Types that are assignable to TermsSource: // *TermsCollector_Field // *TermsCollector_Script TermsSource isTermsCollector_TermsSource `protobuf_oneof:"TermsSource"` //Maximum number of top terms to return. Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
Definition of term aggregating collector.
func (*TermsCollector) Descriptor
deprecated
func (*TermsCollector) Descriptor() ([]byte, []int)
Deprecated: Use TermsCollector.ProtoReflect.Descriptor instead.
func (*TermsCollector) GetField ¶
func (x *TermsCollector) GetField() string
func (*TermsCollector) GetScript ¶
func (x *TermsCollector) GetScript() *Script
func (*TermsCollector) GetSize ¶
func (x *TermsCollector) GetSize() int32
func (*TermsCollector) GetTermsSource ¶
func (m *TermsCollector) GetTermsSource() isTermsCollector_TermsSource
func (*TermsCollector) ProtoMessage ¶
func (*TermsCollector) ProtoMessage()
func (*TermsCollector) ProtoReflect ¶
func (x *TermsCollector) ProtoReflect() protoreflect.Message
func (*TermsCollector) Reset ¶
func (x *TermsCollector) Reset()
func (*TermsCollector) String ¶
func (x *TermsCollector) String() string
type TermsCollector_Field ¶
type TermsCollector_Field struct { // Placeholder: TODO implement Field string `protobuf:"bytes,1,opt,name=field,proto3,oneof"` }
type TermsCollector_Script ¶
type TermsCollector_Script struct { //Use FacetScript definition to produce terms. Script *Script `protobuf:"bytes,2,opt,name=script,proto3,oneof"` }
type TotalHits ¶
type TotalHits struct { Relation TotalHits_Relation `protobuf:"varint,1,opt,name=relation,proto3,enum=luceneserver.TotalHits_Relation" json:"relation,omitempty"` //* The value of the total hit count. Must be interpreted in the context of * {#relation}. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*TotalHits) Descriptor
deprecated
func (*TotalHits) GetRelation ¶
func (x *TotalHits) GetRelation() TotalHits_Relation
func (*TotalHits) ProtoMessage ¶
func (*TotalHits) ProtoMessage()
func (*TotalHits) ProtoReflect ¶
func (x *TotalHits) ProtoReflect() protoreflect.Message
type TotalHits_Relation ¶
type TotalHits_Relation int32
* How the {TotalHits#value} should be interpreted.
const ( // The total hit count is equal to {@link TotalHits#value}. TotalHits_EQUAL_TO TotalHits_Relation = 0 // The total hit count is greater than or equal to {@link TotalHits#value}. TotalHits_GREATER_THAN_OR_EQUAL_TO TotalHits_Relation = 1 )
func (TotalHits_Relation) Descriptor ¶
func (TotalHits_Relation) Descriptor() protoreflect.EnumDescriptor
func (TotalHits_Relation) Enum ¶
func (x TotalHits_Relation) Enum() *TotalHits_Relation
func (TotalHits_Relation) EnumDescriptor
deprecated
func (TotalHits_Relation) EnumDescriptor() ([]byte, []int)
Deprecated: Use TotalHits_Relation.Descriptor instead.
func (TotalHits_Relation) Number ¶
func (x TotalHits_Relation) Number() protoreflect.EnumNumber
func (TotalHits_Relation) String ¶
func (x TotalHits_Relation) String() string
func (TotalHits_Relation) Type ¶
func (TotalHits_Relation) Type() protoreflect.EnumType
type TransferStatus ¶
type TransferStatus struct { Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"` Code TransferStatusCode `protobuf:"varint,2,opt,name=Code,proto3,enum=luceneserver.TransferStatusCode" json:"Code,omitempty"` // contains filtered or unexported fields }
func (*TransferStatus) Descriptor
deprecated
func (*TransferStatus) Descriptor() ([]byte, []int)
Deprecated: Use TransferStatus.ProtoReflect.Descriptor instead.
func (*TransferStatus) GetCode ¶
func (x *TransferStatus) GetCode() TransferStatusCode
func (*TransferStatus) GetMessage ¶
func (x *TransferStatus) GetMessage() string
func (*TransferStatus) ProtoMessage ¶
func (*TransferStatus) ProtoMessage()
func (*TransferStatus) ProtoReflect ¶
func (x *TransferStatus) ProtoReflect() protoreflect.Message
func (*TransferStatus) Reset ¶
func (x *TransferStatus) Reset()
func (*TransferStatus) String ¶
func (x *TransferStatus) String() string
type TransferStatusCode ¶
type TransferStatusCode int32
const ( TransferStatusCode_Unknown TransferStatusCode = 0 TransferStatusCode_Done TransferStatusCode = 1 TransferStatusCode_Failed TransferStatusCode = 2 TransferStatusCode_Ongoing TransferStatusCode = 3 )
func (TransferStatusCode) Descriptor ¶
func (TransferStatusCode) Descriptor() protoreflect.EnumDescriptor
func (TransferStatusCode) Enum ¶
func (x TransferStatusCode) Enum() *TransferStatusCode
func (TransferStatusCode) EnumDescriptor
deprecated
func (TransferStatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransferStatusCode.Descriptor instead.
func (TransferStatusCode) Number ¶
func (x TransferStatusCode) Number() protoreflect.EnumNumber
func (TransferStatusCode) String ¶
func (x TransferStatusCode) String() string
func (TransferStatusCode) Type ¶
func (TransferStatusCode) Type() protoreflect.EnumType
type UnimplementedLuceneServerServer ¶
type UnimplementedLuceneServerServer struct { }
UnimplementedLuceneServerServer can be embedded to have forward compatible implementations.
func (*UnimplementedLuceneServerServer) AddDocuments ¶
func (*UnimplementedLuceneServerServer) AddDocuments(LuceneServer_AddDocumentsServer) error
func (*UnimplementedLuceneServerServer) BackupIndex ¶
func (*UnimplementedLuceneServerServer) BackupIndex(context.Context, *BackupIndexRequest) (*BackupIndexResponse, error)
func (*UnimplementedLuceneServerServer) BackupWarmingQueries ¶
func (*UnimplementedLuceneServerServer) BackupWarmingQueries(context.Context, *BackupWarmingQueriesRequest) (*BackupWarmingQueriesResponse, error)
func (*UnimplementedLuceneServerServer) BuildSuggest ¶
func (*UnimplementedLuceneServerServer) BuildSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error)
func (*UnimplementedLuceneServerServer) Commit ¶
func (*UnimplementedLuceneServerServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error)
func (*UnimplementedLuceneServerServer) CreateIndex ¶
func (*UnimplementedLuceneServerServer) CreateIndex(context.Context, *CreateIndexRequest) (*CreateIndexResponse, error)
func (*UnimplementedLuceneServerServer) CreateSnapshot ¶
func (*UnimplementedLuceneServerServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
func (*UnimplementedLuceneServerServer) Delete ¶
func (*UnimplementedLuceneServerServer) Delete(context.Context, *AddDocumentRequest) (*AddDocumentResponse, error)
func (*UnimplementedLuceneServerServer) DeleteAll ¶
func (*UnimplementedLuceneServerServer) DeleteAll(context.Context, *DeleteAllDocumentsRequest) (*DeleteAllDocumentsResponse, error)
func (*UnimplementedLuceneServerServer) DeleteByQuery ¶
func (*UnimplementedLuceneServerServer) DeleteByQuery(context.Context, *DeleteByQueryRequest) (*AddDocumentResponse, error)
func (*UnimplementedLuceneServerServer) DeleteIndex ¶
func (*UnimplementedLuceneServerServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*DeleteIndexResponse, error)
func (*UnimplementedLuceneServerServer) DeleteIndexBackup ¶
func (*UnimplementedLuceneServerServer) DeleteIndexBackup(context.Context, *DeleteIndexBackupRequest) (*DeleteIndexBackupResponse, error)
func (*UnimplementedLuceneServerServer) ForceMerge ¶
func (*UnimplementedLuceneServerServer) ForceMerge(context.Context, *ForceMergeRequest) (*ForceMergeResponse, error)
func (*UnimplementedLuceneServerServer) ForceMergeDeletes ¶
func (*UnimplementedLuceneServerServer) ForceMergeDeletes(context.Context, *ForceMergeDeletesRequest) (*ForceMergeDeletesResponse, error)
func (*UnimplementedLuceneServerServer) GetAllSnapshotIndexGen ¶
func (*UnimplementedLuceneServerServer) GetAllSnapshotIndexGen(context.Context, *GetAllSnapshotGenRequest) (*GetAllSnapshotGenResponse, error)
func (*UnimplementedLuceneServerServer) Indices ¶
func (*UnimplementedLuceneServerServer) Indices(context.Context, *IndicesRequest) (*IndicesResponse, error)
func (*UnimplementedLuceneServerServer) LiveSettings ¶
func (*UnimplementedLuceneServerServer) LiveSettings(context.Context, *LiveSettingsRequest) (*LiveSettingsResponse, error)
func (*UnimplementedLuceneServerServer) Ready ¶
func (*UnimplementedLuceneServerServer) Ready(context.Context, *ReadyCheckRequest) (*HealthCheckResponse, error)
func (*UnimplementedLuceneServerServer) Refresh ¶
func (*UnimplementedLuceneServerServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
func (*UnimplementedLuceneServerServer) RegisterFields ¶
func (*UnimplementedLuceneServerServer) RegisterFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error)
func (*UnimplementedLuceneServerServer) ReleaseSnapshot ¶
func (*UnimplementedLuceneServerServer) ReleaseSnapshot(context.Context, *ReleaseSnapshotRequest) (*ReleaseSnapshotResponse, error)
func (*UnimplementedLuceneServerServer) Search ¶
func (*UnimplementedLuceneServerServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
func (*UnimplementedLuceneServerServer) SearchV2 ¶
func (*UnimplementedLuceneServerServer) SearchV2(context.Context, *SearchRequest) (*any.Any, error)
func (*UnimplementedLuceneServerServer) Settings ¶
func (*UnimplementedLuceneServerServer) Settings(context.Context, *SettingsRequest) (*SettingsResponse, error)
func (*UnimplementedLuceneServerServer) StartIndex ¶
func (*UnimplementedLuceneServerServer) StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error)
func (*UnimplementedLuceneServerServer) State ¶
func (*UnimplementedLuceneServerServer) State(context.Context, *StateRequest) (*StateResponse, error)
func (*UnimplementedLuceneServerServer) Stats ¶
func (*UnimplementedLuceneServerServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error)
func (*UnimplementedLuceneServerServer) Status ¶
func (*UnimplementedLuceneServerServer) Status(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (*UnimplementedLuceneServerServer) StopIndex ¶
func (*UnimplementedLuceneServerServer) StopIndex(context.Context, *StopIndexRequest) (*DummyResponse, error)
func (*UnimplementedLuceneServerServer) SuggestLookup ¶
func (*UnimplementedLuceneServerServer) SuggestLookup(context.Context, *SuggestLookupRequest) (*SuggestLookupResponse, error)
func (*UnimplementedLuceneServerServer) UpdateFields ¶
func (*UnimplementedLuceneServerServer) UpdateFields(context.Context, *FieldDefRequest) (*FieldDefResponse, error)
func (*UnimplementedLuceneServerServer) UpdateSuggest ¶
func (*UnimplementedLuceneServerServer) UpdateSuggest(context.Context, *BuildSuggestRequest) (*BuildSuggestResponse, error)
type UnimplementedReplicationServerServer ¶
type UnimplementedReplicationServerServer struct { }
UnimplementedReplicationServerServer can be embedded to have forward compatible implementations.
func (*UnimplementedReplicationServerServer) AddReplicas ¶
func (*UnimplementedReplicationServerServer) AddReplicas(context.Context, *AddReplicaRequest) (*AddReplicaResponse, error)
func (*UnimplementedReplicationServerServer) CopyFiles ¶
func (*UnimplementedReplicationServerServer) CopyFiles(*CopyFiles, ReplicationServer_CopyFilesServer) error
func (*UnimplementedReplicationServerServer) GetConnectedNodes ¶
func (*UnimplementedReplicationServerServer) GetConnectedNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
func (*UnimplementedReplicationServerServer) GetCurrentSearcherVersion ¶
func (*UnimplementedReplicationServerServer) GetCurrentSearcherVersion(context.Context, *IndexName) (*SearcherVersion, error)
func (*UnimplementedReplicationServerServer) NewNRTPoint ¶
func (*UnimplementedReplicationServerServer) NewNRTPoint(context.Context, *NewNRTPoint) (*TransferStatus, error)
func (*UnimplementedReplicationServerServer) RecvCopyState ¶
func (*UnimplementedReplicationServerServer) RecvCopyState(context.Context, *CopyStateRequest) (*CopyState, error)
func (*UnimplementedReplicationServerServer) RecvRawFile ¶
func (*UnimplementedReplicationServerServer) RecvRawFile(*FileInfo, ReplicationServer_RecvRawFileServer) error
func (*UnimplementedReplicationServerServer) RecvRawFileV2 ¶
func (*UnimplementedReplicationServerServer) RecvRawFileV2(ReplicationServer_RecvRawFileV2Server) error
func (*UnimplementedReplicationServerServer) SendRawFile ¶
func (*UnimplementedReplicationServerServer) SendRawFile(ReplicationServer_SendRawFileServer) error
func (*UnimplementedReplicationServerServer) WriteNRTPoint ¶
func (*UnimplementedReplicationServerServer) WriteNRTPoint(context.Context, *IndexName) (*SearcherVersion, error)
type VirtualField ¶
type VirtualField struct { Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` // Script defining this field's values. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Virtual field's name. Must be different from registered fields and any other virtual fields. // contains filtered or unexported fields }
Virtual field used during search
func (*VirtualField) Descriptor
deprecated
func (*VirtualField) Descriptor() ([]byte, []int)
Deprecated: Use VirtualField.ProtoReflect.Descriptor instead.
func (*VirtualField) GetName ¶
func (x *VirtualField) GetName() string
func (*VirtualField) GetScript ¶
func (x *VirtualField) GetScript() *Script
func (*VirtualField) ProtoMessage ¶
func (*VirtualField) ProtoMessage()
func (*VirtualField) ProtoReflect ¶
func (x *VirtualField) ProtoReflect() protoreflect.Message
func (*VirtualField) Reset ¶
func (x *VirtualField) Reset()
func (*VirtualField) String ¶
func (x *VirtualField) String() string