Update doc comment

Signed-off-by: gemaizi <864321211@qq.com>
This commit is contained in:
maizige 2022-05-26 00:01:45 +08:00 committed by GitHub
parent 08262454a3
commit 10b677b826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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