Skip to content

Commit

Permalink
Corrected comment
Browse files Browse the repository at this point in the history
  • Loading branch information
svera committed Sep 8, 2024
1 parent a7c8fa7 commit 487b2dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/index/bleve_write.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ func (b *BleveIndexer) RemoveFile(file string) error {
return nil
}

// AddLibrary scans <libraryPath> for documents and adds them to the index in batches of <bathSize> if they
// haven't been previously indexed
// AddLibrary scans <libraryPath> for documents and adds them to the index in batches of <batchSize> if they
// haven't been previously indexed or if <forceIndexing> is true
func (b *BleveIndexer) AddLibrary(batchSize int, forceIndexing bool) error {
batch := b.idx.NewBatch()
batchSlugs := make(map[string]struct{}, batchSize)
Expand Down

0 comments on commit 487b2dc

Please sign in to comment.