Update doc comment

Signed-off-by: gemaizi <864321211@qq.com>
pull/10752/head
maizige 3 years ago committed by GitHub
parent 08262454a3
commit 10b677b826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,8 +40,8 @@ import (
// IndexWriter serializes the index for a block of series data. // IndexWriter serializes the index for a block of series data.
// The methods must be called in the order they are specified in. // The methods must be called in the order they are specified in.
type IndexWriter interface { type IndexWriter interface {
// AddSymbols registers all string symbols that are encountered in series // AddSymbol registers a single symbol.
// and other indices. Symbols must be added in sorted order. // Symbols must be registered in sorted order.
AddSymbol(sym string) error AddSymbol(sym string) error
// AddSeries populates the index writer with a series and its offsets // AddSeries populates the index writer with a series and its offsets

Loading…
Cancel
Save