mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-27 22:09:53 +02:00
@@ -236,5 +236,9 @@ func (s *RelatedDocsHandler) getOrCreateIndex(ctx context.Context, p Pages) (*re
|
||||
|
||||
s.postingLists = append(s.postingLists, &cachedPostingList{p: p, postingList: searchIndex})
|
||||
|
||||
if err := searchIndex.Finalize(ctx); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return searchIndex, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user