Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkHandler ¶
type BulkHandler struct {
// contains filtered or unexported fields
}
func NewBulkHandler ¶
func NewBulkHandler(proc DocumentsProcessor, maxDocumentSize int) *BulkHandler
func (*BulkHandler) ServeHTTP ¶
func (h *BulkHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type DocumentsProcessor ¶
type ExportServer ¶
type ExportServer interface {
seqproxyapi.SeqProxyApi_ExportServer
}
type FetchServer ¶
type FetchServer interface {
seqproxyapi.SeqProxyApi_FetchServer
}
type Ingestor ¶
type Ingestor struct {
Config IngestorConfig
BulkIngestor *bulk.Ingestor
SearchIngestor *search.Ingestor
// contains filtered or unexported fields
}
func NewIngestor ¶
func NewIngestor(config IngestorConfig, store *storeapiclient.Store) (*Ingestor, error)
type IngestorConfig ¶
type IngestorConfig struct {
API APIConfig
Search search.Config
Bulk bulk.IngestorConfig
}
type MappingProvider ¶
type MappingProvider interface {
GetRawMapping() *seq.RawMapping
}
type RateLimiter ¶
type SearchIngestor ¶
type SearchIngestor interface {
Search(ctx context.Context, sr *search.SearchRequest, tr *querytracer.Tracer) (*seq.QPR, search.DocsIterator, time.Duration, error)
Documents(ctx context.Context, r search.FetchRequest) (search.DocsIterator, error)
Status(ctx context.Context) *search.IngestorStatus
StartAsyncSearch(context.Context, search.AsyncRequest) (search.AsyncResponse, error)
FetchAsyncSearchResult(context.Context, search.FetchAsyncSearchResultRequest) (search.FetchAsyncSearchResultResponse, search.DocsIterator, error)
CancelAsyncSearch(ctx context.Context, id string) error
DeleteAsyncSearch(ctx context.Context, id string) error
GetAsyncSearchesList(context.Context, search.GetAsyncSearchesListRequest) ([]*search.AsyncSearchesListItem, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.