Versions in this module Expand all Collapse all v1 v1.0.1 Aug 9, 2021 v1.0.0 Jan 16, 2021 Changes in this version + func WriteIndexMetadata(path string, meta *IndexMetadata) error + type FlushingBatch interface + Delete func(id string) error + Flush func() error + Index func(id string, data interface{}) error + func NewFlushingBatch(index bleve.Index, maxBatchSize int) FlushingBatch + func NewShardedFlushingBatch(index ShardedIndex, maxBatchSize int) FlushingBatch + type IndexMetadata struct + Version int + func ReadIndexMetadata(path string) (*IndexMetadata, error) + type ShardedIndex interface + func NewShardedIndex(path string, mapping mapping.IndexMapping, numShards int) (ShardedIndex, error) + func OpenShardedIndex(path string) (ShardedIndex, error)