Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooManyInflightBulks = errors.New("too many inflight bulks, dropping")
Functions ¶
This section is empty.
Types ¶
type Ingestor ¶
type Ingestor struct {
// contains filtered or unexported fields
}
func NewIngestor ¶
func NewIngestor(c IngestorConfig, client StorageClient) *Ingestor
func (*Ingestor) ProcessDocuments ¶
type IngestorConfig ¶
type IngestorConfig struct {
HotStores *stores.Stores
WriteStores *stores.Stores
BulkCircuit circuitbreaker.Config
MaxInflightBulks int
AllowedTimeDrift time.Duration
FutureAllowedTimeDrift time.Duration
MappingProvider MappingProvider
MaxTokenSize int
CaseSensitive bool
PartialFieldIndexing bool
DocsZSTDCompressLevel int
MetasZSTDCompressLevel int
MaxDocumentSize int
}
type MappingProvider ¶
type MappingProvider interface {
GetMapping() seq.Mapping
GetRawMapping() *seq.RawMapping
}
type SeqDBClient ¶
type SeqDBClient struct {
// contains filtered or unexported fields
}
func NewSeqDBClient ¶
func NewSeqDBClient(hots, colds *stores.Stores, bulkCircuit circuitbreaker.Config, clients map[string]storeapi.StoreApiClient) *SeqDBClient
func (*SeqDBClient) StoreDocuments ¶
Click to show internal directories.
Click to hide internal directories.