0
0
Fork 0

index: DocIDReader.Next() returns nil when done not io.EOF

This commit is contained in:
Patrick Mezard 2016-11-20 19:05:35 +01:00
parent 3da28dfbc1
commit c81fd6fdb0
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ type FieldDict interface {
// Close the reader to release associated resources.
type DocIDReader interface {
// Next returns the next document internal identifier in the natural
// index order, or io.EOF when the end of the sequence is reached.
// index order, nil when the end of the sequence is reached.
Next() (IndexInternalID, error)
// Advance resets the iteration to the first internal identifier greater than