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) GetIndexId() 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 BucketOrder
- func (*BucketOrder) Descriptor() ([]byte, []int)deprecated
- func (x *BucketOrder) GetKey() string
- func (x *BucketOrder) GetOrder() BucketOrder_OrderType
- func (*BucketOrder) ProtoMessage()
- func (x *BucketOrder) ProtoReflect() protoreflect.Message
- func (x *BucketOrder) Reset()
- func (x *BucketOrder) String() string
- type BucketOrder_OrderType
- func (BucketOrder_OrderType) Descriptor() protoreflect.EnumDescriptor
- func (x BucketOrder_OrderType) Enum() *BucketOrder_OrderType
- func (BucketOrder_OrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BucketOrder_OrderType) Number() protoreflect.EnumNumber
- func (x BucketOrder_OrderType) String() string
- func (BucketOrder_OrderType) Type() protoreflect.EnumType
- 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 (x *BucketResult_Bucket) GetNestedCollectorResults() map[string]*CollectorResult
- 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) GetFilter() *FilterCollector
- func (x *Collector) GetMax() *MaxCollector
- func (x *Collector) GetMin() *MinCollector
- func (x *Collector) GetNestedCollectors() map[string]*Collector
- func (x *Collector) GetPluginCollector() *PluginCollector
- func (x *Collector) GetTerms() *TermsCollector
- func (x *Collector) GetTopHitsCollector() *TopHitsCollector
- 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) GetAnyResult() *anypb.Any
- func (x *CollectorResult) GetBucketResult() *BucketResult
- func (m *CollectorResult) GetCollectorResults() isCollectorResult_CollectorResults
- func (x *CollectorResult) GetDoubleResult() *wrapperspb.DoubleValue
- func (x *CollectorResult) GetFilterResult() *FilterResult
- func (x *CollectorResult) GetHitsResult() *HitsResult
- func (*CollectorResult) ProtoMessage()
- func (x *CollectorResult) ProtoReflect() protoreflect.Message
- func (x *CollectorResult) Reset()
- func (x *CollectorResult) String() string
- type CollectorResult_AnyResult
- type CollectorResult_BucketResult
- type CollectorResult_DoubleResult
- type CollectorResult_FilterResult
- type CollectorResult_HitsResult
- type Collector_Filter
- type Collector_Max
- type Collector_Min
- type Collector_PluginCollector
- type Collector_Terms
- type Collector_TopHitsCollector
- 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 CompletionQuery
- func (*CompletionQuery) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionQuery) GetContexts() []string
- func (x *CompletionQuery) GetField() string
- func (x *CompletionQuery) GetQueryType() CompletionQueryType
- func (x *CompletionQuery) GetText() string
- func (*CompletionQuery) ProtoMessage()
- func (x *CompletionQuery) ProtoReflect() protoreflect.Message
- func (x *CompletionQuery) Reset()
- func (x *CompletionQuery) String() string
- type CompletionQueryType
- func (CompletionQueryType) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionQueryType) Enum() *CompletionQueryType
- func (CompletionQueryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionQueryType) Number() protoreflect.EnumNumber
- func (x CompletionQueryType) String() string
- func (CompletionQueryType) Type() protoreflect.EnumType
- 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 ConstantScoreQuery
- func (*ConstantScoreQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ConstantScoreQuery) GetFilter() *Query
- func (*ConstantScoreQuery) ProtoMessage()
- func (x *ConstantScoreQuery) ProtoReflect() protoreflect.Message
- func (x *ConstantScoreQuery) Reset()
- func (x *ConstantScoreQuery) String() string
- type CopyFiles
- func (*CopyFiles) Descriptor() ([]byte, []int)deprecated
- func (x *CopyFiles) GetFilesMetadata() *FilesMetadata
- func (x *CopyFiles) GetIndexId() string
- 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) GetIndexId() string
- 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) GetExistsWithId() string
- func (x *CreateIndexRequest) GetFields() []*Field
- func (x *CreateIndexRequest) GetIndexName() string
- func (x *CreateIndexRequest) GetLiveSettings() *IndexLiveSettings
- func (x *CreateIndexRequest) GetSettings() *IndexSettings
- func (x *CreateIndexRequest) GetStart() bool
- 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 CustomRequest
- func (*CustomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomRequest) GetId() string
- func (x *CustomRequest) GetParams() map[string]string
- func (x *CustomRequest) GetPath() string
- func (*CustomRequest) ProtoMessage()
- func (x *CustomRequest) ProtoReflect() protoreflect.Message
- func (x *CustomRequest) Reset()
- func (x *CustomRequest) String() string
- type CustomResponse
- 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() *structpb.Struct
- func (x *Field) GetAnalyzer() *Analyzer
- func (x *Field) GetChildFields() []*Field
- func (x *Field) GetDateTimeFormat() string
- func (x *Field) GetDocValuesFormat() string
- func (x *Field) GetEagerFieldGlobalOrdinals() bool
- func (x *Field) GetEagerGlobalOrdinals() bool
- func (x *Field) GetFacet() FacetType
- func (x *Field) GetFacetIndexFieldName() string
- func (x *Field) GetGroup() bool
- func (x *Field) GetHighlight() booldeprecated
- func (x *Field) GetIgnoreAbove() int32
- 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() *structpb.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 (x *Field) GetVectorDimensions() int32
- 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) GetIndexId() string
- 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 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 FilterCollector
- func (*FilterCollector) Descriptor() ([]byte, []int)deprecated
- func (m *FilterCollector) GetFilter() isFilterCollector_Filter
- func (x *FilterCollector) GetQuery() *Query
- func (x *FilterCollector) GetSetQuery() *TermInSetQuery
- func (*FilterCollector) ProtoMessage()
- func (x *FilterCollector) ProtoReflect() protoreflect.Message
- func (x *FilterCollector) Reset()
- func (x *FilterCollector) String() string
- type FilterCollector_Query
- type FilterCollector_SetQuery
- type FilterResult
- func (*FilterResult) Descriptor() ([]byte, []int)deprecated
- func (x *FilterResult) GetDocCount() int32
- func (x *FilterResult) GetNestedCollectorResults() map[string]*CollectorResult
- func (*FilterResult) ProtoMessage()
- func (x *FilterResult) ProtoReflect() protoreflect.Message
- func (x *FilterResult) Reset()
- func (x *FilterResult) 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) GetAuto() *FuzzyParams_AutoFuzziness
- 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 FuzzyParams_AutoFuzziness
- func (*FuzzyParams_AutoFuzziness) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzyParams_AutoFuzziness) GetHigh() int32
- func (x *FuzzyParams_AutoFuzziness) GetLow() int32
- func (*FuzzyParams_AutoFuzziness) ProtoMessage()
- func (x *FuzzyParams_AutoFuzziness) ProtoReflect() protoreflect.Message
- func (x *FuzzyParams_AutoFuzziness) Reset()
- func (x *FuzzyParams_AutoFuzziness) String() string
- type FuzzyQuery
- func (*FuzzyQuery) Descriptor() ([]byte, []int)deprecated
- func (x *FuzzyQuery) GetAuto() *FuzzyParams_AutoFuzziness
- func (x *FuzzyQuery) GetField() string
- func (x *FuzzyQuery) GetMaxEdits() int32
- func (x *FuzzyQuery) GetMaxExpansions() int32
- func (x *FuzzyQuery) GetPrefixLength() int32
- func (x *FuzzyQuery) GetRewrite() RewriteMethod
- func (x *FuzzyQuery) GetRewriteTopTermsSize() int32
- func (x *FuzzyQuery) GetText() string
- func (x *FuzzyQuery) GetTranspositions() bool
- func (*FuzzyQuery) ProtoMessage()
- func (x *FuzzyQuery) ProtoReflect() protoreflect.Message
- func (x *FuzzyQuery) Reset()
- func (x *FuzzyQuery) 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 GeoPolygonQuery
- func (*GeoPolygonQuery) Descriptor() ([]byte, []int)deprecated
- func (x *GeoPolygonQuery) GetField() string
- func (x *GeoPolygonQuery) GetPolygons() []*Polygon
- func (*GeoPolygonQuery) ProtoMessage()
- func (x *GeoPolygonQuery) ProtoReflect() protoreflect.Message
- func (x *GeoPolygonQuery) Reset()
- func (x *GeoPolygonQuery) 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 GlobalStateInfo
- func (*GlobalStateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateInfo) GetGen() int64
- func (x *GlobalStateInfo) GetIndices() map[string]*IndexGlobalState
- func (*GlobalStateInfo) ProtoMessage()
- func (x *GlobalStateInfo) ProtoReflect() protoreflect.Message
- func (x *GlobalStateInfo) Reset()
- func (x *GlobalStateInfo) String() string
- 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 Highlight
- func (*Highlight) Descriptor() ([]byte, []int)deprecated
- func (x *Highlight) GetFieldSettings() map[string]*Highlight_Settings
- func (x *Highlight) GetFields() []string
- func (x *Highlight) GetSettings() *Highlight_Settings
- func (*Highlight) ProtoMessage()
- func (x *Highlight) ProtoReflect() protoreflect.Message
- func (x *Highlight) Reset()
- func (x *Highlight) String() string
- type Highlight_Settings
- func (*Highlight_Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Highlight_Settings) GetBoundaryChars() *wrapperspb.StringValue
- func (x *Highlight_Settings) GetBoundaryMaxScan() *wrapperspb.UInt32Value
- func (x *Highlight_Settings) GetBoundaryScanner() *wrapperspb.StringValue
- func (x *Highlight_Settings) GetBoundaryScannerLocale() *wrapperspb.StringValue
- func (x *Highlight_Settings) GetCustomHighlighterName() string
- func (x *Highlight_Settings) GetCustomHighlighterParams() *structpb.Struct
- func (x *Highlight_Settings) GetDiscreteMultivalue() *wrapperspb.BoolValue
- func (x *Highlight_Settings) GetFieldMatch() *wrapperspb.BoolValue
- func (x *Highlight_Settings) GetFragmentSize() *wrapperspb.UInt32Value
- func (x *Highlight_Settings) GetFragmenter() *wrapperspb.StringValue
- func (x *Highlight_Settings) GetHighlightQuery() *Query
- func (x *Highlight_Settings) GetHighlighterType() Highlight_Type
- func (x *Highlight_Settings) GetMaxNumberOfFragments() *wrapperspb.UInt32Value
- func (x *Highlight_Settings) GetPostTags() []string
- func (x *Highlight_Settings) GetPreTags() []string
- func (x *Highlight_Settings) GetScoreOrdered() *wrapperspb.BoolValue
- func (x *Highlight_Settings) GetTopBoostOnly() *wrapperspb.BoolValue
- func (*Highlight_Settings) ProtoMessage()
- func (x *Highlight_Settings) ProtoReflect() protoreflect.Message
- func (x *Highlight_Settings) Reset()
- func (x *Highlight_Settings) String() string
- type Highlight_Type
- func (Highlight_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Highlight_Type) Enum() *Highlight_Type
- func (Highlight_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Highlight_Type) Number() protoreflect.EnumNumber
- func (x Highlight_Type) String() string
- func (Highlight_Type) Type() protoreflect.EnumType
- type HitsResult
- func (*HitsResult) Descriptor() ([]byte, []int)deprecated
- func (x *HitsResult) GetHits() []*SearchResponse_Hit
- func (x *HitsResult) GetTotalHits() *TotalHits
- func (*HitsResult) ProtoMessage()
- func (x *HitsResult) ProtoReflect() protoreflect.Message
- func (x *HitsResult) Reset()
- func (x *HitsResult) String() string
- type IndexGlobalState
- func (*IndexGlobalState) Descriptor() ([]byte, []int)deprecated
- func (x *IndexGlobalState) GetId() string
- func (x *IndexGlobalState) GetStarted() bool
- func (*IndexGlobalState) ProtoMessage()
- func (x *IndexGlobalState) ProtoReflect() protoreflect.Message
- func (x *IndexGlobalState) Reset()
- func (x *IndexGlobalState) String() string
- type IndexLiveSettings
- func (*IndexLiveSettings) Descriptor() ([]byte, []int)deprecated
- func (x *IndexLiveSettings) GetAddDocumentsMaxBufferLen() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetDefaultSearchTimeoutCheckEvery() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetDefaultSearchTimeoutSec() *wrapperspb.DoubleValue
- func (x *IndexLiveSettings) GetDefaultTerminateAfter() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetDefaultTerminateAfterMaxRecallCount() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetIndexRamBufferSizeMB() *wrapperspb.DoubleValue
- func (x *IndexLiveSettings) GetMaxMergePreCopyDurationSec() *wrapperspb.UInt64Value
- func (x *IndexLiveSettings) GetMaxMergedSegmentMB() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetMaxRefreshSec() *wrapperspb.DoubleValue
- func (x *IndexLiveSettings) GetMaxSearcherAgeSec() *wrapperspb.DoubleValue
- func (x *IndexLiveSettings) GetMinRefreshSec() *wrapperspb.DoubleValue
- func (x *IndexLiveSettings) GetSegmentsPerTier() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetSliceMaxDocs() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetSliceMaxSegments() *wrapperspb.Int32Value
- func (x *IndexLiveSettings) GetVerboseMetrics() *wrapperspb.BoolValue
- func (x *IndexLiveSettings) GetVirtualShards() *wrapperspb.Int32Value
- func (*IndexLiveSettings) ProtoMessage()
- func (x *IndexLiveSettings) ProtoReflect() protoreflect.Message
- func (x *IndexLiveSettings) Reset()
- func (x *IndexLiveSettings) 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 IndexSettings
- func (*IndexSettings) Descriptor() ([]byte, []int)deprecated
- func (x *IndexSettings) GetConcurrentMergeSchedulerMaxMergeCount() *wrapperspb.Int32Value
- func (x *IndexSettings) GetConcurrentMergeSchedulerMaxThreadCount() *wrapperspb.Int32Value
- func (x *IndexSettings) GetDirectory() *wrapperspb.StringValue
- func (x *IndexSettings) GetIndexMergeSchedulerAutoThrottle() *wrapperspb.BoolValue
- func (x *IndexSettings) GetIndexSort() *SortFields
- func (x *IndexSettings) GetNrtCachingDirectoryMaxMergeSizeMB() *wrapperspb.DoubleValue
- func (x *IndexSettings) GetNrtCachingDirectoryMaxSizeMB() *wrapperspb.DoubleValue
- func (*IndexSettings) ProtoMessage()
- func (x *IndexSettings) ProtoReflect() protoreflect.Message
- func (x *IndexSettings) Reset()
- func (x *IndexSettings) String() string
- type IndexStateInfo
- func (*IndexStateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IndexStateInfo) GetCommitted() bool
- func (x *IndexStateInfo) GetFields() map[string]*Field
- func (x *IndexStateInfo) GetGen() int64
- func (x *IndexStateInfo) GetIndexName() string
- func (x *IndexStateInfo) GetLiveSettings() *IndexLiveSettings
- func (x *IndexStateInfo) GetSettings() *IndexSettings
- func (*IndexStateInfo) ProtoMessage()
- func (x *IndexStateInfo) ProtoReflect() protoreflect.Message
- func (x *IndexStateInfo) Reset()
- func (x *IndexStateInfo) String() string
- 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 InnerHit
- func (*InnerHit) Descriptor() ([]byte, []int)deprecated
- func (x *InnerHit) GetHighlight() *Highlight
- func (x *InnerHit) GetInnerQuery() *Query
- func (x *InnerHit) GetQueryNestedPath() string
- func (x *InnerHit) GetQuerySort() *QuerySortField
- func (x *InnerHit) GetRetrieveFields() []string
- func (x *InnerHit) GetStartHit() int32
- func (x *InnerHit) GetTopHits() int32
- func (*InnerHit) ProtoMessage()
- func (x *InnerHit) ProtoReflect() protoreflect.Message
- func (x *InnerHit) Reset()
- func (x *InnerHit) 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 LastHitInfo
- func (*LastHitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LastHitInfo) GetLastDocId() int32
- func (x *LastHitInfo) GetLastFieldValues() []string
- func (x *LastHitInfo) GetLastScore() float32
- func (*LastHitInfo) ProtoMessage()
- func (x *LastHitInfo) ProtoReflect() protoreflect.Message
- func (x *LastHitInfo) Reset()
- func (x *LastHitInfo) 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) GetDefaultTerminateAfterMaxRecallCount() 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 LiveSettingsV2Request
- func (*LiveSettingsV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *LiveSettingsV2Request) GetIndexName() string
- func (x *LiveSettingsV2Request) GetLiveSettings() *IndexLiveSettings
- func (x *LiveSettingsV2Request) GetLocal() bool
- func (*LiveSettingsV2Request) ProtoMessage()
- func (x *LiveSettingsV2Request) ProtoReflect() protoreflect.Message
- func (x *LiveSettingsV2Request) Reset()
- func (x *LiveSettingsV2Request) String() string
- type LiveSettingsV2Response
- func (*LiveSettingsV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *LiveSettingsV2Response) GetLiveSettings() *IndexLiveSettings
- func (*LiveSettingsV2Response) ProtoMessage()
- func (x *LiveSettingsV2Response) ProtoReflect() protoreflect.Message
- func (x *LiveSettingsV2Response) Reset()
- func (x *LiveSettingsV2Response) String() string
- type LoggingHits
- func (*LoggingHits) Descriptor() ([]byte, []int)deprecated
- func (x *LoggingHits) GetHitsToLog() int32
- func (x *LoggingHits) GetName() string
- func (x *LoggingHits) GetParams() *structpb.Struct
- func (*LoggingHits) ProtoMessage()
- func (x *LoggingHits) ProtoReflect() protoreflect.Message
- func (x *LoggingHits) Reset()
- func (x *LoggingHits) 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 MatchPhrasePrefixQuery
- func (*MatchPhrasePrefixQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MatchPhrasePrefixQuery) GetAnalyzer() *Analyzer
- func (x *MatchPhrasePrefixQuery) GetField() string
- func (x *MatchPhrasePrefixQuery) GetMaxExpansions() int32
- func (x *MatchPhrasePrefixQuery) GetQuery() string
- func (x *MatchPhrasePrefixQuery) GetSlop() int32
- func (*MatchPhrasePrefixQuery) ProtoMessage()
- func (x *MatchPhrasePrefixQuery) ProtoReflect() protoreflect.Message
- func (x *MatchPhrasePrefixQuery) Reset()
- func (x *MatchPhrasePrefixQuery) String() string
- 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 (x *MatchPhraseQuery) GetZeroTermsQuery() MatchPhraseQuery_ZeroTerms
- func (*MatchPhraseQuery) ProtoMessage()
- func (x *MatchPhraseQuery) ProtoReflect() protoreflect.Message
- func (x *MatchPhraseQuery) Reset()
- func (x *MatchPhraseQuery) String() string
- type MatchPhraseQuery_ZeroTerms
- func (MatchPhraseQuery_ZeroTerms) Descriptor() protoreflect.EnumDescriptor
- func (x MatchPhraseQuery_ZeroTerms) Enum() *MatchPhraseQuery_ZeroTerms
- func (MatchPhraseQuery_ZeroTerms) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchPhraseQuery_ZeroTerms) Number() protoreflect.EnumNumber
- func (x MatchPhraseQuery_ZeroTerms) String() string
- func (MatchPhraseQuery_ZeroTerms) Type() protoreflect.EnumType
- 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 MaxCollector
- func (*MaxCollector) Descriptor() ([]byte, []int)deprecated
- func (x *MaxCollector) GetScript() *Script
- func (m *MaxCollector) GetValueSource() isMaxCollector_ValueSource
- func (*MaxCollector) ProtoMessage()
- func (x *MaxCollector) ProtoReflect() protoreflect.Message
- func (x *MaxCollector) Reset()
- func (x *MaxCollector) String() string
- type MaxCollector_Script
- type MinCollector
- func (*MinCollector) Descriptor() ([]byte, []int)deprecated
- func (x *MinCollector) GetScript() *Script
- func (m *MinCollector) GetValueSource() isMinCollector_ValueSource
- func (*MinCollector) ProtoMessage()
- func (x *MinCollector) ProtoReflect() protoreflect.Message
- func (x *MinCollector) Reset()
- func (x *MinCollector) String() string
- type MinCollector_Script
- type Mode
- type MultiFunctionScoreQuery
- func (*MultiFunctionScoreQuery) Descriptor() ([]byte, []int)deprecated
- func (x *MultiFunctionScoreQuery) GetBoostMode() MultiFunctionScoreQuery_BoostMode
- func (x *MultiFunctionScoreQuery) GetFunctions() []*MultiFunctionScoreQuery_FilterFunction
- func (x *MultiFunctionScoreQuery) GetMinExcluded() bool
- func (x *MultiFunctionScoreQuery) GetMinScore() float32
- func (x *MultiFunctionScoreQuery) GetQuery() *Query
- func (x *MultiFunctionScoreQuery) GetScoreMode() MultiFunctionScoreQuery_FunctionScoreMode
- func (*MultiFunctionScoreQuery) ProtoMessage()
- func (x *MultiFunctionScoreQuery) ProtoReflect() protoreflect.Message
- func (x *MultiFunctionScoreQuery) Reset()
- func (x *MultiFunctionScoreQuery) String() string
- type MultiFunctionScoreQuery_BoostMode
- func (MultiFunctionScoreQuery_BoostMode) Descriptor() protoreflect.EnumDescriptor
- func (x MultiFunctionScoreQuery_BoostMode) Enum() *MultiFunctionScoreQuery_BoostMode
- func (MultiFunctionScoreQuery_BoostMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiFunctionScoreQuery_BoostMode) Number() protoreflect.EnumNumber
- func (x MultiFunctionScoreQuery_BoostMode) String() string
- func (MultiFunctionScoreQuery_BoostMode) Type() protoreflect.EnumType
- type MultiFunctionScoreQuery_DecayFunction
- func (*MultiFunctionScoreQuery_DecayFunction) Descriptor() ([]byte, []int)deprecated
- func (x *MultiFunctionScoreQuery_DecayFunction) GetDecay() float32
- func (x *MultiFunctionScoreQuery_DecayFunction) GetDecayType() MultiFunctionScoreQuery_DecayType
- func (x *MultiFunctionScoreQuery_DecayFunction) GetFieldName() string
- func (x *MultiFunctionScoreQuery_DecayFunction) GetGeoPoint() *latlng.LatLng
- func (x *MultiFunctionScoreQuery_DecayFunction) GetOffset() string
- func (m *MultiFunctionScoreQuery_DecayFunction) GetOrigin() isMultiFunctionScoreQuery_DecayFunction_Origin
- func (x *MultiFunctionScoreQuery_DecayFunction) GetScale() string
- func (*MultiFunctionScoreQuery_DecayFunction) ProtoMessage()
- func (x *MultiFunctionScoreQuery_DecayFunction) ProtoReflect() protoreflect.Message
- func (x *MultiFunctionScoreQuery_DecayFunction) Reset()
- func (x *MultiFunctionScoreQuery_DecayFunction) String() string
- type MultiFunctionScoreQuery_DecayFunction_GeoPoint
- type MultiFunctionScoreQuery_DecayType
- func (MultiFunctionScoreQuery_DecayType) Descriptor() protoreflect.EnumDescriptor
- func (x MultiFunctionScoreQuery_DecayType) Enum() *MultiFunctionScoreQuery_DecayType
- func (MultiFunctionScoreQuery_DecayType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiFunctionScoreQuery_DecayType) Number() protoreflect.EnumNumber
- func (x MultiFunctionScoreQuery_DecayType) String() string
- func (MultiFunctionScoreQuery_DecayType) Type() protoreflect.EnumType
- type MultiFunctionScoreQuery_FilterFunction
- func (*MultiFunctionScoreQuery_FilterFunction) Descriptor() ([]byte, []int)deprecated
- func (x *MultiFunctionScoreQuery_FilterFunction) GetDecayFunction() *MultiFunctionScoreQuery_DecayFunction
- func (x *MultiFunctionScoreQuery_FilterFunction) GetFilter() *Query
- func (m *MultiFunctionScoreQuery_FilterFunction) GetFunction() isMultiFunctionScoreQuery_FilterFunction_Function
- func (x *MultiFunctionScoreQuery_FilterFunction) GetScript() *Script
- func (x *MultiFunctionScoreQuery_FilterFunction) GetWeight() float32
- func (*MultiFunctionScoreQuery_FilterFunction) ProtoMessage()
- func (x *MultiFunctionScoreQuery_FilterFunction) ProtoReflect() protoreflect.Message
- func (x *MultiFunctionScoreQuery_FilterFunction) Reset()
- func (x *MultiFunctionScoreQuery_FilterFunction) String() string
- type MultiFunctionScoreQuery_FilterFunction_DecayFunction
- type MultiFunctionScoreQuery_FilterFunction_Script
- type MultiFunctionScoreQuery_FunctionScoreMode
- func (MultiFunctionScoreQuery_FunctionScoreMode) Descriptor() protoreflect.EnumDescriptor
- func (x MultiFunctionScoreQuery_FunctionScoreMode) Enum() *MultiFunctionScoreQuery_FunctionScoreMode
- func (MultiFunctionScoreQuery_FunctionScoreMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiFunctionScoreQuery_FunctionScoreMode) Number() protoreflect.EnumNumber
- func (x MultiFunctionScoreQuery_FunctionScoreMode) String() string
- func (MultiFunctionScoreQuery_FunctionScoreMode) Type() protoreflect.EnumType
- 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) GetMaxExpansions() int32
- func (x *MultiMatchQuery) GetMinimumNumberShouldMatch() int32
- func (x *MultiMatchQuery) GetOperator() MatchOperator
- func (x *MultiMatchQuery) GetQuery() string
- func (x *MultiMatchQuery) GetSlop() int32
- func (x *MultiMatchQuery) GetTieBreakerMultiplier() float32
- func (x *MultiMatchQuery) GetType() MultiMatchQuery_MatchType
- func (*MultiMatchQuery) ProtoMessage()
- func (x *MultiMatchQuery) ProtoReflect() protoreflect.Message
- func (x *MultiMatchQuery) Reset()
- func (x *MultiMatchQuery) String() string
- type MultiMatchQuery_MatchType
- func (MultiMatchQuery_MatchType) Descriptor() protoreflect.EnumDescriptor
- func (x MultiMatchQuery_MatchType) Enum() *MultiMatchQuery_MatchType
- func (MultiMatchQuery_MatchType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiMatchQuery_MatchType) Number() protoreflect.EnumNumber
- func (x MultiMatchQuery_MatchType) String() string
- func (MultiMatchQuery_MatchType) Type() protoreflect.EnumType
- 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) GetIndexId() string
- 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 PluginCollector
- func (*PluginCollector) Descriptor() ([]byte, []int)deprecated
- func (x *PluginCollector) GetName() string
- func (x *PluginCollector) GetParams() *structpb.Struct
- func (*PluginCollector) ProtoMessage()
- func (x *PluginCollector) ProtoReflect() protoreflect.Message
- func (x *PluginCollector) Reset()
- func (x *PluginCollector) String() string
- type PluginRescorer
- func (*PluginRescorer) Descriptor() ([]byte, []int)deprecated
- func (x *PluginRescorer) GetName() string
- func (x *PluginRescorer) GetParams() *structpb.Struct
- func (*PluginRescorer) ProtoMessage()
- func (x *PluginRescorer) ProtoReflect() protoreflect.Message
- func (x *PluginRescorer) Reset()
- func (x *PluginRescorer) String() string
- type Point
- type Polygon
- type PrefixQuery
- func (*PrefixQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PrefixQuery) GetField() string
- func (x *PrefixQuery) GetPrefix() string
- func (x *PrefixQuery) GetRewrite() RewriteMethod
- func (x *PrefixQuery) GetRewriteTopTermsSize() int32
- func (*PrefixQuery) ProtoMessage()
- func (x *PrefixQuery) ProtoReflect() protoreflect.Message
- func (x *PrefixQuery) Reset()
- func (x *PrefixQuery) String() string
- 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) GetCompletionQuery() *CompletionQuery
- func (x *Query) GetConstantScoreQuery() *ConstantScoreQuery
- 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) GetGeoPolygonQuery() *GeoPolygonQuery
- func (x *Query) GetGeoRadiusQuery() *GeoRadiusQuery
- func (x *Query) GetMatchPhrasePrefixQuery() *MatchPhrasePrefixQuery
- func (x *Query) GetMatchPhraseQuery() *MatchPhraseQuery
- func (x *Query) GetMatchQuery() *MatchQuery
- func (x *Query) GetMultiFunctionScoreQuery() *MultiFunctionScoreQuery
- func (x *Query) GetMultiMatchQuery() *MultiMatchQuery
- func (x *Query) GetNestedQuery() *NestedQuery
- func (x *Query) GetPhraseQuery() *PhraseQuery
- func (x *Query) GetPrefixQuery() *PrefixQuery
- func (m *Query) GetQueryNode() isQuery_QueryNode
- func (x *Query) GetQueryType() QueryTypedeprecated
- func (x *Query) GetRangeQuery() *RangeQuery
- func (x *Query) GetSpanQuery() *SpanQuery
- 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_CompletionQuery
- type Query_ConstantScoreQuery
- type Query_DisjunctionMaxQuery
- type Query_ExistsQuery
- type Query_FunctionFilterQuery
- type Query_FunctionScoreQuery
- type Query_GeoBoundingBoxQuery
- type Query_GeoPointQuery
- type Query_GeoPolygonQuery
- type Query_GeoRadiusQuery
- type Query_MatchPhrasePrefixQuery
- type Query_MatchPhraseQuery
- type Query_MatchQuery
- type Query_MultiFunctionScoreQuery
- type Query_MultiMatchQuery
- type Query_NestedQuery
- type Query_PhraseQuery
- type Query_PrefixQuery
- type Query_RangeQuery
- type Query_SpanQuery
- 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 RegexpFlag
- type RegexpQuery
- func (*RegexpQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RegexpQuery) GetField() string
- func (x *RegexpQuery) GetFlag() RegexpFlag
- func (x *RegexpQuery) GetMaxDeterminizedStates() int32
- func (x *RegexpQuery) GetRewrite() RewriteMethod
- func (x *RegexpQuery) GetRewriteTopTermsSize() int32
- func (x *RegexpQuery) GetText() string
- func (*RegexpQuery) ProtoMessage()
- func (x *RegexpQuery) ProtoReflect() protoreflect.Message
- func (x *RegexpQuery) Reset()
- func (x *RegexpQuery) String() string
- 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 ReloadStateRequest
- type ReloadStateResponse
- 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 RewriteMethod
- func (RewriteMethod) Descriptor() protoreflect.EnumDescriptor
- func (x RewriteMethod) Enum() *RewriteMethod
- func (RewriteMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x RewriteMethod) Number() protoreflect.EnumNumber
- func (x RewriteMethod) String() string
- func (RewriteMethod) Type() protoreflect.EnumType
- type RuntimeField
- func (*RuntimeField) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeField) GetName() string
- func (x *RuntimeField) GetScript() *Script
- func (*RuntimeField) ProtoMessage()
- func (x *RuntimeField) ProtoReflect() protoreflect.Message
- func (x *RuntimeField) Reset()
- func (x *RuntimeField) 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) GetExplain() bool
- func (x *SearchRequest) GetFacets() []*Facet
- func (x *SearchRequest) GetFetchTasks() []*FetchTask
- func (x *SearchRequest) GetHighlight() *Highlight
- func (x *SearchRequest) GetIndexGen() int64
- func (x *SearchRequest) GetIndexName() string
- func (x *SearchRequest) GetInnerHits() map[string]*InnerHit
- func (x *SearchRequest) GetLoggingHits() *LoggingHits
- 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 (x *SearchRequest) GetRuntimeFields() []*RuntimeField
- func (x *SearchRequest) GetSearchAfter() *LastHitInfo
- func (m *SearchRequest) GetSearcher() isSearchRequest_Searcher
- func (x *SearchRequest) GetSnapshot() string
- func (x *SearchRequest) GetStartHit() int32
- func (x *SearchRequest) GetTerminateAfter() int32
- func (x *SearchRequest) GetTerminateAfterMaxRecallCount() 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) GetInnerHitsDiagnostics() map[string]*SearchResponse_Diagnostics
- func (x *SearchResponse_Diagnostics) GetLoggingHitsTimeMs() 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) GetExplain() string
- func (x *SearchResponse_Hit) GetFields() map[string]*SearchResponse_Hit_CompositeFieldValue
- func (x *SearchResponse_Hit) GetHighlights() map[string]*SearchResponse_Hit_Highlights
- func (x *SearchResponse_Hit) GetInnerHits() map[string]*HitsResult
- 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) GetListValue() *structpb.ListValue
- func (x *SearchResponse_Hit_FieldValue) GetLongValue() int64
- func (x *SearchResponse_Hit_FieldValue) GetStructValue() *structpb.Struct
- func (x *SearchResponse_Hit_FieldValue) GetTextValue() string
- func (x *SearchResponse_Hit_FieldValue) GetVectorValue() *SearchResponse_Hit_FieldValue_Vector
- 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_ListValue
- type SearchResponse_Hit_FieldValue_LongValue
- type SearchResponse_Hit_FieldValue_StructValue
- type SearchResponse_Hit_FieldValue_TextValue
- type SearchResponse_Hit_FieldValue_Vector
- func (*SearchResponse_Hit_FieldValue_Vector) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Hit_FieldValue_Vector) GetValue() []float32
- func (*SearchResponse_Hit_FieldValue_Vector) ProtoMessage()
- func (x *SearchResponse_Hit_FieldValue_Vector) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Hit_FieldValue_Vector) Reset()
- func (x *SearchResponse_Hit_FieldValue_Vector) String() string
- type SearchResponse_Hit_FieldValue_VectorValue
- type SearchResponse_Hit_Highlights
- func (*SearchResponse_Hit_Highlights) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Hit_Highlights) GetFragments() []string
- func (*SearchResponse_Hit_Highlights) ProtoMessage()
- func (x *SearchResponse_Hit_Highlights) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Hit_Highlights) Reset()
- func (x *SearchResponse_Hit_Highlights) String() string
- type SearchResponse_SearchState
- func (*SearchResponse_SearchState) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_SearchState) GetLastDocId() int32deprecated
- func (x *SearchResponse_SearchState) GetLastFieldValues() []stringdeprecated
- func (x *SearchResponse_SearchState) GetLastHitInfo() *LastHitInfo
- func (x *SearchResponse_SearchState) GetLastScore() float32deprecated
- 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 SettingsV2Request
- func (*SettingsV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsV2Request) GetIndexName() string
- func (x *SettingsV2Request) GetSettings() *IndexSettings
- func (*SettingsV2Request) ProtoMessage()
- func (x *SettingsV2Request) ProtoReflect() protoreflect.Message
- func (x *SettingsV2Request) Reset()
- func (x *SettingsV2Request) String() string
- type SettingsV2Response
- func (*SettingsV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsV2Response) GetSettings() *IndexSettings
- func (*SettingsV2Response) ProtoMessage()
- func (x *SettingsV2Response) ProtoReflect() protoreflect.Message
- func (x *SettingsV2Response) Reset()
- func (x *SettingsV2Response) String() string
- 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 (x *SortType) GetUnit() string
- func (*SortType) ProtoMessage()
- func (x *SortType) ProtoReflect() protoreflect.Message
- func (x *SortType) Reset()
- func (x *SortType) String() string
- type SpanMultiTermQuery
- func (*SpanMultiTermQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SpanMultiTermQuery) GetFuzzyQuery() *FuzzyQuery
- func (x *SpanMultiTermQuery) GetPrefixQuery() *PrefixQuery
- func (x *SpanMultiTermQuery) GetRegexpQuery() *RegexpQuery
- func (x *SpanMultiTermQuery) GetTermRangeQuery() *TermRangeQuery
- func (x *SpanMultiTermQuery) GetWildcardQuery() *WildcardQuery
- func (m *SpanMultiTermQuery) GetWrappedQuery() isSpanMultiTermQuery_WrappedQuery
- func (*SpanMultiTermQuery) ProtoMessage()
- func (x *SpanMultiTermQuery) ProtoReflect() protoreflect.Message
- func (x *SpanMultiTermQuery) Reset()
- func (x *SpanMultiTermQuery) String() string
- type SpanMultiTermQuery_FuzzyQuery
- type SpanMultiTermQuery_PrefixQuery
- type SpanMultiTermQuery_RegexpQuery
- type SpanMultiTermQuery_TermRangeQuery
- type SpanMultiTermQuery_WildcardQuery
- type SpanNearQuery
- func (*SpanNearQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SpanNearQuery) GetClauses() []*SpanQuery
- func (x *SpanNearQuery) GetInOrder() bool
- func (x *SpanNearQuery) GetSlop() int32
- func (*SpanNearQuery) ProtoMessage()
- func (x *SpanNearQuery) ProtoReflect() protoreflect.Message
- func (x *SpanNearQuery) Reset()
- func (x *SpanNearQuery) String() string
- type SpanQuery
- func (*SpanQuery) Descriptor() ([]byte, []int)deprecated
- func (m *SpanQuery) GetQuery() isSpanQuery_Query
- func (x *SpanQuery) GetSpanMultiTermQuery() *SpanMultiTermQuery
- func (x *SpanQuery) GetSpanNearQuery() *SpanNearQuery
- func (x *SpanQuery) GetSpanTermQuery() *TermQuery
- func (*SpanQuery) ProtoMessage()
- func (x *SpanQuery) ProtoReflect() protoreflect.Message
- func (x *SpanQuery) Reset()
- func (x *SpanQuery) String() string
- type SpanQuery_SpanMultiTermQuery
- type SpanQuery_SpanNearQuery
- type SpanQuery_SpanTermQuery
- 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) GetPrimaryDiscoveryFile() 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 StartIndexV2Request
- func (*StartIndexV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *StartIndexV2Request) GetIndexName() string
- func (*StartIndexV2Request) ProtoMessage()
- func (x *StartIndexV2Request) ProtoReflect() protoreflect.Message
- func (x *StartIndexV2Request) Reset()
- func (x *StartIndexV2Request) 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 TermRangeQuery
- func (*TermRangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TermRangeQuery) GetField() string
- func (x *TermRangeQuery) GetIncludeLower() bool
- func (x *TermRangeQuery) GetIncludeUpper() bool
- func (x *TermRangeQuery) GetLowerTerm() string
- func (x *TermRangeQuery) GetRewrite() RewriteMethod
- func (x *TermRangeQuery) GetRewriteTopTermsSize() int32
- func (x *TermRangeQuery) GetUpperTerm() string
- func (*TermRangeQuery) ProtoMessage()
- func (x *TermRangeQuery) ProtoReflect() protoreflect.Message
- func (x *TermRangeQuery) Reset()
- func (x *TermRangeQuery) String() string
- 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) GetOrder() *BucketOrder
- 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 TopHitsCollector
- func (*TopHitsCollector) Descriptor() ([]byte, []int)deprecated
- func (x *TopHitsCollector) GetExplain() bool
- func (x *TopHitsCollector) GetQuerySort() *QuerySortField
- func (x *TopHitsCollector) GetRetrieveFields() []string
- func (x *TopHitsCollector) GetStartHit() int32
- func (x *TopHitsCollector) GetTopHits() int32
- func (*TopHitsCollector) ProtoMessage()
- func (x *TopHitsCollector) ProtoReflect() protoreflect.Message
- func (x *TopHitsCollector) Reset()
- func (x *TopHitsCollector) String() string
- 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) Custom(context.Context, *CustomRequest) (*CustomResponse, 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) LiveSettingsV2(context.Context, *LiveSettingsV2Request) (*LiveSettingsV2Response, error)
- func (*UnimplementedLuceneServerServer) Metrics(context.Context, *emptypb.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) ReloadState(context.Context, *ReloadStateRequest) (*ReloadStateResponse, error)
- func (*UnimplementedLuceneServerServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
- func (*UnimplementedLuceneServerServer) SearchV2(context.Context, *SearchRequest) (*anypb.Any, error)
- func (*UnimplementedLuceneServerServer) Settings(context.Context, *SettingsRequest) (*SettingsResponse, error)
- func (*UnimplementedLuceneServerServer) SettingsV2(context.Context, *SettingsV2Request) (*SettingsV2Response, error)
- func (*UnimplementedLuceneServerServer) StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error)
- func (*UnimplementedLuceneServerServer) StartIndexV2(context.Context, *StartIndexV2Request) (*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
- type WildcardQuery
- func (*WildcardQuery) Descriptor() ([]byte, []int)deprecated
- func (x *WildcardQuery) GetField() string
- func (x *WildcardQuery) GetRewrite() RewriteMethod
- func (x *WildcardQuery) GetRewriteTopTermsSize() int32
- func (x *WildcardQuery) GetText() string
- func (*WildcardQuery) ProtoMessage()
- func (x *WildcardQuery) ProtoReflect() protoreflect.Message
- func (x *WildcardQuery) Reset()
- func (x *WildcardQuery) 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", 15: "VECTOR", 16: "CONTEXT_SUGGEST", 17: "RUNTIME", } 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, "VECTOR": 15, "CONTEXT_SUGGEST": 16, "RUNTIME": 17, } )
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 ( RewriteMethod_name = map[int32]string{ 0: "CONSTANT_SCORE", 1: "CONSTANT_SCORE_BOOLEAN", 2: "SCORING_BOOLEAN", 3: "TOP_TERMS_BLENDED_FREQS", 4: "TOP_TERMS_BOOST", 5: "TOP_TERMS", } RewriteMethod_value = map[string]int32{ "CONSTANT_SCORE": 0, "CONSTANT_SCORE_BOOLEAN": 1, "SCORING_BOOLEAN": 2, "TOP_TERMS_BLENDED_FREQS": 3, "TOP_TERMS_BOOST": 4, "TOP_TERMS": 5, } )
Enum value maps for RewriteMethod.
var ( CompletionQueryType_name = map[int32]string{ 0: "PREFIX_QUERY", 1: "FUZZY_QUERY", } CompletionQueryType_value = map[string]int32{ "PREFIX_QUERY": 0, "FUZZY_QUERY": 1, } )
Enum value maps for CompletionQueryType.
var ( RegexpFlag_name = map[int32]string{ 0: "REGEXP_ALL", 1: "REGEXP_ANYSTRING", 2: "REGEXP_AUTOMATON", 3: "REGEXP_COMPLEMENT", 4: "REGEXP_EMPTY", 5: "REGEXP_INTERSECTION", 6: "REGEXP_INTERVAL", 7: "REGEXP_NONE", } RegexpFlag_value = map[string]int32{ "REGEXP_ALL": 0, "REGEXP_ANYSTRING": 1, "REGEXP_AUTOMATON": 2, "REGEXP_COMPLEMENT": 3, "REGEXP_EMPTY": 4, "REGEXP_INTERSECTION": 5, "REGEXP_INTERVAL": 6, "REGEXP_NONE": 7, } )
Enum value maps for RegexpFlag.
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", 16: "COMPLETION", 17: "MULTI_FUNCTION_SCORE_QUERY", 18: "MATCH_PHRASE_PREFIX", 19: "PREFIX", 20: "CONSTANT_SCORE_QUERY", 21: "GEO_POLYGON", 22: "SPAN_QUERY", } 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, "COMPLETION": 16, "MULTI_FUNCTION_SCORE_QUERY": 17, "MATCH_PHRASE_PREFIX": 18, "PREFIX": 19, "CONSTANT_SCORE_QUERY": 20, "GEO_POLYGON": 21, "SPAN_QUERY": 22, } )
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 ( MatchPhraseQuery_ZeroTerms_name = map[int32]string{ 0: "NONE_ZERO_TERMS", 1: "ALL_ZERO_TERMS", } MatchPhraseQuery_ZeroTerms_value = map[string]int32{ "NONE_ZERO_TERMS": 0, "ALL_ZERO_TERMS": 1, } )
Enum value maps for MatchPhraseQuery_ZeroTerms.
var ( MultiMatchQuery_MatchType_name = map[int32]string{ 0: "BEST_FIELDS", 1: "PHRASE_PREFIX", 2: "CROSS_FIELDS", } MultiMatchQuery_MatchType_value = map[string]int32{ "BEST_FIELDS": 0, "PHRASE_PREFIX": 1, "CROSS_FIELDS": 2, } )
Enum value maps for MultiMatchQuery_MatchType.
var ( MultiFunctionScoreQuery_DecayType_name = map[int32]string{ 0: "DECAY_TYPE_EXPONENTIAL", 1: "DECAY_TYPE_LINEAR", 2: "DECAY_TYPE_GUASSIAN", } MultiFunctionScoreQuery_DecayType_value = map[string]int32{ "DECAY_TYPE_EXPONENTIAL": 0, "DECAY_TYPE_LINEAR": 1, "DECAY_TYPE_GUASSIAN": 2, } )
Enum value maps for MultiFunctionScoreQuery_DecayType.
var ( MultiFunctionScoreQuery_FunctionScoreMode_name = map[int32]string{ 0: "SCORE_MODE_MULTIPLY", 1: "SCORE_MODE_SUM", } MultiFunctionScoreQuery_FunctionScoreMode_value = map[string]int32{ "SCORE_MODE_MULTIPLY": 0, "SCORE_MODE_SUM": 1, } )
Enum value maps for MultiFunctionScoreQuery_FunctionScoreMode.
var ( MultiFunctionScoreQuery_BoostMode_name = map[int32]string{ 0: "BOOST_MODE_MULTIPLY", 1: "BOOST_MODE_SUM", 2: "BOOST_MODE_REPLACE", } MultiFunctionScoreQuery_BoostMode_value = map[string]int32{ "BOOST_MODE_MULTIPLY": 0, "BOOST_MODE_SUM": 1, "BOOST_MODE_REPLACE": 2, } )
Enum value maps for MultiFunctionScoreQuery_BoostMode.
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 ( BucketOrder_OrderType_name = map[int32]string{ 0: "DESC", 1: "ASC", } BucketOrder_OrderType_value = map[string]int32{ "DESC": 0, "ASC": 1, } )
Enum value maps for BucketOrder_OrderType.
var ( Highlight_Type_name = map[int32]string{ 0: "DEFAULT", 1: "FAST_VECTOR", 2: "PLAIN", 3: "CUSTOM", } Highlight_Type_value = map[string]int32{ "DEFAULT": 0, "FAST_VECTOR": 1, "PLAIN": 2, "CUSTOM": 3, } )
Enum value maps for Highlight_Type.
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 // index id IndexId string `protobuf:"bytes,6,opt,name=indexId,proto3" json:"indexId,omitempty"` // 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) GetIndexId ¶ added in v0.39.0
func (x *AddReplicaRequest) GetIndexId() 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 BucketOrder ¶ added in v0.23.0
type BucketOrder struct { // What to use for sorting. This can be _count for Bucket count, or the name of a nested collector that supports ordering. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Sorting order Order BucketOrder_OrderType `protobuf:"varint,2,opt,name=order,proto3,enum=luceneserver.BucketOrder_OrderType" json:"order,omitempty"` // contains filtered or unexported fields }
Defines how Buckets should be ordered in BucketResult.
func (*BucketOrder) Descriptor
deprecated
added in
v0.23.0
func (*BucketOrder) Descriptor() ([]byte, []int)
Deprecated: Use BucketOrder.ProtoReflect.Descriptor instead.
func (*BucketOrder) GetKey ¶ added in v0.23.0
func (x *BucketOrder) GetKey() string
func (*BucketOrder) GetOrder ¶ added in v0.23.0
func (x *BucketOrder) GetOrder() BucketOrder_OrderType
func (*BucketOrder) ProtoMessage ¶ added in v0.23.0
func (*BucketOrder) ProtoMessage()
func (*BucketOrder) ProtoReflect ¶ added in v0.23.0
func (x *BucketOrder) ProtoReflect() protoreflect.Message
func (*BucketOrder) Reset ¶ added in v0.23.0
func (x *BucketOrder) Reset()
func (*BucketOrder) String ¶ added in v0.23.0
func (x *BucketOrder) String() string
type BucketOrder_OrderType ¶ added in v0.23.0
type BucketOrder_OrderType int32
Sorting order type
const ( BucketOrder_DESC BucketOrder_OrderType = 0 BucketOrder_ASC BucketOrder_OrderType = 1 )
func (BucketOrder_OrderType) Descriptor ¶ added in v0.23.0
func (BucketOrder_OrderType) Descriptor() protoreflect.EnumDescriptor
func (BucketOrder_OrderType) Enum ¶ added in v0.23.0
func (x BucketOrder_OrderType) Enum() *BucketOrder_OrderType
func (BucketOrder_OrderType) EnumDescriptor
deprecated
added in
v0.23.0
func (BucketOrder_OrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BucketOrder_OrderType.Descriptor instead.
func (BucketOrder_OrderType) Number ¶ added in v0.23.0
func (x BucketOrder_OrderType) Number() protoreflect.EnumNumber
func (BucketOrder_OrderType) String ¶ added in v0.23.0
func (x BucketOrder_OrderType) String() string
func (BucketOrder_OrderType) Type ¶ added in v0.23.0
func (BucketOrder_OrderType) Type() protoreflect.EnumType
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"` // Nested collector results for sub-aggregations of this bucket. NestedCollectorResults map[string]*CollectorResult `` /* 185-byte string literal not displayed */ // 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) GetNestedCollectorResults ¶ added in v0.13.0
func (x *BucketResult_Bucket) GetNestedCollectorResults() map[string]*CollectorResult
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 // *Collector_PluginCollector // *Collector_TopHitsCollector // *Collector_Filter // *Collector_Max // *Collector_Min Collectors isCollector_Collectors `protobuf_oneof:"Collectors"` // Nested collectors that define sub-aggregations per bucket, supported by bucket based collectors. NestedCollectors map[string]*Collector `` /* 173-byte string literal not displayed */ // 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) GetFilter ¶ added in v0.19.0
func (x *Collector) GetFilter() *FilterCollector
func (*Collector) GetMax ¶ added in v0.23.0
func (x *Collector) GetMax() *MaxCollector
func (*Collector) GetMin ¶ added in v0.37.0
func (x *Collector) GetMin() *MinCollector
func (*Collector) GetNestedCollectors ¶ added in v0.13.0
func (*Collector) GetPluginCollector ¶ added in v0.10.5
func (x *Collector) GetPluginCollector() *PluginCollector
func (*Collector) GetTerms ¶
func (x *Collector) GetTerms() *TermsCollector
func (*Collector) GetTopHitsCollector ¶ added in v0.13.0
func (x *Collector) GetTopHitsCollector() *TopHitsCollector
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 // *CollectorResult_AnyResult // *CollectorResult_HitsResult // *CollectorResult_FilterResult // *CollectorResult_DoubleResult 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) GetAnyResult ¶ added in v0.10.5
func (x *CollectorResult) GetAnyResult() *anypb.Any
func (*CollectorResult) GetBucketResult ¶
func (x *CollectorResult) GetBucketResult() *BucketResult
func (*CollectorResult) GetCollectorResults ¶
func (m *CollectorResult) GetCollectorResults() isCollectorResult_CollectorResults
func (*CollectorResult) GetDoubleResult ¶ added in v0.23.0
func (x *CollectorResult) GetDoubleResult() *wrapperspb.DoubleValue
func (*CollectorResult) GetFilterResult ¶ added in v0.19.0
func (x *CollectorResult) GetFilterResult() *FilterResult
func (*CollectorResult) GetHitsResult ¶ added in v0.13.0
func (x *CollectorResult) GetHitsResult() *HitsResult
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_AnyResult ¶ added in v0.10.5
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 CollectorResult_DoubleResult ¶ added in v0.23.0
type CollectorResult_DoubleResult struct { // Result of collector that produces a single double value. DoubleResult *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=doubleResult,proto3,oneof"` }
type CollectorResult_FilterResult ¶ added in v0.19.0
type CollectorResult_FilterResult struct { // Result of collector that filters documents. FilterResult *FilterResult `protobuf:"bytes,5,opt,name=filterResult,proto3,oneof"` }
type CollectorResult_HitsResult ¶ added in v0.13.0
type CollectorResult_HitsResult struct { // Result of collector that returns document hits. HitsResult *HitsResult `protobuf:"bytes,4,opt,name=hitsResult,proto3,oneof"` }
type Collector_Filter ¶ added in v0.19.0
type Collector_Filter struct { // Collector that filters documents to nested collectors Filter *FilterCollector `protobuf:"bytes,5,opt,name=filter,proto3,oneof"` }
type Collector_Max ¶ added in v0.23.0
type Collector_Max struct { // Collector for finding a max double value from collected documents. Max *MaxCollector `protobuf:"bytes,6,opt,name=max,proto3,oneof"` }
type Collector_Min ¶ added in v0.37.0
type Collector_Min struct { // Collector for finding a min double value from collected documents. Min *MinCollector `protobuf:"bytes,7,opt,name=min,proto3,oneof"` }
type Collector_PluginCollector ¶ added in v0.10.5
type Collector_PluginCollector struct {
PluginCollector *PluginCollector `protobuf:"bytes,2,opt,name=pluginCollector,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 Collector_TopHitsCollector ¶ added in v0.13.0
type Collector_TopHitsCollector struct { // Collector for getting top hits based on score or sorting. TopHitsCollector *TopHitsCollector `protobuf:"bytes,4,opt,name=topHitsCollector,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 CompletionQuery ¶ added in v0.16.0
type CompletionQuery struct { // Name of the field in the document to query, must be a SuggestField Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Completion query type, used when constructing the lucene completion query QueryType CompletionQueryType `protobuf:"varint,2,opt,name=queryType,proto3,enum=luceneserver.CompletionQueryType" json:"queryType,omitempty"` // Completion text to be used in completion query Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // List of contexts to filter by. Each result will have at least one of the contexts specified Contexts []string `protobuf:"bytes,4,rep,name=contexts,proto3" json:"contexts,omitempty"` // contains filtered or unexported fields }
A query used for suggest completion
func (*CompletionQuery) Descriptor
deprecated
added in
v0.16.0
func (*CompletionQuery) Descriptor() ([]byte, []int)
Deprecated: Use CompletionQuery.ProtoReflect.Descriptor instead.
func (*CompletionQuery) GetContexts ¶ added in v0.16.0
func (x *CompletionQuery) GetContexts() []string
func (*CompletionQuery) GetField ¶ added in v0.16.0
func (x *CompletionQuery) GetField() string
func (*CompletionQuery) GetQueryType ¶ added in v0.16.0
func (x *CompletionQuery) GetQueryType() CompletionQueryType
func (*CompletionQuery) GetText ¶ added in v0.16.0
func (x *CompletionQuery) GetText() string
func (*CompletionQuery) ProtoMessage ¶ added in v0.16.0
func (*CompletionQuery) ProtoMessage()
func (*CompletionQuery) ProtoReflect ¶ added in v0.16.0
func (x *CompletionQuery) ProtoReflect() protoreflect.Message
func (*CompletionQuery) Reset ¶ added in v0.16.0
func (x *CompletionQuery) Reset()
func (*CompletionQuery) String ¶ added in v0.16.0
func (x *CompletionQuery) String() string
type CompletionQueryType ¶ added in v0.16.0
type CompletionQueryType int32
const ( // PrefixCompletionQuery within ContextCompletionQuery CompletionQueryType_PREFIX_QUERY CompletionQueryType = 0 // FuzzyCompletionQuery within ContextCompletionQuery CompletionQueryType_FUZZY_QUERY CompletionQueryType = 1 )
func (CompletionQueryType) Descriptor ¶ added in v0.16.0
func (CompletionQueryType) Descriptor() protoreflect.EnumDescriptor
func (CompletionQueryType) Enum ¶ added in v0.16.0
func (x CompletionQueryType) Enum() *CompletionQueryType
func (CompletionQueryType) EnumDescriptor
deprecated
added in
v0.16.0
func (CompletionQueryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionQueryType.Descriptor instead.
func (CompletionQueryType) Number ¶ added in v0.16.0
func (x CompletionQueryType) Number() protoreflect.EnumNumber
func (CompletionQueryType) String ¶ added in v0.16.0
func (x CompletionQueryType) String() string
func (CompletionQueryType) Type ¶ added in v0.16.0
func (CompletionQueryType) Type() protoreflect.EnumType
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 ConstantScoreQuery ¶ added in v0.21.0
type ConstantScoreQuery struct { // Query to determine matching documents Filter *Query `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Query that produces a score of 1.0 (modifiable by query boost value) for documents that match the filter query.
func (*ConstantScoreQuery) Descriptor
deprecated
added in
v0.21.0
func (*ConstantScoreQuery) Descriptor() ([]byte, []int)
Deprecated: Use ConstantScoreQuery.ProtoReflect.Descriptor instead.
func (*ConstantScoreQuery) GetFilter ¶ added in v0.21.0
func (x *ConstantScoreQuery) GetFilter() *Query
func (*ConstantScoreQuery) ProtoMessage ¶ added in v0.21.0
func (*ConstantScoreQuery) ProtoMessage()
func (*ConstantScoreQuery) ProtoReflect ¶ added in v0.21.0
func (x *ConstantScoreQuery) ProtoReflect() protoreflect.Message
func (*ConstantScoreQuery) Reset ¶ added in v0.21.0
func (x *ConstantScoreQuery) Reset()
func (*ConstantScoreQuery) String ¶ added in v0.21.0
func (x *ConstantScoreQuery) 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 // index id IndexId string `protobuf:"bytes,5,opt,name=indexId,proto3" json:"indexId,omitempty"` // 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) GetIndexId ¶ added in v0.39.0
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 // index id IndexId string `protobuf:"bytes,4,opt,name=indexId,proto3" json:"indexId,omitempty"` // 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) GetIndexId ¶ added in v0.39.0
func (x *CopyStateRequest) GetIndexId() string
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]* // Set if state/data already exists in the data backend. Provides the UUID to identify and load the index. ExistsWithId string `protobuf:"bytes,2,opt,name=existsWithId,proto3" json:"existsWithId,omitempty"` // Optional initial index settings Settings *IndexSettings `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"` // Optional initial index live settings LiveSettings *IndexLiveSettings `protobuf:"bytes,4,opt,name=liveSettings,proto3" json:"liveSettings,omitempty"` // Optional initial index fields Fields []*Field `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"` // If this index should also be started, using IndexStartConfig configuration Start bool `protobuf:"varint,6,opt,name=start,proto3" json:"start,omitempty"` // 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) GetExistsWithId ¶ added in v0.14.0
func (x *CreateIndexRequest) GetExistsWithId() string
func (*CreateIndexRequest) GetFields ¶ added in v0.18.0
func (x *CreateIndexRequest) GetFields() []*Field
func (*CreateIndexRequest) GetIndexName ¶
func (x *CreateIndexRequest) GetIndexName() string
func (*CreateIndexRequest) GetLiveSettings ¶ added in v0.18.0
func (x *CreateIndexRequest) GetLiveSettings() *IndexLiveSettings
func (*CreateIndexRequest) GetSettings ¶ added in v0.18.0
func (x *CreateIndexRequest) GetSettings() *IndexSettings
func (*CreateIndexRequest) GetStart ¶ added in v0.18.0
func (x *CreateIndexRequest) GetStart() bool
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, nGram, pathHierarchy, pattern, simplePatternSplit, simplePattern, 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 CustomRequest ¶ added in v0.11.0
type CustomRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID defined for custom requests in a plugin Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Custom path that is defined in a plugin that maps to a route Params map[string]string `` // Parameters that can be processed by the plugin at the specified path /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CustomRequest) Descriptor
deprecated
added in
v0.11.0
func (*CustomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CustomRequest.ProtoReflect.Descriptor instead.
func (*CustomRequest) GetId ¶ added in v0.11.0
func (x *CustomRequest) GetId() string
func (*CustomRequest) GetParams ¶ added in v0.11.0
func (x *CustomRequest) GetParams() map[string]string
func (*CustomRequest) GetPath ¶ added in v0.11.0
func (x *CustomRequest) GetPath() string
func (*CustomRequest) ProtoMessage ¶ added in v0.11.0
func (*CustomRequest) ProtoMessage()
func (*CustomRequest) ProtoReflect ¶ added in v0.11.0
func (x *CustomRequest) ProtoReflect() protoreflect.Message
func (*CustomRequest) Reset ¶ added in v0.11.0
func (x *CustomRequest) Reset()
func (*CustomRequest) String ¶ added in v0.11.0
func (x *CustomRequest) String() string
type CustomResponse ¶ added in v0.11.0
type CustomResponse struct { Response map[string]string `` // Custom response sent by the plugin /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CustomResponse) Descriptor
deprecated
added in
v0.11.0
func (*CustomResponse) Descriptor() ([]byte, []int)
Deprecated: Use CustomResponse.ProtoReflect.Descriptor instead.
func (*CustomResponse) GetResponse ¶ added in v0.11.0
func (x *CustomResponse) GetResponse() map[string]string
func (*CustomResponse) ProtoMessage ¶ added in v0.11.0
func (*CustomResponse) ProtoMessage()
func (*CustomResponse) ProtoReflect ¶ added in v0.11.0
func (x *CustomResponse) ProtoReflect() protoreflect.Message
func (*CustomResponse) Reset ¶ added in v0.11.0
func (x *CustomResponse) Reset()
func (*CustomResponse) String ¶ added in v0.11.0
func (x *CustomResponse) 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 *structpb.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. // Deprecated: Do not use. Highlight bool `protobuf:"varint,10,opt,name=highlight,proto3" json:"highlight,omitempty"` // This parameter would be ignored 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) 3) "strict_date_optional_time" (date with optional time in pattern of "yyyy-MM-dd['T'HH:mm:ss[.SSS]]") 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 *structpb.Struct `protobuf:"bytes,24,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"` // Additional info needed to configure field, used for CUSTOM types. SimilarityParams *structpb.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 VectorDimensions int32 `protobuf:"varint,29,opt,name=vectorDimensions,proto3" json:"vectorDimensions,omitempty"` // Dimensions for vector field type // If field based global ordinals should be built up front, otherwise this is done lazily on first access. Currently only for fields with text doc values (TEXT/ATOM). EagerFieldGlobalOrdinals bool `protobuf:"varint,30,opt,name=eagerFieldGlobalOrdinals,proto3" json:"eagerFieldGlobalOrdinals,omitempty"` // For arrays of strings, ignoreAbove will be applied for each array element separately and string elements longer than ignore_above will not be indexed or stored. // This option is also useful for protecting against Lucene’s term byte-length limit of 32766 IgnoreAbove *int32 `protobuf:"varint,36,opt,name=ignoreAbove,proto3,oneof" json:"ignoreAbove,omitempty"` // 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) GetEagerFieldGlobalOrdinals ¶ added in v0.13.0
func (*Field) GetEagerGlobalOrdinals ¶
func (*Field) GetFacetIndexFieldName ¶
func (*Field) GetHighlight
deprecated
func (*Field) GetIgnoreAbove ¶ added in v0.41.0
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) GetVectorDimensions ¶ added in v0.10.5
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 // List of float values FieldType_VECTOR FieldType = 15 FieldType_CONTEXT_SUGGEST FieldType = 16 //Field used for contextual suggest fields // Runtime fields FieldType_RUNTIME FieldType = 17 )
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"` // index id IndexId string `protobuf:"bytes,5,opt,name=indexId,proto3" json:"indexId,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetAckSeqNum ¶
func (*FileInfo) GetFileName ¶
func (*FileInfo) GetFpStart ¶
func (*FileInfo) GetIndexId ¶ added in v0.39.0
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 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 FilterCollector ¶ added in v0.19.0
type FilterCollector struct { // Types that are assignable to Filter: // // *FilterCollector_Query // *FilterCollector_SetQuery Filter isFilterCollector_Filter `protobuf_oneof:"Filter"` // contains filtered or unexported fields }
Definition of filtering collector, there must be at least one nested collector specified in the Collector message.
func (*FilterCollector) Descriptor
deprecated
added in
v0.19.0
func (*FilterCollector) Descriptor() ([]byte, []int)
Deprecated: Use FilterCollector.ProtoReflect.Descriptor instead.
func (*FilterCollector) GetFilter ¶ added in v0.19.0
func (m *FilterCollector) GetFilter() isFilterCollector_Filter
func (*FilterCollector) GetQuery ¶ added in v0.19.0
func (x *FilterCollector) GetQuery() *Query
func (*FilterCollector) GetSetQuery ¶ added in v0.19.0
func (x *FilterCollector) GetSetQuery() *TermInSetQuery
func (*FilterCollector) ProtoMessage ¶ added in v0.19.0
func (*FilterCollector) ProtoMessage()
func (*FilterCollector) ProtoReflect ¶ added in v0.19.0
func (x *FilterCollector) ProtoReflect() protoreflect.Message
func (*FilterCollector) Reset ¶ added in v0.19.0
func (x *FilterCollector) Reset()
func (*FilterCollector) String ¶ added in v0.19.0
func (x *FilterCollector) String() string
type FilterCollector_Query ¶ added in v0.19.0
type FilterCollector_Query struct { // Only propagate documents that match the given query. Query *Query `protobuf:"bytes,1,opt,name=query,proto3,oneof"` }
type FilterCollector_SetQuery ¶ added in v0.19.0
type FilterCollector_SetQuery struct { // Specialized implementation for set queries, checks if field doc values are in the provided set. This can be useful for large set sizes with lower recall, where building the scorer would be expensive. SetQuery *TermInSetQuery `protobuf:"bytes,2,opt,name=setQuery,proto3,oneof"` }
type FilterResult ¶ added in v0.19.0
type FilterResult struct { // Number of documents that passed the filter. DocCount int32 `protobuf:"varint,1,opt,name=docCount,proto3" json:"docCount,omitempty"` // Results from nested collectors. NestedCollectorResults map[string]*CollectorResult `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FilterResult) Descriptor
deprecated
added in
v0.19.0
func (*FilterResult) Descriptor() ([]byte, []int)
Deprecated: Use FilterResult.ProtoReflect.Descriptor instead.
func (*FilterResult) GetDocCount ¶ added in v0.19.0
func (x *FilterResult) GetDocCount() int32
func (*FilterResult) GetNestedCollectorResults ¶ added in v0.19.0
func (x *FilterResult) GetNestedCollectorResults() map[string]*CollectorResult
func (*FilterResult) ProtoMessage ¶ added in v0.19.0
func (*FilterResult) ProtoMessage()
func (*FilterResult) ProtoReflect ¶ added in v0.19.0
func (x *FilterResult) ProtoReflect() protoreflect.Message
func (*FilterResult) Reset ¶ added in v0.19.0
func (x *FilterResult) Reset()
func (*FilterResult) String ¶ added in v0.19.0
func (x *FilterResult) 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. Either set this or auto. 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, comparisons will implement the classic Levenshtein algorithm. Default is true. Auto *FuzzyParams_AutoFuzziness `protobuf:"bytes,5,opt,name=auto,proto3" json:"auto,omitempty"` // Auto fuzziness which determines the max edits based on the term length. AUTO is the preferred setting. Either set this or maxEdits. // contains filtered or unexported fields }
func (*FuzzyParams) Descriptor
deprecated
func (*FuzzyParams) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyParams.ProtoReflect.Descriptor instead.
func (*FuzzyParams) GetAuto ¶ added in v0.37.0
func (x *FuzzyParams) GetAuto() *FuzzyParams_AutoFuzziness
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 FuzzyParams_AutoFuzziness ¶ added in v0.37.0
type FuzzyParams_AutoFuzziness struct { Low int32 `protobuf:"varint,6,opt,name=low,proto3" json:"low,omitempty"` // Optional low distance argument. High int32 `protobuf:"varint,7,opt,name=high,proto3" json:"high,omitempty"` // Optional high distance argument. // contains filtered or unexported fields }
Optional low and high values for auto fuzziness. Defaults to low: 3 and high: 6 if both are unset. Valid values are low >= 0 and low < high
func (*FuzzyParams_AutoFuzziness) Descriptor
deprecated
added in
v0.37.0
func (*FuzzyParams_AutoFuzziness) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyParams_AutoFuzziness.ProtoReflect.Descriptor instead.
func (*FuzzyParams_AutoFuzziness) GetHigh ¶ added in v0.37.0
func (x *FuzzyParams_AutoFuzziness) GetHigh() int32
func (*FuzzyParams_AutoFuzziness) GetLow ¶ added in v0.37.0
func (x *FuzzyParams_AutoFuzziness) GetLow() int32
func (*FuzzyParams_AutoFuzziness) ProtoMessage ¶ added in v0.37.0
func (*FuzzyParams_AutoFuzziness) ProtoMessage()
func (*FuzzyParams_AutoFuzziness) ProtoReflect ¶ added in v0.37.0
func (x *FuzzyParams_AutoFuzziness) ProtoReflect() protoreflect.Message
func (*FuzzyParams_AutoFuzziness) Reset ¶ added in v0.37.0
func (x *FuzzyParams_AutoFuzziness) Reset()
func (*FuzzyParams_AutoFuzziness) String ¶ added in v0.37.0
func (x *FuzzyParams_AutoFuzziness) String() string
type FuzzyQuery ¶ added in v0.39.0
type FuzzyQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // The maximum allowed Levenshtein Edit Distance (or number of edits). Possible values are 0, 1 and 2. Either set this or auto. Default is 2. MaxEdits *int32 `protobuf:"varint,3,opt,name=maxEdits,proto3,oneof" json:"maxEdits,omitempty"` // Length of common (non-fuzzy) prefix. Default is 0. PrefixLength *int32 `protobuf:"varint,4,opt,name=prefixLength,proto3,oneof" json:"prefixLength,omitempty"` // The maximum number of terms to match. Default is 50. MaxExpansions *int32 `protobuf:"varint,5,opt,name=maxExpansions,proto3,oneof" json:"maxExpansions,omitempty"` // True if transpositions should be treated as a primitive edit operation. If this is false, comparisons will implement the classic Levenshtein algorithm. Default is true. Transpositions *bool `protobuf:"varint,6,opt,name=transpositions,proto3,oneof" json:"transpositions,omitempty"` // Method used to rewrite the query. Rewrite RewriteMethod `protobuf:"varint,7,opt,name=rewrite,proto3,enum=luceneserver.RewriteMethod" json:"rewrite,omitempty"` // Specifies the size to use for the TOP_TERMS* rewrite methods. RewriteTopTermsSize int32 `protobuf:"varint,8,opt,name=rewriteTopTermsSize,proto3" json:"rewriteTopTermsSize,omitempty"` Auto *FuzzyParams_AutoFuzziness `protobuf:"bytes,9,opt,name=auto,proto3" json:"auto,omitempty"` // Auto fuzziness which determines the max edits based on the term length. AUTO is the preferred setting. Either set this or maxEdits. // contains filtered or unexported fields }
A query that matches documents containing terms similar to the specified term.
func (*FuzzyQuery) Descriptor
deprecated
added in
v0.39.0
func (*FuzzyQuery) Descriptor() ([]byte, []int)
Deprecated: Use FuzzyQuery.ProtoReflect.Descriptor instead.
func (*FuzzyQuery) GetAuto ¶ added in v0.40.0
func (x *FuzzyQuery) GetAuto() *FuzzyParams_AutoFuzziness
func (*FuzzyQuery) GetField ¶ added in v0.39.0
func (x *FuzzyQuery) GetField() string
func (*FuzzyQuery) GetMaxEdits ¶ added in v0.39.0
func (x *FuzzyQuery) GetMaxEdits() int32
func (*FuzzyQuery) GetMaxExpansions ¶ added in v0.39.0
func (x *FuzzyQuery) GetMaxExpansions() int32
func (*FuzzyQuery) GetPrefixLength ¶ added in v0.39.0
func (x *FuzzyQuery) GetPrefixLength() int32
func (*FuzzyQuery) GetRewrite ¶ added in v0.39.0
func (x *FuzzyQuery) GetRewrite() RewriteMethod
func (*FuzzyQuery) GetRewriteTopTermsSize ¶ added in v0.39.0
func (x *FuzzyQuery) GetRewriteTopTermsSize() int32
func (*FuzzyQuery) GetText ¶ added in v0.39.0
func (x *FuzzyQuery) GetText() string
func (*FuzzyQuery) GetTranspositions ¶ added in v0.39.0
func (x *FuzzyQuery) GetTranspositions() bool
func (*FuzzyQuery) ProtoMessage ¶ added in v0.39.0
func (*FuzzyQuery) ProtoMessage()
func (*FuzzyQuery) ProtoReflect ¶ added in v0.39.0
func (x *FuzzyQuery) ProtoReflect() protoreflect.Message
func (*FuzzyQuery) Reset ¶ added in v0.39.0
func (x *FuzzyQuery) Reset()
func (*FuzzyQuery) String ¶ added in v0.39.0
func (x *FuzzyQuery) 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 GeoPolygonQuery ¶ added in v0.30.0
type GeoPolygonQuery struct { // Field in the document to query Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Geo polygons to search for containing points Polygons []*Polygon `protobuf:"bytes,2,rep,name=polygons,proto3" json:"polygons,omitempty"` // contains filtered or unexported fields }
A query that matches documents with geo points within polygons
func (*GeoPolygonQuery) Descriptor
deprecated
added in
v0.30.0
func (*GeoPolygonQuery) Descriptor() ([]byte, []int)
Deprecated: Use GeoPolygonQuery.ProtoReflect.Descriptor instead.
func (*GeoPolygonQuery) GetField ¶ added in v0.30.0
func (x *GeoPolygonQuery) GetField() string
func (*GeoPolygonQuery) GetPolygons ¶ added in v0.30.0
func (x *GeoPolygonQuery) GetPolygons() []*Polygon
func (*GeoPolygonQuery) ProtoMessage ¶ added in v0.30.0
func (*GeoPolygonQuery) ProtoMessage()
func (*GeoPolygonQuery) ProtoReflect ¶ added in v0.30.0
func (x *GeoPolygonQuery) ProtoReflect() protoreflect.Message
func (*GeoPolygonQuery) Reset ¶ added in v0.30.0
func (x *GeoPolygonQuery) Reset()
func (*GeoPolygonQuery) String ¶ added in v0.30.0
func (x *GeoPolygonQuery) 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 GlobalStateInfo ¶ added in v0.12.0
type GlobalStateInfo struct { // State version generation Gen int64 `protobuf:"varint,1,opt,name=gen,proto3" json:"gen,omitempty"` // Global state for indices Indices map[string]*IndexGlobalState `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GlobalStateInfo) Descriptor
deprecated
added in
v0.12.0
func (*GlobalStateInfo) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateInfo.ProtoReflect.Descriptor instead.
func (*GlobalStateInfo) GetGen ¶ added in v0.12.0
func (x *GlobalStateInfo) GetGen() int64
func (*GlobalStateInfo) GetIndices ¶ added in v0.12.0
func (x *GlobalStateInfo) GetIndices() map[string]*IndexGlobalState
func (*GlobalStateInfo) ProtoMessage ¶ added in v0.12.0
func (*GlobalStateInfo) ProtoMessage()
func (*GlobalStateInfo) ProtoReflect ¶ added in v0.12.0
func (x *GlobalStateInfo) ProtoReflect() protoreflect.Message
func (*GlobalStateInfo) Reset ¶ added in v0.12.0
func (x *GlobalStateInfo) Reset()
func (*GlobalStateInfo) String ¶ added in v0.12.0
func (x *GlobalStateInfo) 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 Highlight ¶ added in v0.14.0
type Highlight struct { // Highlight settings Settings *Highlight_Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // Fields to highlight Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // Map of field name to highlight settings for field, overrides request level highlight settings FieldSettings map[string]*Highlight_Settings `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
Specify how to highlight matched text in SearchRequest
func (*Highlight) Descriptor
deprecated
added in
v0.14.0
func (*Highlight) GetFieldSettings ¶ added in v0.14.0
func (x *Highlight) GetFieldSettings() map[string]*Highlight_Settings
func (*Highlight) GetSettings ¶ added in v0.14.0
func (x *Highlight) GetSettings() *Highlight_Settings
func (*Highlight) ProtoMessage ¶ added in v0.14.0
func (*Highlight) ProtoMessage()
func (*Highlight) ProtoReflect ¶ added in v0.14.0
func (x *Highlight) ProtoReflect() protoreflect.Message
type Highlight_Settings ¶ added in v0.14.0
type Highlight_Settings struct { // Specify type of highlighter to use. Ignored right now in nrtsearch. HighlighterType Highlight_Type `` /* 140-byte string literal not displayed */ // Used along with post_tags to specify how to wrap the highlighted text. PreTags []string `protobuf:"bytes,2,rep,name=pre_tags,json=preTags,proto3" json:"pre_tags,omitempty"` // Used along with pre_tags to specify how to wrap the highlighted text. PostTags []string `protobuf:"bytes,3,rep,name=post_tags,json=postTags,proto3" json:"post_tags,omitempty"` // Number of characters in highlighted fragment, 100 by default. Set it to be 0 to fetch the entire field. FragmentSize *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=fragment_size,json=fragmentSize,proto3" json:"fragment_size,omitempty"` // Maximum number of highlight fragments to return, 5 by default. If set to 0 returns entire text as a single fragment ignoring fragment_size. MaxNumberOfFragments *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=max_number_of_fragments,json=maxNumberOfFragments,proto3" json:"max_number_of_fragments,omitempty"` // Specify a query here if highlighting is desired against a different query than the search query. HighlightQuery *Query `protobuf:"bytes,6,opt,name=highlight_query,json=highlightQuery,proto3" json:"highlight_query,omitempty"` // Set to true to highlight fields only if specified in the search query. FieldMatch *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=field_match,json=fieldMatch,proto3" json:"field_match,omitempty"` // Sorts highlighted fragments by score when set to true. By default, fragments will be output in the order they appear in the field. (Default is true) ScoreOrdered *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=score_ordered,json=scoreOrdered,proto3" json:"score_ordered,omitempty"` // Select Fragmenter between span (default) and simple. This is only applicable for plain highlighters. Fragmenter *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=fragmenter,proto3" json:"fragmenter,omitempty"` // Let the fragment builder respect the multivalue fields. Each fragment won't cross multiple value fields if set true. (Default is false) DiscreteMultivalue *wrapperspb.BoolValue `protobuf:"bytes,10,opt,name=discrete_multivalue,json=discreteMultivalue,proto3" json:"discrete_multivalue,omitempty"` // When highlighter_type is CUSTOM, use this string identifier to specify the highlighter. It is ignored for any other highlighter_types. CustomHighlighterName string `` /* 127-byte string literal not displayed */ // Optional Custom parameters for custom highlighters. If a field overriding is present, the global setting will be omitted for this field, and no merge will happen. CustomHighlighterParams *structpb.Struct `` /* 133-byte string literal not displayed */ // Define the boundary decision when creating fragments. Options are "simple" (default in fast vector highlighter), "word" or "sentence". BoundaryScanner *wrapperspb.StringValue `protobuf:"bytes,13,opt,name=boundary_scanner,json=boundaryScanner,proto3" json:"boundary_scanner,omitempty"` // Terminating chars when using "simple" boundary_scanner. The default is ".,!? \t\n". BoundaryChars *wrapperspb.StringValue `protobuf:"bytes,14,opt,name=boundary_chars,json=boundaryChars,proto3" json:"boundary_chars,omitempty"` // Number of chars to scan before finding the boundary_chars if using "simple" boundary scanner; If "boundary_chars" is not found after max scan, fragments will start/end at the original place. Default is 20. BoundaryMaxScan *wrapperspb.UInt32Value `protobuf:"bytes,15,opt,name=boundary_max_scan,json=boundaryMaxScan,proto3" json:"boundary_max_scan,omitempty"` // Locale used in boundary scanner when using "word" or "sentence" boundary_scanner. Examples: "en-US", "ch-ZH". BoundaryScannerLocale *wrapperspb.StringValue `` /* 127-byte string literal not displayed */ // Only highlight the top matched phrases (with the highest boost value) per fragment. By default, it is false. TopBoostOnly *wrapperspb.BoolValue `protobuf:"bytes,17,opt,name=top_boost_only,json=topBoostOnly,proto3" json:"top_boost_only,omitempty"` // contains filtered or unexported fields }
func (*Highlight_Settings) Descriptor
deprecated
added in
v0.14.0
func (*Highlight_Settings) Descriptor() ([]byte, []int)
Deprecated: Use Highlight_Settings.ProtoReflect.Descriptor instead.
func (*Highlight_Settings) GetBoundaryChars ¶ added in v0.26.0
func (x *Highlight_Settings) GetBoundaryChars() *wrapperspb.StringValue
func (*Highlight_Settings) GetBoundaryMaxScan ¶ added in v0.26.0
func (x *Highlight_Settings) GetBoundaryMaxScan() *wrapperspb.UInt32Value
func (*Highlight_Settings) GetBoundaryScanner ¶ added in v0.26.0
func (x *Highlight_Settings) GetBoundaryScanner() *wrapperspb.StringValue
func (*Highlight_Settings) GetBoundaryScannerLocale ¶ added in v0.26.0
func (x *Highlight_Settings) GetBoundaryScannerLocale() *wrapperspb.StringValue
func (*Highlight_Settings) GetCustomHighlighterName ¶ added in v0.21.0
func (x *Highlight_Settings) GetCustomHighlighterName() string
func (*Highlight_Settings) GetCustomHighlighterParams ¶ added in v0.23.0
func (x *Highlight_Settings) GetCustomHighlighterParams() *structpb.Struct
func (*Highlight_Settings) GetDiscreteMultivalue ¶ added in v0.21.0
func (x *Highlight_Settings) GetDiscreteMultivalue() *wrapperspb.BoolValue
func (*Highlight_Settings) GetFieldMatch ¶ added in v0.17.0
func (x *Highlight_Settings) GetFieldMatch() *wrapperspb.BoolValue
func (*Highlight_Settings) GetFragmentSize ¶ added in v0.14.0
func (x *Highlight_Settings) GetFragmentSize() *wrapperspb.UInt32Value
func (*Highlight_Settings) GetFragmenter ¶ added in v0.21.0
func (x *Highlight_Settings) GetFragmenter() *wrapperspb.StringValue
func (*Highlight_Settings) GetHighlightQuery ¶ added in v0.14.0
func (x *Highlight_Settings) GetHighlightQuery() *Query
func (*Highlight_Settings) GetHighlighterType ¶ added in v0.14.0
func (x *Highlight_Settings) GetHighlighterType() Highlight_Type
func (*Highlight_Settings) GetMaxNumberOfFragments ¶ added in v0.14.0
func (x *Highlight_Settings) GetMaxNumberOfFragments() *wrapperspb.UInt32Value
func (*Highlight_Settings) GetPostTags ¶ added in v0.14.0
func (x *Highlight_Settings) GetPostTags() []string
func (*Highlight_Settings) GetPreTags ¶ added in v0.14.0
func (x *Highlight_Settings) GetPreTags() []string
func (*Highlight_Settings) GetScoreOrdered ¶ added in v0.21.0
func (x *Highlight_Settings) GetScoreOrdered() *wrapperspb.BoolValue
func (*Highlight_Settings) GetTopBoostOnly ¶ added in v0.42.1
func (x *Highlight_Settings) GetTopBoostOnly() *wrapperspb.BoolValue
func (*Highlight_Settings) ProtoMessage ¶ added in v0.14.0
func (*Highlight_Settings) ProtoMessage()
func (*Highlight_Settings) ProtoReflect ¶ added in v0.14.0
func (x *Highlight_Settings) ProtoReflect() protoreflect.Message
func (*Highlight_Settings) Reset ¶ added in v0.14.0
func (x *Highlight_Settings) Reset()
func (*Highlight_Settings) String ¶ added in v0.14.0
func (x *Highlight_Settings) String() string
type Highlight_Type ¶ added in v0.14.0
type Highlight_Type int32
const ( // When DEFAULT is set in global setting, use fast vector highlighter; when set for field setting, use the type from the global setting. Highlight_DEFAULT Highlight_Type = 0 Highlight_FAST_VECTOR Highlight_Type = 1 // not supported yet Highlight_PLAIN Highlight_Type = 2 Highlight_CUSTOM Highlight_Type = 3 )
func (Highlight_Type) Descriptor ¶ added in v0.14.0
func (Highlight_Type) Descriptor() protoreflect.EnumDescriptor
func (Highlight_Type) Enum ¶ added in v0.14.0
func (x Highlight_Type) Enum() *Highlight_Type
func (Highlight_Type) EnumDescriptor
deprecated
added in
v0.14.0
func (Highlight_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Highlight_Type.Descriptor instead.
func (Highlight_Type) Number ¶ added in v0.14.0
func (x Highlight_Type) Number() protoreflect.EnumNumber
func (Highlight_Type) String ¶ added in v0.14.0
func (x Highlight_Type) String() string
func (Highlight_Type) Type ¶ added in v0.14.0
func (Highlight_Type) Type() protoreflect.EnumType
type HitsResult ¶ added in v0.13.0
type HitsResult struct { // Total hit information. TotalHits *TotalHits `protobuf:"bytes,3,opt,name=totalHits,proto3" json:"totalHits,omitempty"` // Ordered hits with scoring/sorting info and retrieved fields. Hits []*SearchResponse_Hit `protobuf:"bytes,4,rep,name=hits,proto3" json:"hits,omitempty"` // contains filtered or unexported fields }
func (*HitsResult) Descriptor
deprecated
added in
v0.13.0
func (*HitsResult) Descriptor() ([]byte, []int)
Deprecated: Use HitsResult.ProtoReflect.Descriptor instead.
func (*HitsResult) GetHits ¶ added in v0.13.0
func (x *HitsResult) GetHits() []*SearchResponse_Hit
func (*HitsResult) GetTotalHits ¶ added in v0.13.0
func (x *HitsResult) GetTotalHits() *TotalHits
func (*HitsResult) ProtoMessage ¶ added in v0.13.0
func (*HitsResult) ProtoMessage()
func (*HitsResult) ProtoReflect ¶ added in v0.13.0
func (x *HitsResult) ProtoReflect() protoreflect.Message
func (*HitsResult) Reset ¶ added in v0.13.0
func (x *HitsResult) Reset()
func (*HitsResult) String ¶ added in v0.13.0
func (x *HitsResult) String() string
type IndexGlobalState ¶ added in v0.12.0
type IndexGlobalState struct { // Unique identifier for index (UUID) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If index should be started Started bool `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"` // contains filtered or unexported fields }
func (*IndexGlobalState) Descriptor
deprecated
added in
v0.12.0
func (*IndexGlobalState) Descriptor() ([]byte, []int)
Deprecated: Use IndexGlobalState.ProtoReflect.Descriptor instead.
func (*IndexGlobalState) GetId ¶ added in v0.12.0
func (x *IndexGlobalState) GetId() string
func (*IndexGlobalState) GetStarted ¶ added in v0.12.0
func (x *IndexGlobalState) GetStarted() bool
func (*IndexGlobalState) ProtoMessage ¶ added in v0.12.0
func (*IndexGlobalState) ProtoMessage()
func (*IndexGlobalState) ProtoReflect ¶ added in v0.12.0
func (x *IndexGlobalState) ProtoReflect() protoreflect.Message
func (*IndexGlobalState) Reset ¶ added in v0.12.0
func (x *IndexGlobalState) Reset()
func (*IndexGlobalState) String ¶ added in v0.12.0
func (x *IndexGlobalState) String() string
type IndexLiveSettings ¶ added in v0.11.0
type IndexLiveSettings struct { // Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0 MaxRefreshSec *wrapperspb.DoubleValue `protobuf:"bytes,1,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), default: 0.05 MinRefreshSec *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=minRefreshSec,proto3" json:"minRefreshSec,omitempty"` // Non-current searchers older than this are pruned, default: 60.0 MaxSearcherAgeSec *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=maxSearcherAgeSec,proto3" json:"maxSearcherAgeSec,omitempty"` // Size (in MB) of IndexWriter's RAM buffer, default: 16.0 IndexRamBufferSizeMB *wrapperspb.DoubleValue `protobuf:"bytes,4,opt,name=indexRamBufferSizeMB,proto3" json:"indexRamBufferSizeMB,omitempty"` // Max number of documents to add at a time, default: 100 AddDocumentsMaxBufferLen *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=addDocumentsMaxBufferLen,proto3" json:"addDocumentsMaxBufferLen,omitempty"` // Maximum number of documents allowed in a parallel search slice, default: 250,000 SliceMaxDocs *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=sliceMaxDocs,proto3" json:"sliceMaxDocs,omitempty"` // Maximum number of segments allowed in a parallel search slice, default: 5 SliceMaxSegments *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=sliceMaxSegments,proto3" json:"sliceMaxSegments,omitempty"` // Number of virtual shards to use for this index, default: 1 VirtualShards *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=virtualShards,proto3" json:"virtualShards,omitempty"` // Maximum sized segment to produce during normal merging, default: 5GB MaxMergedSegmentMB *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=maxMergedSegmentMB,proto3" json:"maxMergedSegmentMB,omitempty"` // Number of segments per tier used by TieredMergePolicy, default: 10 SegmentsPerTier *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=segmentsPerTier,proto3" json:"segmentsPerTier,omitempty"` // Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0 DefaultSearchTimeoutSec *wrapperspb.DoubleValue `protobuf:"bytes,11,opt,name=defaultSearchTimeoutSec,proto3" json:"defaultSearchTimeoutSec,omitempty"` // Timeout check every value to use when not specified in the search request, or 0 for none, default: 0 DefaultSearchTimeoutCheckEvery *wrapperspb.Int32Value `protobuf:"bytes,12,opt,name=defaultSearchTimeoutCheckEvery,proto3" json:"defaultSearchTimeoutCheckEvery,omitempty"` // Terminate after value to use when not specified in the search request, or 0 for none, default: 0 DefaultTerminateAfter *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=defaultTerminateAfter,proto3" json:"defaultTerminateAfter,omitempty"` // Merge precopy would be stopped after this time, or 0 for no checks, default: 0 MaxMergePreCopyDurationSec *wrapperspb.UInt64Value `protobuf:"bytes,14,opt,name=maxMergePreCopyDurationSec,proto3" json:"maxMergePreCopyDurationSec,omitempty"` // Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false VerboseMetrics *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=verboseMetrics,proto3" json:"verboseMetrics,omitempty"` // Terminate after max recall count value to use when not specified in the search request, or 0 for none, default: 0 DefaultTerminateAfterMaxRecallCount *wrapperspb.Int32Value `protobuf:"bytes,18,opt,name=defaultTerminateAfterMaxRecallCount,proto3" json:"defaultTerminateAfterMaxRecallCount,omitempty"` // contains filtered or unexported fields }
func (*IndexLiveSettings) Descriptor
deprecated
added in
v0.11.0
func (*IndexLiveSettings) Descriptor() ([]byte, []int)
Deprecated: Use IndexLiveSettings.ProtoReflect.Descriptor instead.
func (*IndexLiveSettings) GetAddDocumentsMaxBufferLen ¶ added in v0.11.0
func (x *IndexLiveSettings) GetAddDocumentsMaxBufferLen() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetDefaultSearchTimeoutCheckEvery ¶ added in v0.11.0
func (x *IndexLiveSettings) GetDefaultSearchTimeoutCheckEvery() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetDefaultSearchTimeoutSec ¶ added in v0.11.0
func (x *IndexLiveSettings) GetDefaultSearchTimeoutSec() *wrapperspb.DoubleValue
func (*IndexLiveSettings) GetDefaultTerminateAfter ¶ added in v0.11.0
func (x *IndexLiveSettings) GetDefaultTerminateAfter() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetDefaultTerminateAfterMaxRecallCount ¶ added in v0.41.0
func (x *IndexLiveSettings) GetDefaultTerminateAfterMaxRecallCount() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetIndexRamBufferSizeMB ¶ added in v0.11.0
func (x *IndexLiveSettings) GetIndexRamBufferSizeMB() *wrapperspb.DoubleValue
func (*IndexLiveSettings) GetMaxMergePreCopyDurationSec ¶ added in v0.17.0
func (x *IndexLiveSettings) GetMaxMergePreCopyDurationSec() *wrapperspb.UInt64Value
func (*IndexLiveSettings) GetMaxMergedSegmentMB ¶ added in v0.11.0
func (x *IndexLiveSettings) GetMaxMergedSegmentMB() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetMaxRefreshSec ¶ added in v0.11.0
func (x *IndexLiveSettings) GetMaxRefreshSec() *wrapperspb.DoubleValue
func (*IndexLiveSettings) GetMaxSearcherAgeSec ¶ added in v0.11.0
func (x *IndexLiveSettings) GetMaxSearcherAgeSec() *wrapperspb.DoubleValue
func (*IndexLiveSettings) GetMinRefreshSec ¶ added in v0.11.0
func (x *IndexLiveSettings) GetMinRefreshSec() *wrapperspb.DoubleValue
func (*IndexLiveSettings) GetSegmentsPerTier ¶ added in v0.11.0
func (x *IndexLiveSettings) GetSegmentsPerTier() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetSliceMaxDocs ¶ added in v0.11.0
func (x *IndexLiveSettings) GetSliceMaxDocs() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetSliceMaxSegments ¶ added in v0.11.0
func (x *IndexLiveSettings) GetSliceMaxSegments() *wrapperspb.Int32Value
func (*IndexLiveSettings) GetVerboseMetrics ¶ added in v0.29.0
func (x *IndexLiveSettings) GetVerboseMetrics() *wrapperspb.BoolValue
func (*IndexLiveSettings) GetVirtualShards ¶ added in v0.11.0
func (x *IndexLiveSettings) GetVirtualShards() *wrapperspb.Int32Value
func (*IndexLiveSettings) ProtoMessage ¶ added in v0.11.0
func (*IndexLiveSettings) ProtoMessage()
func (*IndexLiveSettings) ProtoReflect ¶ added in v0.11.0
func (x *IndexLiveSettings) ProtoReflect() protoreflect.Message
func (*IndexLiveSettings) Reset ¶ added in v0.11.0
func (x *IndexLiveSettings) Reset()
func (*IndexLiveSettings) String ¶ added in v0.11.0
func (x *IndexLiveSettings) 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 IndexSettings ¶ added in v0.11.0
type IndexSettings struct { // Largest merged segment size to cache in RAMDirectory, default: 5.0MB NrtCachingDirectoryMaxMergeSizeMB *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=nrtCachingDirectoryMaxMergeSizeMB,proto3" json:"nrtCachingDirectoryMaxMergeSizeMB,omitempty"` // Largest overall size for all files cached in NRTCachingDirectory, default: 60.0MB NrtCachingDirectoryMaxSizeMB *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=nrtCachingDirectoryMaxSizeMB,proto3" json:"nrtCachingDirectoryMaxSizeMB,omitempty"` // How many merge threads to allow at once ConcurrentMergeSchedulerMaxThreadCount *wrapperspb.Int32Value `` /* 129-byte string literal not displayed */ // Maximum backlog of pending merges before indexing threads are stalled ConcurrentMergeSchedulerMaxMergeCount *wrapperspb.Int32Value `` /* 127-byte string literal not displayed */ // Index time sorting; can only be written once", SearchHandler.SORT_TYPE IndexSort *SortFields `protobuf:"bytes,5,opt,name=indexSort,proto3" json:"indexSort,omitempty"` // Turn on/off the merge scheduler's auto throttling, default: off IndexMergeSchedulerAutoThrottle *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=indexMergeSchedulerAutoThrottle,proto3" json:"indexMergeSchedulerAutoThrottle,omitempty"` // 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 *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"` // contains filtered or unexported fields }
func (*IndexSettings) Descriptor
deprecated
added in
v0.11.0
func (*IndexSettings) Descriptor() ([]byte, []int)
Deprecated: Use IndexSettings.ProtoReflect.Descriptor instead.
func (*IndexSettings) GetConcurrentMergeSchedulerMaxMergeCount ¶ added in v0.11.0
func (x *IndexSettings) GetConcurrentMergeSchedulerMaxMergeCount() *wrapperspb.Int32Value
func (*IndexSettings) GetConcurrentMergeSchedulerMaxThreadCount ¶ added in v0.11.0
func (x *IndexSettings) GetConcurrentMergeSchedulerMaxThreadCount() *wrapperspb.Int32Value
func (*IndexSettings) GetDirectory ¶ added in v0.11.0
func (x *IndexSettings) GetDirectory() *wrapperspb.StringValue
func (*IndexSettings) GetIndexMergeSchedulerAutoThrottle ¶ added in v0.11.0
func (x *IndexSettings) GetIndexMergeSchedulerAutoThrottle() *wrapperspb.BoolValue
func (*IndexSettings) GetIndexSort ¶ added in v0.11.0
func (x *IndexSettings) GetIndexSort() *SortFields
func (*IndexSettings) GetNrtCachingDirectoryMaxMergeSizeMB ¶ added in v0.11.0
func (x *IndexSettings) GetNrtCachingDirectoryMaxMergeSizeMB() *wrapperspb.DoubleValue
func (*IndexSettings) GetNrtCachingDirectoryMaxSizeMB ¶ added in v0.11.0
func (x *IndexSettings) GetNrtCachingDirectoryMaxSizeMB() *wrapperspb.DoubleValue
func (*IndexSettings) ProtoMessage ¶ added in v0.11.0
func (*IndexSettings) ProtoMessage()
func (*IndexSettings) ProtoReflect ¶ added in v0.11.0
func (x *IndexSettings) ProtoReflect() protoreflect.Message
func (*IndexSettings) Reset ¶ added in v0.11.0
func (x *IndexSettings) Reset()
func (*IndexSettings) String ¶ added in v0.11.0
func (x *IndexSettings) String() string
type IndexStateInfo ¶ added in v0.11.0
type IndexStateInfo struct { // Name of the index IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // State version generation Gen int64 `protobuf:"varint,2,opt,name=gen,proto3" json:"gen,omitempty"` // If this index has ever been committed Committed bool `protobuf:"varint,3,opt,name=committed,proto3" json:"committed,omitempty"` // Index settings Settings *IndexSettings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"` // Index live settings LiveSettings *IndexLiveSettings `protobuf:"bytes,5,opt,name=liveSettings,proto3" json:"liveSettings,omitempty"` // Registered fields Fields map[string]*Field `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IndexStateInfo) Descriptor
deprecated
added in
v0.11.0
func (*IndexStateInfo) Descriptor() ([]byte, []int)
Deprecated: Use IndexStateInfo.ProtoReflect.Descriptor instead.
func (*IndexStateInfo) GetCommitted ¶ added in v0.11.0
func (x *IndexStateInfo) GetCommitted() bool
func (*IndexStateInfo) GetFields ¶ added in v0.11.0
func (x *IndexStateInfo) GetFields() map[string]*Field
func (*IndexStateInfo) GetGen ¶ added in v0.11.0
func (x *IndexStateInfo) GetGen() int64
func (*IndexStateInfo) GetIndexName ¶ added in v0.11.0
func (x *IndexStateInfo) GetIndexName() string
func (*IndexStateInfo) GetLiveSettings ¶ added in v0.11.0
func (x *IndexStateInfo) GetLiveSettings() *IndexLiveSettings
func (*IndexStateInfo) GetSettings ¶ added in v0.11.0
func (x *IndexStateInfo) GetSettings() *IndexSettings
func (*IndexStateInfo) ProtoMessage ¶ added in v0.11.0
func (*IndexStateInfo) ProtoMessage()
func (*IndexStateInfo) ProtoReflect ¶ added in v0.11.0
func (x *IndexStateInfo) ProtoReflect() protoreflect.Message
func (*IndexStateInfo) Reset ¶ added in v0.11.0
func (x *IndexStateInfo) Reset()
func (*IndexStateInfo) String ¶ added in v0.11.0
func (x *IndexStateInfo) String() string
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 InnerHit ¶ added in v0.25.0
type InnerHit struct { // Nested path to search against assuming same index as the parent Query. QueryNestedPath string `protobuf:"bytes,1,opt,name=query_nested_path,json=queryNestedPath,proto3" json:"query_nested_path,omitempty"` // Which hit to start from (for pagination); default: 0 StartHit int32 `protobuf:"varint,2,opt,name=start_hit,json=startHit,proto3" json:"start_hit,omitempty"` // How many top hits to retrieve; default: 3. It limits the hits returned, starting from index 0. For pagination: set it to startHit + window_size. TopHits int32 `protobuf:"varint,3,opt,name=top_hits,json=topHits,proto3" json:"top_hits,omitempty"` // InnerHit query to query against the nested documents specified by queryNestedPath. InnerQuery *Query `protobuf:"bytes,4,opt,name=inner_query,json=innerQuery,proto3" json:"inner_query,omitempty"` // Fields to retrieve; Parent's fields except its id field are unavailable in the innerHit. RetrieveFields []string `protobuf:"bytes,5,rep,name=retrieve_fields,json=retrieveFields,proto3" json:"retrieve_fields,omitempty"` // Sort hits by field (default is by relevance). QuerySort *QuerySortField `protobuf:"bytes,6,opt,name=query_sort,json=querySort,proto3" json:"query_sort,omitempty"` // Highlight the children documents. Highlight *Highlight `protobuf:"bytes,7,opt,name=highlight,proto3" json:"highlight,omitempty"` // contains filtered or unexported fields }
Inner Hit search request
func (*InnerHit) Descriptor
deprecated
added in
v0.25.0
func (*InnerHit) GetHighlight ¶ added in v0.25.0
func (*InnerHit) GetInnerQuery ¶ added in v0.25.0
func (*InnerHit) GetQueryNestedPath ¶ added in v0.25.0
func (*InnerHit) GetQuerySort ¶ added in v0.25.0
func (x *InnerHit) GetQuerySort() *QuerySortField
func (*InnerHit) GetRetrieveFields ¶ added in v0.25.0
func (*InnerHit) GetStartHit ¶ added in v0.25.0
func (*InnerHit) GetTopHits ¶ added in v0.25.0
func (*InnerHit) ProtoMessage ¶ added in v0.25.0
func (*InnerHit) ProtoMessage()
func (*InnerHit) ProtoReflect ¶ added in v0.25.0
func (x *InnerHit) ProtoReflect() protoreflect.Message
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 LastHitInfo ¶ added in v0.40.0
type LastHitInfo struct { LastFieldValues []string `protobuf:"bytes,1,rep,name=lastFieldValues,proto3" json:"lastFieldValues,omitempty"` LastDocId int32 `protobuf:"varint,2,opt,name=lastDocId,proto3" json:"lastDocId,omitempty"` LastScore float32 `protobuf:"fixed32,3,opt,name=lastScore,proto3" json:"lastScore,omitempty"` // contains filtered or unexported fields }
Last Hit info for search after
func (*LastHitInfo) Descriptor
deprecated
added in
v0.40.0
func (*LastHitInfo) Descriptor() ([]byte, []int)
Deprecated: Use LastHitInfo.ProtoReflect.Descriptor instead.
func (*LastHitInfo) GetLastDocId ¶ added in v0.40.0
func (x *LastHitInfo) GetLastDocId() int32
func (*LastHitInfo) GetLastFieldValues ¶ added in v0.40.0
func (x *LastHitInfo) GetLastFieldValues() []string
func (*LastHitInfo) GetLastScore ¶ added in v0.40.0
func (x *LastHitInfo) GetLastScore() float32
func (*LastHitInfo) ProtoMessage ¶ added in v0.40.0
func (*LastHitInfo) ProtoMessage()
func (*LastHitInfo) ProtoReflect ¶ added in v0.40.0
func (x *LastHitInfo) ProtoReflect() protoreflect.Message
func (*LastHitInfo) Reset ¶ added in v0.40.0
func (x *LastHitInfo) Reset()
func (*LastHitInfo) String ¶ added in v0.40.0
func (x *LastHitInfo) 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"` // Terminate after max recall count value to use when not specified in the search request. DefaultTerminateAfterMaxRecallCount int32 `protobuf:"varint,15,opt,name=defaultTerminateAfterMaxRecallCount,proto3" json:"defaultTerminateAfterMaxRecallCount,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) GetDefaultTerminateAfterMaxRecallCount ¶ added in v0.41.0
func (x *LiveSettingsRequest) GetDefaultTerminateAfterMaxRecallCount() 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 LiveSettingsV2Request ¶ added in v0.11.0
type LiveSettingsV2Request struct { // Index name IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Live settings to merge into existing live settings, or unset to get current live settings LiveSettings *IndexLiveSettings `protobuf:"bytes,2,opt,name=liveSettings,proto3" json:"liveSettings,omitempty"` // When set to true, live settings changes are only applied to the local node. These changes are ephemeral, so will not persist through a restart. Also, the live settings returned in the response will contain the local overrides only when this flag is true. Local bool `protobuf:"varint,3,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*LiveSettingsV2Request) Descriptor
deprecated
added in
v0.11.0
func (*LiveSettingsV2Request) Descriptor() ([]byte, []int)
Deprecated: Use LiveSettingsV2Request.ProtoReflect.Descriptor instead.
func (*LiveSettingsV2Request) GetIndexName ¶ added in v0.11.0
func (x *LiveSettingsV2Request) GetIndexName() string
func (*LiveSettingsV2Request) GetLiveSettings ¶ added in v0.11.0
func (x *LiveSettingsV2Request) GetLiveSettings() *IndexLiveSettings
func (*LiveSettingsV2Request) GetLocal ¶ added in v0.30.0
func (x *LiveSettingsV2Request) GetLocal() bool
func (*LiveSettingsV2Request) ProtoMessage ¶ added in v0.11.0
func (*LiveSettingsV2Request) ProtoMessage()
func (*LiveSettingsV2Request) ProtoReflect ¶ added in v0.11.0
func (x *LiveSettingsV2Request) ProtoReflect() protoreflect.Message
func (*LiveSettingsV2Request) Reset ¶ added in v0.11.0
func (x *LiveSettingsV2Request) Reset()
func (*LiveSettingsV2Request) String ¶ added in v0.11.0
func (x *LiveSettingsV2Request) String() string
type LiveSettingsV2Response ¶ added in v0.11.0
type LiveSettingsV2Response struct { // Current live settings, including default values LiveSettings *IndexLiveSettings `protobuf:"bytes,1,opt,name=liveSettings,proto3" json:"liveSettings,omitempty"` // contains filtered or unexported fields }
func (*LiveSettingsV2Response) Descriptor
deprecated
added in
v0.11.0
func (*LiveSettingsV2Response) Descriptor() ([]byte, []int)
Deprecated: Use LiveSettingsV2Response.ProtoReflect.Descriptor instead.
func (*LiveSettingsV2Response) GetLiveSettings ¶ added in v0.11.0
func (x *LiveSettingsV2Response) GetLiveSettings() *IndexLiveSettings
func (*LiveSettingsV2Response) ProtoMessage ¶ added in v0.11.0
func (*LiveSettingsV2Response) ProtoMessage()
func (*LiveSettingsV2Response) ProtoReflect ¶ added in v0.11.0
func (x *LiveSettingsV2Response) ProtoReflect() protoreflect.Message
func (*LiveSettingsV2Response) Reset ¶ added in v0.11.0
func (x *LiveSettingsV2Response) Reset()
func (*LiveSettingsV2Response) String ¶ added in v0.11.0
func (x *LiveSettingsV2Response) String() string
type LoggingHits ¶ added in v0.40.0
type LoggingHits struct { // name of the hits logger to be called, as registered by a HitsLoggerPlugin Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional logging parameters Params *structpb.Struct `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // number of hits to log. The number of final hits to be logged can be less than this number // if a query has less hits. HitsToLog int32 `protobuf:"varint,3,opt,name=hitsToLog,proto3" json:"hitsToLog,omitempty"` // contains filtered or unexported fields }
func (*LoggingHits) Descriptor
deprecated
added in
v0.40.0
func (*LoggingHits) Descriptor() ([]byte, []int)
Deprecated: Use LoggingHits.ProtoReflect.Descriptor instead.
func (*LoggingHits) GetHitsToLog ¶ added in v0.41.0
func (x *LoggingHits) GetHitsToLog() int32
func (*LoggingHits) GetName ¶ added in v0.40.0
func (x *LoggingHits) GetName() string
func (*LoggingHits) GetParams ¶ added in v0.40.0
func (x *LoggingHits) GetParams() *structpb.Struct
func (*LoggingHits) ProtoMessage ¶ added in v0.40.0
func (*LoggingHits) ProtoMessage()
func (*LoggingHits) ProtoReflect ¶ added in v0.40.0
func (x *LoggingHits) ProtoReflect() protoreflect.Message
func (*LoggingHits) Reset ¶ added in v0.40.0
func (x *LoggingHits) Reset()
func (*LoggingHits) String ¶ added in v0.40.0
func (x *LoggingHits) 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) // Change global offline or online settings for this index. LiveSettingsV2(ctx context.Context, in *LiveSettingsV2Request, opts ...grpc.CallOption) (*LiveSettingsV2Response, 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) // Change global offline settings for this index. // This returns the currently set settings; pass no settings to retrieve current settings. SettingsV2(ctx context.Context, in *SettingsV2Request, opts ...grpc.CallOption) (*SettingsV2Response, error) // Starts an index StartIndex(ctx context.Context, in *StartIndexRequest, opts ...grpc.CallOption) (*StartIndexResponse, error) // Starts an index using configuration in IndexStartConfig StartIndexV2(ctx context.Context, in *StartIndexV2Request, opts ...grpc.CallOption) (*StartIndexResponse, error) // Stops an index StopIndex(ctx context.Context, in *StopIndexRequest, opts ...grpc.CallOption) (*DummyResponse, error) // Reload state from the backend ReloadState(ctx context.Context, in *ReloadStateRequest, opts ...grpc.CallOption) (*ReloadStateResponse, 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) (*anypb.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 *emptypb.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) // Process request in a plugin which implements CustomRequestPlugin interface. Custom(ctx context.Context, in *CustomRequest, opts ...grpc.CallOption) (*CustomResponse, 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) // Change global offline or online settings for this index. LiveSettingsV2(context.Context, *LiveSettingsV2Request) (*LiveSettingsV2Response, 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) // Change global offline settings for this index. // This returns the currently set settings; pass no settings to retrieve current settings. SettingsV2(context.Context, *SettingsV2Request) (*SettingsV2Response, error) // Starts an index StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error) // Starts an index using configuration in IndexStartConfig StartIndexV2(context.Context, *StartIndexV2Request) (*StartIndexResponse, error) // Stops an index StopIndex(context.Context, *StopIndexRequest) (*DummyResponse, error) // Reload state from the backend ReloadState(context.Context, *ReloadStateRequest) (*ReloadStateResponse, 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) (*anypb.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, *emptypb.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) // Process request in a plugin which implements CustomRequestPlugin interface. Custom(context.Context, *CustomRequest) (*CustomResponse, 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 MatchPhrasePrefixQuery ¶ added in v0.18.0
type MatchPhrasePrefixQuery struct { // Field in the document to query. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // The text to query with. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Edit distance between respective positions of tokens generated by analyzing this query and the positions of terms in a document. Slop int32 `protobuf:"varint,3,opt,name=slop,proto3" json:"slop,omitempty"` // Analyzer used to analyze the query. If not provided, the default search analyzer for the field would be used instead. Analyzer *Analyzer `protobuf:"bytes,4,opt,name=analyzer,proto3" json:"analyzer,omitempty"` // Maximum number of terms to which the last provided term of the query value will expand. Defaults to 50. MaxExpansions int32 `protobuf:"varint,5,opt,name=max_expansions,json=maxExpansions,proto3" json:"max_expansions,omitempty"` // contains filtered or unexported fields }
A query that matches documents containing terms in the same order as those in the analyzed query string. The final analyzed token is treated as a prefix
func (*MatchPhrasePrefixQuery) Descriptor
deprecated
added in
v0.18.0
func (*MatchPhrasePrefixQuery) Descriptor() ([]byte, []int)
Deprecated: Use MatchPhrasePrefixQuery.ProtoReflect.Descriptor instead.
func (*MatchPhrasePrefixQuery) GetAnalyzer ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) GetAnalyzer() *Analyzer
func (*MatchPhrasePrefixQuery) GetField ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) GetField() string
func (*MatchPhrasePrefixQuery) GetMaxExpansions ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) GetMaxExpansions() int32
func (*MatchPhrasePrefixQuery) GetQuery ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) GetQuery() string
func (*MatchPhrasePrefixQuery) GetSlop ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) GetSlop() int32
func (*MatchPhrasePrefixQuery) ProtoMessage ¶ added in v0.18.0
func (*MatchPhrasePrefixQuery) ProtoMessage()
func (*MatchPhrasePrefixQuery) ProtoReflect ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) ProtoReflect() protoreflect.Message
func (*MatchPhrasePrefixQuery) Reset ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) Reset()
func (*MatchPhrasePrefixQuery) String ¶ added in v0.18.0
func (x *MatchPhrasePrefixQuery) String() string
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. ZeroTermsQuery MatchPhraseQuery_ZeroTerms `` // Indicates whether none or all documents are returned if the analyzer removes all tokens. Valid values are NONE_ZERO_TERMS and ALL_ZERO_TERMS. /* 127-byte string literal not displayed */ // 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) GetZeroTermsQuery ¶ added in v0.37.0
func (x *MatchPhraseQuery) GetZeroTermsQuery() MatchPhraseQuery_ZeroTerms
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 MatchPhraseQuery_ZeroTerms ¶ added in v0.37.0
type MatchPhraseQuery_ZeroTerms int32
Zero Terms options when analyzer removes all tokens.
const ( // No documents are returned if the analyzer removes all tokens. MatchPhraseQuery_NONE_ZERO_TERMS MatchPhraseQuery_ZeroTerms = 0 // All documents are returned if the analyzer removes all tokens. MatchPhraseQuery_ALL_ZERO_TERMS MatchPhraseQuery_ZeroTerms = 1 )
func (MatchPhraseQuery_ZeroTerms) Descriptor ¶ added in v0.37.0
func (MatchPhraseQuery_ZeroTerms) Descriptor() protoreflect.EnumDescriptor
func (MatchPhraseQuery_ZeroTerms) Enum ¶ added in v0.37.0
func (x MatchPhraseQuery_ZeroTerms) Enum() *MatchPhraseQuery_ZeroTerms
func (MatchPhraseQuery_ZeroTerms) EnumDescriptor
deprecated
added in
v0.37.0
func (MatchPhraseQuery_ZeroTerms) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchPhraseQuery_ZeroTerms.Descriptor instead.
func (MatchPhraseQuery_ZeroTerms) Number ¶ added in v0.37.0
func (x MatchPhraseQuery_ZeroTerms) Number() protoreflect.EnumNumber
func (MatchPhraseQuery_ZeroTerms) String ¶ added in v0.37.0
func (x MatchPhraseQuery_ZeroTerms) String() string
func (MatchPhraseQuery_ZeroTerms) Type ¶ added in v0.37.0
func (MatchPhraseQuery_ZeroTerms) Type() protoreflect.EnumType
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 MaxCollector ¶ added in v0.23.0
type MaxCollector struct { // Types that are assignable to ValueSource: // // *MaxCollector_Script ValueSource isMaxCollector_ValueSource `protobuf_oneof:"ValueSource"` // contains filtered or unexported fields }
Definition of collector to find a max double value over documents. Currently only allows for script based value production.
func (*MaxCollector) Descriptor
deprecated
added in
v0.23.0
func (*MaxCollector) Descriptor() ([]byte, []int)
Deprecated: Use MaxCollector.ProtoReflect.Descriptor instead.
func (*MaxCollector) GetScript ¶ added in v0.23.0
func (x *MaxCollector) GetScript() *Script
func (*MaxCollector) GetValueSource ¶ added in v0.23.0
func (m *MaxCollector) GetValueSource() isMaxCollector_ValueSource
func (*MaxCollector) ProtoMessage ¶ added in v0.23.0
func (*MaxCollector) ProtoMessage()
func (*MaxCollector) ProtoReflect ¶ added in v0.23.0
func (x *MaxCollector) ProtoReflect() protoreflect.Message
func (*MaxCollector) Reset ¶ added in v0.23.0
func (x *MaxCollector) Reset()
func (*MaxCollector) String ¶ added in v0.23.0
func (x *MaxCollector) String() string
type MaxCollector_Script ¶ added in v0.23.0
type MaxCollector_Script struct { // Script to produce a double value Script *Script `protobuf:"bytes,1,opt,name=script,proto3,oneof"` }
type MinCollector ¶ added in v0.37.0
type MinCollector struct { // Types that are assignable to ValueSource: // // *MinCollector_Script ValueSource isMinCollector_ValueSource `protobuf_oneof:"ValueSource"` // contains filtered or unexported fields }
Definition of collector to find a min double value over documents. Currently only allows for script based value production.
func (*MinCollector) Descriptor
deprecated
added in
v0.37.0
func (*MinCollector) Descriptor() ([]byte, []int)
Deprecated: Use MinCollector.ProtoReflect.Descriptor instead.
func (*MinCollector) GetScript ¶ added in v0.37.0
func (x *MinCollector) GetScript() *Script
func (*MinCollector) GetValueSource ¶ added in v0.37.0
func (m *MinCollector) GetValueSource() isMinCollector_ValueSource
func (*MinCollector) ProtoMessage ¶ added in v0.37.0
func (*MinCollector) ProtoMessage()
func (*MinCollector) ProtoReflect ¶ added in v0.37.0
func (x *MinCollector) ProtoReflect() protoreflect.Message
func (*MinCollector) Reset ¶ added in v0.37.0
func (x *MinCollector) Reset()
func (*MinCollector) String ¶ added in v0.37.0
func (x *MinCollector) String() string
type MinCollector_Script ¶ added in v0.37.0
type MinCollector_Script struct { // Script to produce a double value Script *Script `protobuf:"bytes,1,opt,name=script,proto3,oneof"` }
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 MultiFunctionScoreQuery ¶ added in v0.18.0
type MultiFunctionScoreQuery struct { // Main query to produce recalled docs and scores, which will be modified by the final function score Query *Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Functions to produce final function score Functions []*MultiFunctionScoreQuery_FilterFunction `protobuf:"bytes,2,rep,name=functions,proto3" json:"functions,omitempty"` // Method to combine functions scores ScoreMode MultiFunctionScoreQuery_FunctionScoreMode `` /* 149-byte string literal not displayed */ // Method to modify query document scores with final function score BoostMode MultiFunctionScoreQuery_BoostMode `` /* 141-byte string literal not displayed */ // Optional minimal score to match a document. By default, it's 0. MinScore float32 `protobuf:"fixed32,5,opt,name=min_score,json=minScore,proto3" json:"min_score,omitempty"` // Determine minimal score is excluded or not. By default, it's false; MinExcluded bool `protobuf:"varint,6,opt,name=min_excluded,json=minExcluded,proto3" json:"min_excluded,omitempty"` // contains filtered or unexported fields }
A query to modify the score of documents with a given set of functions
func (*MultiFunctionScoreQuery) Descriptor
deprecated
added in
v0.18.0
func (*MultiFunctionScoreQuery) Descriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery.ProtoReflect.Descriptor instead.
func (*MultiFunctionScoreQuery) GetBoostMode ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) GetBoostMode() MultiFunctionScoreQuery_BoostMode
func (*MultiFunctionScoreQuery) GetFunctions ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) GetFunctions() []*MultiFunctionScoreQuery_FilterFunction
func (*MultiFunctionScoreQuery) GetMinExcluded ¶ added in v0.24.0
func (x *MultiFunctionScoreQuery) GetMinExcluded() bool
func (*MultiFunctionScoreQuery) GetMinScore ¶ added in v0.24.0
func (x *MultiFunctionScoreQuery) GetMinScore() float32
func (*MultiFunctionScoreQuery) GetQuery ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) GetQuery() *Query
func (*MultiFunctionScoreQuery) GetScoreMode ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) GetScoreMode() MultiFunctionScoreQuery_FunctionScoreMode
func (*MultiFunctionScoreQuery) ProtoMessage ¶ added in v0.18.0
func (*MultiFunctionScoreQuery) ProtoMessage()
func (*MultiFunctionScoreQuery) ProtoReflect ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) ProtoReflect() protoreflect.Message
func (*MultiFunctionScoreQuery) Reset ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) Reset()
func (*MultiFunctionScoreQuery) String ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery) String() string
type MultiFunctionScoreQuery_BoostMode ¶ added in v0.18.0
type MultiFunctionScoreQuery_BoostMode int32
How to combine final function score with query score
const ( // Multiply scores together MultiFunctionScoreQuery_BOOST_MODE_MULTIPLY MultiFunctionScoreQuery_BoostMode = 0 // Add scores together MultiFunctionScoreQuery_BOOST_MODE_SUM MultiFunctionScoreQuery_BoostMode = 1 // Ignore the query score, and use the function score only MultiFunctionScoreQuery_BOOST_MODE_REPLACE MultiFunctionScoreQuery_BoostMode = 2 )
func (MultiFunctionScoreQuery_BoostMode) Descriptor ¶ added in v0.18.0
func (MultiFunctionScoreQuery_BoostMode) Descriptor() protoreflect.EnumDescriptor
func (MultiFunctionScoreQuery_BoostMode) Enum ¶ added in v0.18.0
func (x MultiFunctionScoreQuery_BoostMode) Enum() *MultiFunctionScoreQuery_BoostMode
func (MultiFunctionScoreQuery_BoostMode) EnumDescriptor
deprecated
added in
v0.18.0
func (MultiFunctionScoreQuery_BoostMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery_BoostMode.Descriptor instead.
func (MultiFunctionScoreQuery_BoostMode) Number ¶ added in v0.18.0
func (x MultiFunctionScoreQuery_BoostMode) Number() protoreflect.EnumNumber
func (MultiFunctionScoreQuery_BoostMode) String ¶ added in v0.18.0
func (x MultiFunctionScoreQuery_BoostMode) String() string
func (MultiFunctionScoreQuery_BoostMode) Type ¶ added in v0.18.0
func (MultiFunctionScoreQuery_BoostMode) Type() protoreflect.EnumType
type MultiFunctionScoreQuery_DecayFunction ¶ added in v0.37.0
type MultiFunctionScoreQuery_DecayFunction struct { // Document field name to use FieldName string `protobuf:"bytes,1,opt,name=fieldName,proto3" json:"fieldName,omitempty"` // Type of decay function to apply DecayType MultiFunctionScoreQuery_DecayType `protobuf:"varint,2,opt,name=decayType,proto3,enum=luceneserver.MultiFunctionScoreQuery_DecayType" json:"decayType,omitempty"` // Origin point to calculate the distance // // Types that are assignable to Origin: // // *MultiFunctionScoreQuery_DecayFunction_GeoPoint Origin isMultiFunctionScoreQuery_DecayFunction_Origin `protobuf_oneof:"Origin"` // Currently only distance based scale and offset units are supported // Distance from origin + offset at which computed score will be equal to decay. Scale should be distance, unit (m, km, mi) with space is optional. Default unit will be meters. Ex: "10", "15 km", "5 m", "7 mi" Scale string `protobuf:"bytes,4,opt,name=scale,proto3" json:"scale,omitempty"` // Compute decay function for docs with a distance greater than offset, will be 0.0 if none is set. Offset should be distance, unit (m, km, mi) with space is optional. Default unit will be meters. Ex: "10", "15 km", "5 m", "7 mi" Offset string `protobuf:"bytes,5,opt,name=offset,proto3" json:"offset,omitempty"` // Defines decay rate for scoring. Should be between (0, 1) Decay float32 `protobuf:"fixed32,6,opt,name=decay,proto3" json:"decay,omitempty"` // contains filtered or unexported fields }
Apply decay function to docs
func (*MultiFunctionScoreQuery_DecayFunction) Descriptor
deprecated
added in
v0.37.0
func (*MultiFunctionScoreQuery_DecayFunction) Descriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery_DecayFunction.ProtoReflect.Descriptor instead.
func (*MultiFunctionScoreQuery_DecayFunction) GetDecay ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetDecay() float32
func (*MultiFunctionScoreQuery_DecayFunction) GetDecayType ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetDecayType() MultiFunctionScoreQuery_DecayType
func (*MultiFunctionScoreQuery_DecayFunction) GetFieldName ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetFieldName() string
func (*MultiFunctionScoreQuery_DecayFunction) GetGeoPoint ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetGeoPoint() *latlng.LatLng
func (*MultiFunctionScoreQuery_DecayFunction) GetOffset ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetOffset() string
func (*MultiFunctionScoreQuery_DecayFunction) GetOrigin ¶ added in v0.37.0
func (m *MultiFunctionScoreQuery_DecayFunction) GetOrigin() isMultiFunctionScoreQuery_DecayFunction_Origin
func (*MultiFunctionScoreQuery_DecayFunction) GetScale ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) GetScale() string
func (*MultiFunctionScoreQuery_DecayFunction) ProtoMessage ¶ added in v0.37.0
func (*MultiFunctionScoreQuery_DecayFunction) ProtoMessage()
func (*MultiFunctionScoreQuery_DecayFunction) ProtoReflect ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) ProtoReflect() protoreflect.Message
func (*MultiFunctionScoreQuery_DecayFunction) Reset ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) Reset()
func (*MultiFunctionScoreQuery_DecayFunction) String ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_DecayFunction) String() string
type MultiFunctionScoreQuery_DecayFunction_GeoPoint ¶ added in v0.37.0
type MultiFunctionScoreQuery_DecayType ¶ added in v0.37.0
type MultiFunctionScoreQuery_DecayType int32
const ( // Exponential decay function MultiFunctionScoreQuery_DECAY_TYPE_EXPONENTIAL MultiFunctionScoreQuery_DecayType = 0 // Linear decay function MultiFunctionScoreQuery_DECAY_TYPE_LINEAR MultiFunctionScoreQuery_DecayType = 1 // Gaussian decay function MultiFunctionScoreQuery_DECAY_TYPE_GUASSIAN MultiFunctionScoreQuery_DecayType = 2 )
func (MultiFunctionScoreQuery_DecayType) Descriptor ¶ added in v0.37.0
func (MultiFunctionScoreQuery_DecayType) Descriptor() protoreflect.EnumDescriptor
func (MultiFunctionScoreQuery_DecayType) Enum ¶ added in v0.37.0
func (x MultiFunctionScoreQuery_DecayType) Enum() *MultiFunctionScoreQuery_DecayType
func (MultiFunctionScoreQuery_DecayType) EnumDescriptor
deprecated
added in
v0.37.0
func (MultiFunctionScoreQuery_DecayType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery_DecayType.Descriptor instead.
func (MultiFunctionScoreQuery_DecayType) Number ¶ added in v0.37.0
func (x MultiFunctionScoreQuery_DecayType) Number() protoreflect.EnumNumber
func (MultiFunctionScoreQuery_DecayType) String ¶ added in v0.37.0
func (x MultiFunctionScoreQuery_DecayType) String() string
func (MultiFunctionScoreQuery_DecayType) Type ¶ added in v0.37.0
func (MultiFunctionScoreQuery_DecayType) Type() protoreflect.EnumType
type MultiFunctionScoreQuery_FilterFunction ¶ added in v0.18.0
type MultiFunctionScoreQuery_FilterFunction struct { // Apply function only to docs that pass this filter, match all if not specified Filter *Query `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // Weight to multiply with function score, 1.0 if not specified Weight float32 `protobuf:"fixed32,2,opt,name=weight,proto3" json:"weight,omitempty"` // Function to produce score, will be 1.0 if none are set // // Types that are assignable to Function: // // *MultiFunctionScoreQuery_FilterFunction_Script // *MultiFunctionScoreQuery_FilterFunction_DecayFunction Function isMultiFunctionScoreQuery_FilterFunction_Function `protobuf_oneof:"Function"` // contains filtered or unexported fields }
Function to produce a weighted value
func (*MultiFunctionScoreQuery_FilterFunction) Descriptor
deprecated
added in
v0.18.0
func (*MultiFunctionScoreQuery_FilterFunction) Descriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery_FilterFunction.ProtoReflect.Descriptor instead.
func (*MultiFunctionScoreQuery_FilterFunction) GetDecayFunction ¶ added in v0.37.0
func (x *MultiFunctionScoreQuery_FilterFunction) GetDecayFunction() *MultiFunctionScoreQuery_DecayFunction
func (*MultiFunctionScoreQuery_FilterFunction) GetFilter ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) GetFilter() *Query
func (*MultiFunctionScoreQuery_FilterFunction) GetFunction ¶ added in v0.18.0
func (m *MultiFunctionScoreQuery_FilterFunction) GetFunction() isMultiFunctionScoreQuery_FilterFunction_Function
func (*MultiFunctionScoreQuery_FilterFunction) GetScript ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) GetScript() *Script
func (*MultiFunctionScoreQuery_FilterFunction) GetWeight ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) GetWeight() float32
func (*MultiFunctionScoreQuery_FilterFunction) ProtoMessage ¶ added in v0.18.0
func (*MultiFunctionScoreQuery_FilterFunction) ProtoMessage()
func (*MultiFunctionScoreQuery_FilterFunction) ProtoReflect ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) ProtoReflect() protoreflect.Message
func (*MultiFunctionScoreQuery_FilterFunction) Reset ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) Reset()
func (*MultiFunctionScoreQuery_FilterFunction) String ¶ added in v0.18.0
func (x *MultiFunctionScoreQuery_FilterFunction) String() string
type MultiFunctionScoreQuery_FilterFunction_DecayFunction ¶ added in v0.37.0
type MultiFunctionScoreQuery_FilterFunction_DecayFunction struct { // Produce score with a decay function DecayFunction *MultiFunctionScoreQuery_DecayFunction `protobuf:"bytes,4,opt,name=decayFunction,proto3,oneof"` }
type MultiFunctionScoreQuery_FilterFunction_Script ¶ added in v0.18.0
type MultiFunctionScoreQuery_FilterFunction_Script struct { // Produce score with score script definition Script *Script `protobuf:"bytes,3,opt,name=script,proto3,oneof"` }
type MultiFunctionScoreQuery_FunctionScoreMode ¶ added in v0.18.0
type MultiFunctionScoreQuery_FunctionScoreMode int32
How to combine multiple function scores to produce a final function score
const ( // Multiply weighted function scores together MultiFunctionScoreQuery_SCORE_MODE_MULTIPLY MultiFunctionScoreQuery_FunctionScoreMode = 0 // Add weighted function scores together MultiFunctionScoreQuery_SCORE_MODE_SUM MultiFunctionScoreQuery_FunctionScoreMode = 1 )
func (MultiFunctionScoreQuery_FunctionScoreMode) Descriptor ¶ added in v0.18.0
func (MultiFunctionScoreQuery_FunctionScoreMode) Descriptor() protoreflect.EnumDescriptor
func (MultiFunctionScoreQuery_FunctionScoreMode) EnumDescriptor
deprecated
added in
v0.18.0
func (MultiFunctionScoreQuery_FunctionScoreMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiFunctionScoreQuery_FunctionScoreMode.Descriptor instead.
func (MultiFunctionScoreQuery_FunctionScoreMode) Number ¶ added in v0.18.0
func (x MultiFunctionScoreQuery_FunctionScoreMode) Number() protoreflect.EnumNumber
func (MultiFunctionScoreQuery_FunctionScoreMode) String ¶ added in v0.18.0
func (x MultiFunctionScoreQuery_FunctionScoreMode) String() string
func (MultiFunctionScoreQuery_FunctionScoreMode) Type ¶ added in v0.18.0
func (MultiFunctionScoreQuery_FunctionScoreMode) 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. // Type defining match behavior of query. Type MultiMatchQuery_MatchType `protobuf:"varint,9,opt,name=type,proto3,enum=luceneserver.MultiMatchQuery_MatchType" json:"type,omitempty"` // Edit distance between respective positions of tokens generated by analyzing this query and the positions of terms in a document, applies to PHRASE_PREFIX type matching. Slop int32 `protobuf:"varint,10,opt,name=slop,proto3" json:"slop,omitempty"` // Maximum number of terms to which the prefix token will expand when using PHRASE_PREFIX matching. Defaults to 50. MaxExpansions int32 `protobuf:"varint,11,opt,name=maxExpansions,proto3" json:"maxExpansions,omitempty"` // 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) GetMaxExpansions ¶ added in v0.18.0
func (x *MultiMatchQuery) GetMaxExpansions() int32
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) GetSlop ¶ added in v0.18.0
func (x *MultiMatchQuery) GetSlop() int32
func (*MultiMatchQuery) GetTieBreakerMultiplier ¶
func (x *MultiMatchQuery) GetTieBreakerMultiplier() float32
func (*MultiMatchQuery) GetType ¶ added in v0.18.0
func (x *MultiMatchQuery) GetType() MultiMatchQuery_MatchType
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 MultiMatchQuery_MatchType ¶ added in v0.18.0
type MultiMatchQuery_MatchType int32
Type defining the execution behavior of the match.
const ( // Finds documents which match any field, but uses the _score from the best field. MultiMatchQuery_BEST_FIELDS MultiMatchQuery_MatchType = 0 // Runs a MatchPhrasePrefixQuery query on each field and uses the _score from the best field. MultiMatchQuery_PHRASE_PREFIX MultiMatchQuery_MatchType = 1 // Finds documents that match across multiple fields, as if they were a single field. MultiMatchQuery_CROSS_FIELDS MultiMatchQuery_MatchType = 2 )
func (MultiMatchQuery_MatchType) Descriptor ¶ added in v0.18.0
func (MultiMatchQuery_MatchType) Descriptor() protoreflect.EnumDescriptor
func (MultiMatchQuery_MatchType) Enum ¶ added in v0.18.0
func (x MultiMatchQuery_MatchType) Enum() *MultiMatchQuery_MatchType
func (MultiMatchQuery_MatchType) EnumDescriptor
deprecated
added in
v0.18.0
func (MultiMatchQuery_MatchType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiMatchQuery_MatchType.Descriptor instead.
func (MultiMatchQuery_MatchType) Number ¶ added in v0.18.0
func (x MultiMatchQuery_MatchType) Number() protoreflect.EnumNumber
func (MultiMatchQuery_MatchType) String ¶ added in v0.18.0
func (x MultiMatchQuery_MatchType) String() string
func (MultiMatchQuery_MatchType) Type ¶ added in v0.18.0
func (MultiMatchQuery_MatchType) Type() protoreflect.EnumType
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 // index id IndexId string `protobuf:"bytes,5,opt,name=indexId,proto3" json:"indexId,omitempty"` // contains filtered or unexported fields }
func (*NewNRTPoint) Descriptor
deprecated
func (*NewNRTPoint) Descriptor() ([]byte, []int)
Deprecated: Use NewNRTPoint.ProtoReflect.Descriptor instead.
func (*NewNRTPoint) GetIndexId ¶ added in v0.39.0
func (x *NewNRTPoint) GetIndexId() string
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 PluginCollector ¶ added in v0.10.5
type PluginCollector struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Params *structpb.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 collector from a plugin
func (*PluginCollector) Descriptor
deprecated
added in
v0.10.5
func (*PluginCollector) Descriptor() ([]byte, []int)
Deprecated: Use PluginCollector.ProtoReflect.Descriptor instead.
func (*PluginCollector) GetName ¶ added in v0.10.5
func (x *PluginCollector) GetName() string
func (*PluginCollector) GetParams ¶ added in v0.10.5
func (x *PluginCollector) GetParams() *structpb.Struct
func (*PluginCollector) ProtoMessage ¶ added in v0.10.5
func (*PluginCollector) ProtoMessage()
func (*PluginCollector) ProtoReflect ¶ added in v0.10.5
func (x *PluginCollector) ProtoReflect() protoreflect.Message
func (*PluginCollector) Reset ¶ added in v0.10.5
func (x *PluginCollector) Reset()
func (*PluginCollector) String ¶ added in v0.10.5
func (x *PluginCollector) String() string
type PluginRescorer ¶
type PluginRescorer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Params *structpb.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() *structpb.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 Polygon ¶ added in v0.30.0
type Polygon struct { // Points defining the polygon, conforming to the https://geojson.org/ standard. The polygon must not be self-crossing, otherwise may result in unexpected behavior. Polygons cannot cross the 180th meridian. Instead, use two polygons: one on each side. Points []*latlng.LatLng `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // Specify holes in the polygon. Hole polygons cannot themselves contain holes. Holes []*Polygon `protobuf:"bytes,2,rep,name=holes,proto3" json:"holes,omitempty"` // contains filtered or unexported fields }
Polygon defined by a list of geo points
func (*Polygon) Descriptor
deprecated
added in
v0.30.0
func (*Polygon) ProtoMessage ¶ added in v0.30.0
func (*Polygon) ProtoMessage()
func (*Polygon) ProtoReflect ¶ added in v0.30.0
func (x *Polygon) ProtoReflect() protoreflect.Message
type PrefixQuery ¶ added in v0.18.0
type PrefixQuery struct { // Document field name. Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // Prefix to search for. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // Method used to rewrite the query. Rewrite RewriteMethod `protobuf:"varint,3,opt,name=rewrite,proto3,enum=luceneserver.RewriteMethod" json:"rewrite,omitempty"` // Specifies the size to use for the TOP_TERMS* rewrite methods. RewriteTopTermsSize int32 `protobuf:"varint,4,opt,name=rewriteTopTermsSize,proto3" json:"rewriteTopTermsSize,omitempty"` // contains filtered or unexported fields }
A query that matches documents that contain a specific prefix in a provided field.
func (*PrefixQuery) Descriptor
deprecated
added in
v0.18.0
func (*PrefixQuery) Descriptor() ([]byte, []int)
Deprecated: Use PrefixQuery.ProtoReflect.Descriptor instead.
func (*PrefixQuery) GetField ¶ added in v0.18.0
func (x *PrefixQuery) GetField() string
func (*PrefixQuery) GetPrefix ¶ added in v0.18.0
func (x *PrefixQuery) GetPrefix() string
func (*PrefixQuery) GetRewrite ¶ added in v0.18.0
func (x *PrefixQuery) GetRewrite() RewriteMethod
func (*PrefixQuery) GetRewriteTopTermsSize ¶ added in v0.18.0
func (x *PrefixQuery) GetRewriteTopTermsSize() int32
func (*PrefixQuery) ProtoMessage ¶ added in v0.18.0
func (*PrefixQuery) ProtoMessage()
func (*PrefixQuery) ProtoReflect ¶ added in v0.18.0
func (x *PrefixQuery) ProtoReflect() protoreflect.Message
func (*PrefixQuery) Reset ¶ added in v0.18.0
func (x *PrefixQuery) Reset()
func (*PrefixQuery) String ¶ added in v0.18.0
func (x *PrefixQuery) String() string
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 // *Query_CompletionQuery // *Query_MultiFunctionScoreQuery // *Query_MatchPhrasePrefixQuery // *Query_PrefixQuery // *Query_ConstantScoreQuery // *Query_GeoPolygonQuery // *Query_SpanQuery 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) GetCompletionQuery ¶ added in v0.16.0
func (x *Query) GetCompletionQuery() *CompletionQuery
func (*Query) GetConstantScoreQuery ¶ added in v0.21.0
func (x *Query) GetConstantScoreQuery() *ConstantScoreQuery
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) GetGeoPolygonQuery ¶ added in v0.30.0
func (x *Query) GetGeoPolygonQuery() *GeoPolygonQuery
func (*Query) GetGeoRadiusQuery ¶
func (x *Query) GetGeoRadiusQuery() *GeoRadiusQuery
func (*Query) GetMatchPhrasePrefixQuery ¶ added in v0.18.0
func (x *Query) GetMatchPhrasePrefixQuery() *MatchPhrasePrefixQuery
func (*Query) GetMatchPhraseQuery ¶
func (x *Query) GetMatchPhraseQuery() *MatchPhraseQuery
func (*Query) GetMatchQuery ¶
func (x *Query) GetMatchQuery() *MatchQuery
func (*Query) GetMultiFunctionScoreQuery ¶ added in v0.18.0
func (x *Query) GetMultiFunctionScoreQuery() *MultiFunctionScoreQuery
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) GetPrefixQuery ¶ added in v0.18.0
func (x *Query) GetPrefixQuery() *PrefixQuery
func (*Query) GetQueryNode ¶
func (m *Query) GetQueryNode() isQuery_QueryNode
func (*Query) GetQueryType
deprecated
func (*Query) GetRangeQuery ¶
func (x *Query) GetRangeQuery() *RangeQuery
func (*Query) GetSpanQuery ¶ added in v0.39.0
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 QueryType_COMPLETION QueryType = 16 QueryType_MULTI_FUNCTION_SCORE_QUERY QueryType = 17 QueryType_MATCH_PHRASE_PREFIX QueryType = 18 QueryType_PREFIX QueryType = 19 QueryType_CONSTANT_SCORE_QUERY QueryType = 20 QueryType_GEO_POLYGON QueryType = 21 QueryType_SPAN_QUERY QueryType = 22 )
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_CompletionQuery ¶ added in v0.16.0
type Query_CompletionQuery struct {
CompletionQuery *CompletionQuery `protobuf:"bytes,19,opt,name=completionQuery,proto3,oneof"`
}
type Query_ConstantScoreQuery ¶ added in v0.21.0
type Query_ConstantScoreQuery struct {
ConstantScoreQuery *ConstantScoreQuery `protobuf:"bytes,23,opt,name=constantScoreQuery,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_GeoPolygonQuery ¶ added in v0.30.0
type Query_GeoPolygonQuery struct {
GeoPolygonQuery *GeoPolygonQuery `protobuf:"bytes,24,opt,name=geoPolygonQuery,proto3,oneof"`
}
type Query_GeoRadiusQuery ¶
type Query_GeoRadiusQuery struct {
GeoRadiusQuery *GeoRadiusQuery `protobuf:"bytes,17,opt,name=geoRadiusQuery,proto3,oneof"`
}
type Query_MatchPhrasePrefixQuery ¶ added in v0.18.0
type Query_MatchPhrasePrefixQuery struct {
MatchPhrasePrefixQuery *MatchPhrasePrefixQuery `protobuf:"bytes,21,opt,name=matchPhrasePrefixQuery,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_MultiFunctionScoreQuery ¶ added in v0.18.0
type Query_MultiFunctionScoreQuery struct {
MultiFunctionScoreQuery *MultiFunctionScoreQuery `protobuf:"bytes,20,opt,name=multiFunctionScoreQuery,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_PrefixQuery ¶ added in v0.18.0
type Query_PrefixQuery struct {
PrefixQuery *PrefixQuery `protobuf:"bytes,22,opt,name=prefixQuery,proto3,oneof"`
}
type Query_RangeQuery ¶
type Query_RangeQuery struct {
RangeQuery *RangeQuery `protobuf:"bytes,12,opt,name=rangeQuery,proto3,oneof"`
}
type Query_SpanQuery ¶ added in v0.39.0
type Query_SpanQuery struct {
SpanQuery *SpanQuery `protobuf:"bytes,25,opt,name=spanQuery,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 RegexpFlag ¶ added in v0.39.0
type RegexpFlag int32
Enum for RegexpQuery flags
const ( // Syntax flag, enables all optional regexp syntax. RegexpFlag_REGEXP_ALL RegexpFlag = 0 // Syntax flag, enables anystring (@). RegexpFlag_REGEXP_ANYSTRING RegexpFlag = 1 // Syntax flag, enables named automata (<identifier>). RegexpFlag_REGEXP_AUTOMATON RegexpFlag = 2 // Syntax flag, enables complement (~). RegexpFlag_REGEXP_COMPLEMENT RegexpFlag = 3 // Syntax flag, enables empty language (#). RegexpFlag_REGEXP_EMPTY RegexpFlag = 4 // Syntax flag, enables intersection (&). RegexpFlag_REGEXP_INTERSECTION RegexpFlag = 5 // Syntax flag, enables numerical intervals ( <n-m>). RegexpFlag_REGEXP_INTERVAL RegexpFlag = 6 // Syntax flag, enables no optional regexp syntax. RegexpFlag_REGEXP_NONE RegexpFlag = 7 )
func (RegexpFlag) Descriptor ¶ added in v0.39.0
func (RegexpFlag) Descriptor() protoreflect.EnumDescriptor
func (RegexpFlag) Enum ¶ added in v0.39.0
func (x RegexpFlag) Enum() *RegexpFlag
func (RegexpFlag) EnumDescriptor
deprecated
added in
v0.39.0
func (RegexpFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use RegexpFlag.Descriptor instead.
func (RegexpFlag) Number ¶ added in v0.39.0
func (x RegexpFlag) Number() protoreflect.EnumNumber
func (RegexpFlag) String ¶ added in v0.39.0
func (x RegexpFlag) String() string
func (RegexpFlag) Type ¶ added in v0.39.0
func (RegexpFlag) Type() protoreflect.EnumType
type RegexpQuery ¶ added in v0.39.0
type RegexpQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // Optional flags for the regular expression Flag RegexpFlag `protobuf:"varint,3,opt,name=flag,proto3,enum=luceneserver.RegexpFlag" json:"flag,omitempty"` // maximum number of states that compiling the automaton for the regexp can result in. Set higher to allow more complex queries and lower to prevent memory exhaustion. Default is 10000. MaxDeterminizedStates *int32 `protobuf:"varint,4,opt,name=maxDeterminizedStates,proto3,oneof" json:"maxDeterminizedStates,omitempty"` // Method used to rewrite the query. Rewrite RewriteMethod `protobuf:"varint,5,opt,name=rewrite,proto3,enum=luceneserver.RewriteMethod" json:"rewrite,omitempty"` // Specifies the size to use for the TOP_TERMS* rewrite methods. RewriteTopTermsSize int32 `protobuf:"varint,6,opt,name=rewriteTopTermsSize,proto3" json:"rewriteTopTermsSize,omitempty"` // contains filtered or unexported fields }
Message for RegexpQuery
func (*RegexpQuery) Descriptor
deprecated
added in
v0.39.0
func (*RegexpQuery) Descriptor() ([]byte, []int)
Deprecated: Use RegexpQuery.ProtoReflect.Descriptor instead.
func (*RegexpQuery) GetField ¶ added in v0.39.0
func (x *RegexpQuery) GetField() string
func (*RegexpQuery) GetFlag ¶ added in v0.39.0
func (x *RegexpQuery) GetFlag() RegexpFlag
func (*RegexpQuery) GetMaxDeterminizedStates ¶ added in v0.39.0
func (x *RegexpQuery) GetMaxDeterminizedStates() int32
func (*RegexpQuery) GetRewrite ¶ added in v0.39.0
func (x *RegexpQuery) GetRewrite() RewriteMethod
func (*RegexpQuery) GetRewriteTopTermsSize ¶ added in v0.39.0
func (x *RegexpQuery) GetRewriteTopTermsSize() int32
func (*RegexpQuery) GetText ¶ added in v0.39.0
func (x *RegexpQuery) GetText() string
func (*RegexpQuery) ProtoMessage ¶ added in v0.39.0
func (*RegexpQuery) ProtoMessage()
func (*RegexpQuery) ProtoReflect ¶ added in v0.39.0
func (x *RegexpQuery) ProtoReflect() protoreflect.Message
func (*RegexpQuery) Reset ¶ added in v0.39.0
func (x *RegexpQuery) Reset()
func (*RegexpQuery) String ¶ added in v0.39.0
func (x *RegexpQuery) 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 ReloadStateRequest ¶ added in v0.13.0
type ReloadStateRequest struct {
// contains filtered or unexported fields
}
func (*ReloadStateRequest) Descriptor
deprecated
added in
v0.13.0
func (*ReloadStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReloadStateRequest.ProtoReflect.Descriptor instead.
func (*ReloadStateRequest) ProtoMessage ¶ added in v0.13.0
func (*ReloadStateRequest) ProtoMessage()
func (*ReloadStateRequest) ProtoReflect ¶ added in v0.13.0
func (x *ReloadStateRequest) ProtoReflect() protoreflect.Message
func (*ReloadStateRequest) Reset ¶ added in v0.13.0
func (x *ReloadStateRequest) Reset()
func (*ReloadStateRequest) String ¶ added in v0.13.0
func (x *ReloadStateRequest) String() string
type ReloadStateResponse ¶ added in v0.13.0
type ReloadStateResponse struct {
// contains filtered or unexported fields
}
func (*ReloadStateResponse) Descriptor
deprecated
added in
v0.13.0
func (*ReloadStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReloadStateResponse.ProtoReflect.Descriptor instead.
func (*ReloadStateResponse) ProtoMessage ¶ added in v0.13.0
func (*ReloadStateResponse) ProtoMessage()
func (*ReloadStateResponse) ProtoReflect ¶ added in v0.13.0
func (x *ReloadStateResponse) ProtoReflect() protoreflect.Message
func (*ReloadStateResponse) Reset ¶ added in v0.13.0
func (x *ReloadStateResponse) Reset()
func (*ReloadStateResponse) String ¶ added in v0.13.0
func (x *ReloadStateResponse) 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 RewriteMethod ¶ added in v0.18.0
type RewriteMethod int32
Method used to rewrite a MultiTermQuery
const ( // Uses the CONSTANT_SCORE_BOOLEAN method for fewer matching terms. Otherwise, this method finds all matching terms in sequence and returns matching documents using a bit set. RewriteMethod_CONSTANT_SCORE RewriteMethod = 0 // This method changes the original query to a BooleanQuery, containing a SHOULD clause and TermQuery for each matching term. RewriteMethod_CONSTANT_SCORE_BOOLEAN RewriteMethod = 1 // This method changes the original query to a BooleanQuery, containing a SHOULD clause and TermQuery for each matching term. Calculates the relevance score for each matching document. RewriteMethod_SCORING_BOOLEAN RewriteMethod = 2 // This method changes the original query to a BooleanQuery, containing a SHOULD clause and TermQuery for each matching term. Calculates a relevance score for each matching document as if all terms had the same frequency, the maximum frequency of all matching terms. The final BooleanQuery query only includes Term queries for the top N (specified separately) scoring terms. RewriteMethod_TOP_TERMS_BLENDED_FREQS RewriteMethod = 3 // This method changes the original query to a BooleanQuery, containing a SHOULD clause and TermQuery for each matching term. Assigns each matching document a relevance score equal to the boost parameter. The final BooleanQuery query only includes Term queries for the top N (specified separately) terms. RewriteMethod_TOP_TERMS_BOOST RewriteMethod = 4 // This method changes the original query to a BooleanQuery, containing a SHOULD clause and TermQuery for each matching term. Calculates a relevance score for each matching document. The final BooleanQuery query only includes Term queries for the top N (specified separately) scoring terms. RewriteMethod_TOP_TERMS RewriteMethod = 5 )
func (RewriteMethod) Descriptor ¶ added in v0.18.0
func (RewriteMethod) Descriptor() protoreflect.EnumDescriptor
func (RewriteMethod) Enum ¶ added in v0.18.0
func (x RewriteMethod) Enum() *RewriteMethod
func (RewriteMethod) EnumDescriptor
deprecated
added in
v0.18.0
func (RewriteMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use RewriteMethod.Descriptor instead.
func (RewriteMethod) Number ¶ added in v0.18.0
func (x RewriteMethod) Number() protoreflect.EnumNumber
func (RewriteMethod) String ¶ added in v0.18.0
func (x RewriteMethod) String() string
func (RewriteMethod) Type ¶ added in v0.18.0
func (RewriteMethod) Type() protoreflect.EnumType
type RuntimeField ¶ added in v0.37.0
type RuntimeField struct { // Script defining this field's values. Script *Script `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` // Runtime field's name. Must be different from registered fields and any other runtime fields. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Runtime field used during search
func (*RuntimeField) Descriptor
deprecated
added in
v0.37.0
func (*RuntimeField) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeField.ProtoReflect.Descriptor instead.
func (*RuntimeField) GetName ¶ added in v0.37.0
func (x *RuntimeField) GetName() string
func (*RuntimeField) GetScript ¶ added in v0.37.0
func (x *RuntimeField) GetScript() *Script
func (*RuntimeField) ProtoMessage ¶ added in v0.37.0
func (*RuntimeField) ProtoMessage()
func (*RuntimeField) ProtoReflect ¶ added in v0.37.0
func (x *RuntimeField) ProtoReflect() protoreflect.Message
func (*RuntimeField) Reset ¶ added in v0.37.0
func (x *RuntimeField) Reset()
func (*RuntimeField) String ¶ added in v0.37.0
func (x *RuntimeField) 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"` // Specify how to highlight matched text Highlight *Highlight `protobuf:"bytes,24,opt,name=highlight,proto3" json:"highlight,omitempty"` // If Lucene explanation should be included in the response Explain bool `protobuf:"varint,25,opt,name=explain,proto3" json:"explain,omitempty"` // Search nested object fields for each hit InnerHits map[string]*InnerHit `` /* 177-byte string literal not displayed */ // Defines runtime fields for this query RuntimeFields []*RuntimeField `protobuf:"bytes,27,rep,name=runtimeFields,proto3" json:"runtimeFields,omitempty"` // Stop document collection in search phase after this many recalled documents, after terminateAfter docs will be counted but not scored upto terminateAfterMaxRecallCount. TerminateAfterMaxRecallCount int32 `protobuf:"varint,28,opt,name=terminateAfterMaxRecallCount,proto3" json:"terminateAfterMaxRecallCount,omitempty"` // Any custom logging that should log hits after ranking LoggingHits *LoggingHits `protobuf:"bytes,29,opt,name=loggingHits,proto3" json:"loggingHits,omitempty"` // Keeps tracks of last hit for search after SearchAfter *LastHitInfo `protobuf:"bytes,30,opt,name=searchAfter,proto3" json:"searchAfter,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) GetExplain ¶ added in v0.23.0
func (x *SearchRequest) GetExplain() bool
func (*SearchRequest) GetFacets ¶
func (x *SearchRequest) GetFacets() []*Facet
func (*SearchRequest) GetFetchTasks ¶
func (x *SearchRequest) GetFetchTasks() []*FetchTask
func (*SearchRequest) GetHighlight ¶ added in v0.14.0
func (x *SearchRequest) GetHighlight() *Highlight
func (*SearchRequest) GetIndexGen ¶
func (x *SearchRequest) GetIndexGen() int64
func (*SearchRequest) GetIndexName ¶
func (x *SearchRequest) GetIndexName() string
func (*SearchRequest) GetInnerHits ¶ added in v0.25.0
func (x *SearchRequest) GetInnerHits() map[string]*InnerHit
func (*SearchRequest) GetLoggingHits ¶ added in v0.40.0
func (x *SearchRequest) GetLoggingHits() *LoggingHits
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) GetRuntimeFields ¶ added in v0.37.0
func (x *SearchRequest) GetRuntimeFields() []*RuntimeField
func (*SearchRequest) GetSearchAfter ¶ added in v0.40.0
func (x *SearchRequest) GetSearchAfter() *LastHitInfo
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) GetTerminateAfterMaxRecallCount ¶ added in v0.40.0
func (x *SearchRequest) GetTerminateAfterMaxRecallCount() 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 */ InnerHitsDiagnostics map[string]*SearchResponse_Diagnostics `` /* 182-byte string literal not displayed */ LoggingHitsTimeMs float64 `protobuf:"fixed64,15,opt,name=loggingHitsTimeMs,proto3" json:"loggingHitsTimeMs,omitempty"` // 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) GetInnerHitsDiagnostics ¶ added in v0.25.0
func (x *SearchResponse_Diagnostics) GetInnerHitsDiagnostics() map[string]*SearchResponse_Diagnostics
func (*SearchResponse_Diagnostics) GetLoggingHitsTimeMs ¶ added in v0.41.0
func (x *SearchResponse_Diagnostics) GetLoggingHitsTimeMs() 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 */ // Field name to highlighted text fragments Highlights map[string]*SearchResponse_Hit_Highlights `` /* 161-byte string literal not displayed */ // Lucene explanation of the hit Explain string `protobuf:"bytes,6,opt,name=explain,proto3" json:"explain,omitempty"` // InnerHits for each hit InnerHits map[string]*HitsResult `` /* 159-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) GetExplain ¶ added in v0.23.0
func (x *SearchResponse_Hit) GetExplain() string
func (*SearchResponse_Hit) GetFields ¶
func (x *SearchResponse_Hit) GetFields() map[string]*SearchResponse_Hit_CompositeFieldValue
func (*SearchResponse_Hit) GetHighlights ¶ added in v0.14.0
func (x *SearchResponse_Hit) GetHighlights() map[string]*SearchResponse_Hit_Highlights
func (*SearchResponse_Hit) GetInnerHits ¶ added in v0.25.0
func (x *SearchResponse_Hit) GetInnerHits() map[string]*HitsResult
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 // *SearchResponse_Hit_FieldValue_VectorValue // *SearchResponse_Hit_FieldValue_ListValue 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) GetListValue ¶ added in v0.37.0
func (x *SearchResponse_Hit_FieldValue) GetListValue() *structpb.ListValue
func (*SearchResponse_Hit_FieldValue) GetLongValue ¶
func (x *SearchResponse_Hit_FieldValue) GetLongValue() int64
func (*SearchResponse_Hit_FieldValue) GetStructValue ¶
func (x *SearchResponse_Hit_FieldValue) GetStructValue() *structpb.Struct
func (*SearchResponse_Hit_FieldValue) GetTextValue ¶
func (x *SearchResponse_Hit_FieldValue) GetTextValue() string
func (*SearchResponse_Hit_FieldValue) GetVectorValue ¶ added in v0.10.5
func (x *SearchResponse_Hit_FieldValue) GetVectorValue() *SearchResponse_Hit_FieldValue_Vector
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_ListValue ¶ added in v0.37.0
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_Hit_FieldValue_Vector ¶ added in v0.10.5
type SearchResponse_Hit_FieldValue_Vector struct { Value []float32 `protobuf:"fixed32,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse_Hit_FieldValue_Vector) Descriptor
deprecated
added in
v0.10.5
func (*SearchResponse_Hit_FieldValue_Vector) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Hit_FieldValue_Vector.ProtoReflect.Descriptor instead.
func (*SearchResponse_Hit_FieldValue_Vector) GetValue ¶ added in v0.10.5
func (x *SearchResponse_Hit_FieldValue_Vector) GetValue() []float32
func (*SearchResponse_Hit_FieldValue_Vector) ProtoMessage ¶ added in v0.10.5
func (*SearchResponse_Hit_FieldValue_Vector) ProtoMessage()
func (*SearchResponse_Hit_FieldValue_Vector) ProtoReflect ¶ added in v0.10.5
func (x *SearchResponse_Hit_FieldValue_Vector) ProtoReflect() protoreflect.Message
func (*SearchResponse_Hit_FieldValue_Vector) Reset ¶ added in v0.10.5
func (x *SearchResponse_Hit_FieldValue_Vector) Reset()
func (*SearchResponse_Hit_FieldValue_Vector) String ¶ added in v0.10.5
func (x *SearchResponse_Hit_FieldValue_Vector) String() string
type SearchResponse_Hit_FieldValue_VectorValue ¶ added in v0.10.5
type SearchResponse_Hit_FieldValue_VectorValue struct { // Value for VECTOR FieldType VectorValue *SearchResponse_Hit_FieldValue_Vector `protobuf:"bytes,9,opt,name=vectorValue,proto3,oneof"` }
type SearchResponse_Hit_Highlights ¶ added in v0.14.0
type SearchResponse_Hit_Highlights struct { // Highlighted text fragments Fragments []string `protobuf:"bytes,1,rep,name=fragments,proto3" json:"fragments,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse_Hit_Highlights) Descriptor
deprecated
added in
v0.14.0
func (*SearchResponse_Hit_Highlights) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse_Hit_Highlights.ProtoReflect.Descriptor instead.
func (*SearchResponse_Hit_Highlights) GetFragments ¶ added in v0.14.0
func (x *SearchResponse_Hit_Highlights) GetFragments() []string
func (*SearchResponse_Hit_Highlights) ProtoMessage ¶ added in v0.14.0
func (*SearchResponse_Hit_Highlights) ProtoMessage()
func (*SearchResponse_Hit_Highlights) ProtoReflect ¶ added in v0.14.0
func (x *SearchResponse_Hit_Highlights) ProtoReflect() protoreflect.Message
func (*SearchResponse_Hit_Highlights) Reset ¶ added in v0.14.0
func (x *SearchResponse_Hit_Highlights) Reset()
func (*SearchResponse_Hit_Highlights) String ¶ added in v0.14.0
func (x *SearchResponse_Hit_Highlights) String() string
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"` // Deprecated: Do not use. LastDocId int32 `protobuf:"varint,3,opt,name=lastDocId,proto3" json:"lastDocId,omitempty"` // replaced by lastHitInfo // Deprecated: Do not use. LastFieldValues []string `protobuf:"bytes,4,rep,name=lastFieldValues,proto3" json:"lastFieldValues,omitempty"` // replaced by lastHitInfo // Deprecated: Do not use. LastScore float32 `protobuf:"fixed32,5,opt,name=lastScore,proto3" json:"lastScore,omitempty"` // replaced by lastHitInfo LastHitInfo *LastHitInfo `protobuf:"bytes,6,opt,name=lastHitInfo,proto3" json:"lastHitInfo,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
deprecated
func (x *SearchResponse_SearchState) GetLastDocId() int32
Deprecated: Do not use.
func (*SearchResponse_SearchState) GetLastFieldValues
deprecated
func (x *SearchResponse_SearchState) GetLastFieldValues() []string
Deprecated: Do not use.
func (*SearchResponse_SearchState) GetLastHitInfo ¶ added in v0.40.0
func (x *SearchResponse_SearchState) GetLastHitInfo() *LastHitInfo
func (*SearchResponse_SearchState) GetLastScore
deprecated
func (x *SearchResponse_SearchState) GetLastScore() float32
Deprecated: Do not use.
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 SettingsV2Request ¶ added in v0.11.0
type SettingsV2Request struct { // Index name IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // Settings to merge into existing settings, or unset to get current settings Settings *IndexSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*SettingsV2Request) Descriptor
deprecated
added in
v0.11.0
func (*SettingsV2Request) Descriptor() ([]byte, []int)
Deprecated: Use SettingsV2Request.ProtoReflect.Descriptor instead.
func (*SettingsV2Request) GetIndexName ¶ added in v0.11.0
func (x *SettingsV2Request) GetIndexName() string
func (*SettingsV2Request) GetSettings ¶ added in v0.11.0
func (x *SettingsV2Request) GetSettings() *IndexSettings
func (*SettingsV2Request) ProtoMessage ¶ added in v0.11.0
func (*SettingsV2Request) ProtoMessage()
func (*SettingsV2Request) ProtoReflect ¶ added in v0.11.0
func (x *SettingsV2Request) ProtoReflect() protoreflect.Message
func (*SettingsV2Request) Reset ¶ added in v0.11.0
func (x *SettingsV2Request) Reset()
func (*SettingsV2Request) String ¶ added in v0.11.0
func (x *SettingsV2Request) String() string
type SettingsV2Response ¶ added in v0.11.0
type SettingsV2Response struct { // Current index settings, including default values Settings *IndexSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*SettingsV2Response) Descriptor
deprecated
added in
v0.11.0
func (*SettingsV2Response) Descriptor() ([]byte, []int)
Deprecated: Use SettingsV2Response.ProtoReflect.Descriptor instead.
func (*SettingsV2Response) GetSettings ¶ added in v0.11.0
func (x *SettingsV2Response) GetSettings() *IndexSettings
func (*SettingsV2Response) ProtoMessage ¶ added in v0.11.0
func (*SettingsV2Response) ProtoMessage()
func (*SettingsV2Response) ProtoReflect ¶ added in v0.11.0
func (x *SettingsV2Response) ProtoReflect() protoreflect.Message
func (*SettingsV2Response) Reset ¶ added in v0.11.0
func (x *SettingsV2Response) Reset()
func (*SettingsV2Response) String ¶ added in v0.11.0
func (x *SettingsV2Response) 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"` // The unit used for the distance sort. Supported options are m, km and mi, default is m Unit string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,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 SpanMultiTermQuery ¶ added in v0.39.0
type SpanMultiTermQuery struct { // The query to be wrapped // // Types that are assignable to WrappedQuery: // // *SpanMultiTermQuery_WildcardQuery // *SpanMultiTermQuery_FuzzyQuery // *SpanMultiTermQuery_PrefixQuery // *SpanMultiTermQuery_RegexpQuery // *SpanMultiTermQuery_TermRangeQuery WrappedQuery isSpanMultiTermQuery_WrappedQuery `protobuf_oneof:"wrappedQuery"` // contains filtered or unexported fields }
Message for a SpanMultiTermQuery
func (*SpanMultiTermQuery) Descriptor
deprecated
added in
v0.39.0
func (*SpanMultiTermQuery) Descriptor() ([]byte, []int)
Deprecated: Use SpanMultiTermQuery.ProtoReflect.Descriptor instead.
func (*SpanMultiTermQuery) GetFuzzyQuery ¶ added in v0.39.0
func (x *SpanMultiTermQuery) GetFuzzyQuery() *FuzzyQuery
func (*SpanMultiTermQuery) GetPrefixQuery ¶ added in v0.39.0
func (x *SpanMultiTermQuery) GetPrefixQuery() *PrefixQuery
func (*SpanMultiTermQuery) GetRegexpQuery ¶ added in v0.39.0
func (x *SpanMultiTermQuery) GetRegexpQuery() *RegexpQuery
func (*SpanMultiTermQuery) GetTermRangeQuery ¶ added in v0.39.0
func (x *SpanMultiTermQuery) GetTermRangeQuery() *TermRangeQuery
func (*SpanMultiTermQuery) GetWildcardQuery ¶ added in v0.39.0
func (x *SpanMultiTermQuery) GetWildcardQuery() *WildcardQuery
func (*SpanMultiTermQuery) GetWrappedQuery ¶ added in v0.39.0
func (m *SpanMultiTermQuery) GetWrappedQuery() isSpanMultiTermQuery_WrappedQuery
func (*SpanMultiTermQuery) ProtoMessage ¶ added in v0.39.0
func (*SpanMultiTermQuery) ProtoMessage()
func (*SpanMultiTermQuery) ProtoReflect ¶ added in v0.39.0
func (x *SpanMultiTermQuery) ProtoReflect() protoreflect.Message
func (*SpanMultiTermQuery) Reset ¶ added in v0.39.0
func (x *SpanMultiTermQuery) Reset()
func (*SpanMultiTermQuery) String ¶ added in v0.39.0
func (x *SpanMultiTermQuery) String() string
type SpanMultiTermQuery_FuzzyQuery ¶ added in v0.39.0
type SpanMultiTermQuery_FuzzyQuery struct {
FuzzyQuery *FuzzyQuery `protobuf:"bytes,2,opt,name=fuzzyQuery,proto3,oneof"`
}
type SpanMultiTermQuery_PrefixQuery ¶ added in v0.39.0
type SpanMultiTermQuery_PrefixQuery struct {
PrefixQuery *PrefixQuery `protobuf:"bytes,3,opt,name=prefixQuery,proto3,oneof"`
}
type SpanMultiTermQuery_RegexpQuery ¶ added in v0.39.0
type SpanMultiTermQuery_RegexpQuery struct {
RegexpQuery *RegexpQuery `protobuf:"bytes,4,opt,name=regexpQuery,proto3,oneof"`
}
type SpanMultiTermQuery_TermRangeQuery ¶ added in v0.39.0
type SpanMultiTermQuery_TermRangeQuery struct {
TermRangeQuery *TermRangeQuery `protobuf:"bytes,5,opt,name=termRangeQuery,proto3,oneof"`
}
type SpanMultiTermQuery_WildcardQuery ¶ added in v0.39.0
type SpanMultiTermQuery_WildcardQuery struct {
WildcardQuery *WildcardQuery `protobuf:"bytes,1,opt,name=wildcardQuery,proto3,oneof"`
}
type SpanNearQuery ¶ added in v0.39.0
type SpanNearQuery struct { // Clauses for a span near query. Clauses []*SpanQuery `protobuf:"bytes,1,rep,name=clauses,proto3" json:"clauses,omitempty"` // Maximum number of positions between matching terms. Slop int32 `protobuf:"varint,2,opt,name=slop,proto3" json:"slop,omitempty"` // True if the matching terms must be in the same order as the query. InOrder bool `protobuf:"varint,3,opt,name=inOrder,proto3" json:"inOrder,omitempty"` // contains filtered or unexported fields }
A query that matches documents containing terms within a specified range.
func (*SpanNearQuery) Descriptor
deprecated
added in
v0.39.0
func (*SpanNearQuery) Descriptor() ([]byte, []int)
Deprecated: Use SpanNearQuery.ProtoReflect.Descriptor instead.
func (*SpanNearQuery) GetClauses ¶ added in v0.39.0
func (x *SpanNearQuery) GetClauses() []*SpanQuery
func (*SpanNearQuery) GetInOrder ¶ added in v0.39.0
func (x *SpanNearQuery) GetInOrder() bool
func (*SpanNearQuery) GetSlop ¶ added in v0.39.0
func (x *SpanNearQuery) GetSlop() int32
func (*SpanNearQuery) ProtoMessage ¶ added in v0.39.0
func (*SpanNearQuery) ProtoMessage()
func (*SpanNearQuery) ProtoReflect ¶ added in v0.39.0
func (x *SpanNearQuery) ProtoReflect() protoreflect.Message
func (*SpanNearQuery) Reset ¶ added in v0.39.0
func (x *SpanNearQuery) Reset()
func (*SpanNearQuery) String ¶ added in v0.39.0
func (x *SpanNearQuery) String() string
type SpanQuery ¶ added in v0.39.0
type SpanQuery struct { // Types that are assignable to Query: // // *SpanQuery_SpanTermQuery // *SpanQuery_SpanNearQuery // *SpanQuery_SpanMultiTermQuery Query isSpanQuery_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
Wrapper message for different types of SpanQuery
func (*SpanQuery) Descriptor
deprecated
added in
v0.39.0
func (*SpanQuery) GetSpanMultiTermQuery ¶ added in v0.39.0
func (x *SpanQuery) GetSpanMultiTermQuery() *SpanMultiTermQuery
func (*SpanQuery) GetSpanNearQuery ¶ added in v0.39.0
func (x *SpanQuery) GetSpanNearQuery() *SpanNearQuery
func (*SpanQuery) GetSpanTermQuery ¶ added in v0.39.0
func (*SpanQuery) ProtoMessage ¶ added in v0.39.0
func (*SpanQuery) ProtoMessage()
func (*SpanQuery) ProtoReflect ¶ added in v0.39.0
func (x *SpanQuery) ProtoReflect() protoreflect.Message
type SpanQuery_SpanMultiTermQuery ¶ added in v0.39.0
type SpanQuery_SpanMultiTermQuery struct {
SpanMultiTermQuery *SpanMultiTermQuery `protobuf:"bytes,3,opt,name=spanMultiTermQuery,proto3,oneof"`
}
type SpanQuery_SpanNearQuery ¶ added in v0.39.0
type SpanQuery_SpanNearQuery struct {
SpanNearQuery *SpanNearQuery `protobuf:"bytes,2,opt,name=spanNearQuery,proto3,oneof"`
}
type SpanQuery_SpanTermQuery ¶ added in v0.39.0
type SpanQuery_SpanTermQuery struct {
SpanTermQuery *TermQuery `protobuf:"bytes,1,opt,name=spanTermQuery,proto3,oneof"`
}
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 // replica, location of discovery file containing primary host/port. Used if primaryAddress is empty. If port is specified in this request, it overrides the value in the file PrimaryDiscoveryFile string `protobuf:"bytes,7,opt,name=primaryDiscoveryFile,proto3" json:"primaryDiscoveryFile,omitempty"` // 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) GetPrimaryDiscoveryFile ¶ added in v0.12.0
func (x *StartIndexRequest) GetPrimaryDiscoveryFile() 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 StartIndexV2Request ¶ added in v0.18.0
type StartIndexV2Request struct { // index name IndexName string `protobuf:"bytes,1,opt,name=indexName,proto3" json:"indexName,omitempty"` // contains filtered or unexported fields }
Start the index using IndexStartConfig configuration
func (*StartIndexV2Request) Descriptor
deprecated
added in
v0.18.0
func (*StartIndexV2Request) Descriptor() ([]byte, []int)
Deprecated: Use StartIndexV2Request.ProtoReflect.Descriptor instead.
func (*StartIndexV2Request) GetIndexName ¶ added in v0.18.0
func (x *StartIndexV2Request) GetIndexName() string
func (*StartIndexV2Request) ProtoMessage ¶ added in v0.18.0
func (*StartIndexV2Request) ProtoMessage()
func (*StartIndexV2Request) ProtoReflect ¶ added in v0.18.0
func (x *StartIndexV2Request) ProtoReflect() protoreflect.Message
func (*StartIndexV2Request) Reset ¶ added in v0.18.0
func (x *StartIndexV2Request) Reset()
func (*StartIndexV2Request) String ¶ added in v0.18.0
func (x *StartIndexV2Request) 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 TermRangeQuery ¶ added in v0.39.0
type TermRangeQuery struct { // The field to search Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // The lower bound of the range LowerTerm string `protobuf:"bytes,2,opt,name=lower_term,json=lowerTerm,proto3" json:"lower_term,omitempty"` // The upper bound of the range UpperTerm string `protobuf:"bytes,3,opt,name=upper_term,json=upperTerm,proto3" json:"upper_term,omitempty"` // Whether to include the lower bound in the range IncludeLower bool `protobuf:"varint,4,opt,name=include_lower,json=includeLower,proto3" json:"include_lower,omitempty"` // Whether to include the upper bound in the range IncludeUpper bool `protobuf:"varint,5,opt,name=include_upper,json=includeUpper,proto3" json:"include_upper,omitempty"` // Method used to rewrite the query. Rewrite RewriteMethod `protobuf:"varint,6,opt,name=rewrite,proto3,enum=luceneserver.RewriteMethod" json:"rewrite,omitempty"` // Specifies the size to use for the TOP_TERMS* rewrite methods. RewriteTopTermsSize int32 `protobuf:"varint,7,opt,name=rewriteTopTermsSize,proto3" json:"rewriteTopTermsSize,omitempty"` // contains filtered or unexported fields }
Define a message for TermRangeQuery
func (*TermRangeQuery) Descriptor
deprecated
added in
v0.39.0
func (*TermRangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use TermRangeQuery.ProtoReflect.Descriptor instead.
func (*TermRangeQuery) GetField ¶ added in v0.39.0
func (x *TermRangeQuery) GetField() string
func (*TermRangeQuery) GetIncludeLower ¶ added in v0.39.0
func (x *TermRangeQuery) GetIncludeLower() bool
func (*TermRangeQuery) GetIncludeUpper ¶ added in v0.39.0
func (x *TermRangeQuery) GetIncludeUpper() bool
func (*TermRangeQuery) GetLowerTerm ¶ added in v0.39.0
func (x *TermRangeQuery) GetLowerTerm() string
func (*TermRangeQuery) GetRewrite ¶ added in v0.39.0
func (x *TermRangeQuery) GetRewrite() RewriteMethod
func (*TermRangeQuery) GetRewriteTopTermsSize ¶ added in v0.39.0
func (x *TermRangeQuery) GetRewriteTopTermsSize() int32
func (*TermRangeQuery) GetUpperTerm ¶ added in v0.39.0
func (x *TermRangeQuery) GetUpperTerm() string
func (*TermRangeQuery) ProtoMessage ¶ added in v0.39.0
func (*TermRangeQuery) ProtoMessage()
func (*TermRangeQuery) ProtoReflect ¶ added in v0.39.0
func (x *TermRangeQuery) ProtoReflect() protoreflect.Message
func (*TermRangeQuery) Reset ¶ added in v0.39.0
func (x *TermRangeQuery) Reset()
func (*TermRangeQuery) String ¶ added in v0.39.0
func (x *TermRangeQuery) String() string
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"` // How results Buckets should be ordered, defaults to descending Bucket _count. Order *BucketOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,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) GetOrder ¶ added in v0.23.0
func (x *TermsCollector) GetOrder() *BucketOrder
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 { // Use field values for terms. 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 TopHitsCollector ¶ added in v0.13.0
type TopHitsCollector struct { // Offset for retrieval of top hits. StartHit int32 `protobuf:"varint,1,opt,name=startHit,proto3" json:"startHit,omitempty"` // Total hits to collect, note that the number of hits returned is (topHits - startHit). TopHits int32 `protobuf:"varint,2,opt,name=topHits,proto3" json:"topHits,omitempty"` // When specified, collector does sort based collection. Otherwise, relevance score is used. QuerySort *QuerySortField `protobuf:"bytes,3,opt,name=querySort,proto3" json:"querySort,omitempty"` // Which fields to retrieve. RetrieveFields []string `protobuf:"bytes,4,rep,name=retrieveFields,proto3" json:"retrieveFields,omitempty"` // If Lucene explanation should be included in the collector response Explain bool `protobuf:"varint,5,opt,name=explain,proto3" json:"explain,omitempty"` // contains filtered or unexported fields }
Definition of top hits based collector.
func (*TopHitsCollector) Descriptor
deprecated
added in
v0.13.0
func (*TopHitsCollector) Descriptor() ([]byte, []int)
Deprecated: Use TopHitsCollector.ProtoReflect.Descriptor instead.
func (*TopHitsCollector) GetExplain ¶ added in v0.23.0
func (x *TopHitsCollector) GetExplain() bool
func (*TopHitsCollector) GetQuerySort ¶ added in v0.13.0
func (x *TopHitsCollector) GetQuerySort() *QuerySortField
func (*TopHitsCollector) GetRetrieveFields ¶ added in v0.13.0
func (x *TopHitsCollector) GetRetrieveFields() []string
func (*TopHitsCollector) GetStartHit ¶ added in v0.13.0
func (x *TopHitsCollector) GetStartHit() int32
func (*TopHitsCollector) GetTopHits ¶ added in v0.13.0
func (x *TopHitsCollector) GetTopHits() int32
func (*TopHitsCollector) ProtoMessage ¶ added in v0.13.0
func (*TopHitsCollector) ProtoMessage()
func (*TopHitsCollector) ProtoReflect ¶ added in v0.13.0
func (x *TopHitsCollector) ProtoReflect() protoreflect.Message
func (*TopHitsCollector) Reset ¶ added in v0.13.0
func (x *TopHitsCollector) Reset()
func (*TopHitsCollector) String ¶ added in v0.13.0
func (x *TopHitsCollector) String() string
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) Custom ¶ added in v0.11.0
func (*UnimplementedLuceneServerServer) Custom(context.Context, *CustomRequest) (*CustomResponse, 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) LiveSettingsV2 ¶ added in v0.11.0
func (*UnimplementedLuceneServerServer) LiveSettingsV2(context.Context, *LiveSettingsV2Request) (*LiveSettingsV2Response, 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) ReloadState ¶ added in v0.13.0
func (*UnimplementedLuceneServerServer) ReloadState(context.Context, *ReloadStateRequest) (*ReloadStateResponse, error)
func (*UnimplementedLuceneServerServer) Search ¶
func (*UnimplementedLuceneServerServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)
func (*UnimplementedLuceneServerServer) SearchV2 ¶
func (*UnimplementedLuceneServerServer) SearchV2(context.Context, *SearchRequest) (*anypb.Any, error)
func (*UnimplementedLuceneServerServer) Settings ¶
func (*UnimplementedLuceneServerServer) Settings(context.Context, *SettingsRequest) (*SettingsResponse, error)
func (*UnimplementedLuceneServerServer) SettingsV2 ¶ added in v0.11.0
func (*UnimplementedLuceneServerServer) SettingsV2(context.Context, *SettingsV2Request) (*SettingsV2Response, error)
func (*UnimplementedLuceneServerServer) StartIndex ¶
func (*UnimplementedLuceneServerServer) StartIndex(context.Context, *StartIndexRequest) (*StartIndexResponse, error)
func (*UnimplementedLuceneServerServer) StartIndexV2 ¶ added in v0.18.0
func (*UnimplementedLuceneServerServer) StartIndexV2(context.Context, *StartIndexV2Request) (*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
type WildcardQuery ¶ added in v0.39.0
type WildcardQuery struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // Method used to rewrite the query. Rewrite RewriteMethod `protobuf:"varint,3,opt,name=rewrite,proto3,enum=luceneserver.RewriteMethod" json:"rewrite,omitempty"` // Specifies the size to use for the TOP_TERMS* rewrite methods. RewriteTopTermsSize int32 `protobuf:"varint,4,opt,name=rewriteTopTermsSize,proto3" json:"rewriteTopTermsSize,omitempty"` // contains filtered or unexported fields }
A query that matches documents containing terms matching a pattern.
func (*WildcardQuery) Descriptor
deprecated
added in
v0.39.0
func (*WildcardQuery) Descriptor() ([]byte, []int)
Deprecated: Use WildcardQuery.ProtoReflect.Descriptor instead.
func (*WildcardQuery) GetField ¶ added in v0.39.0
func (x *WildcardQuery) GetField() string
func (*WildcardQuery) GetRewrite ¶ added in v0.39.0
func (x *WildcardQuery) GetRewrite() RewriteMethod
func (*WildcardQuery) GetRewriteTopTermsSize ¶ added in v0.39.0
func (x *WildcardQuery) GetRewriteTopTermsSize() int32
func (*WildcardQuery) GetText ¶ added in v0.39.0
func (x *WildcardQuery) GetText() string
func (*WildcardQuery) ProtoMessage ¶ added in v0.39.0
func (*WildcardQuery) ProtoMessage()
func (*WildcardQuery) ProtoReflect ¶ added in v0.39.0
func (x *WildcardQuery) ProtoReflect() protoreflect.Message
func (*WildcardQuery) Reset ¶ added in v0.39.0
func (x *WildcardQuery) Reset()
func (*WildcardQuery) String ¶ added in v0.39.0
func (x *WildcardQuery) String() string