0
0
Fork 0

scorch fix persistDocValues() err return

This commit is contained in:
Steve Yen 2018-03-06 16:29:33 -08:00
parent 8c0f402d4b
commit 79f28b7c93
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ func persistDocValues(memSegment *mem.Segment, w *CountHashWriter,
var err1 error
postings, err1 = dict.(*mem.Dictionary).InitPostingsList(next.Term, nil, postings)
if err1 != nil {
return nil, err
return nil, err1
}
postingsItr = postings.InitIterator(postingsItr)