Clean up logging
This commit is contained in:
parent
f4c5834f0c
commit
2d488ffdcc
@ -206,7 +206,6 @@ func (m *BookmarkManager) ScrapeAndIndex(bm *entity.Bookmark) error {
|
|||||||
func (m *BookmarkManager) UpdateIndexForBookmark(bm *entity.Bookmark) {
|
func (m *BookmarkManager) UpdateIndexForBookmark(bm *entity.Bookmark) {
|
||||||
words := content.Words(bm)
|
words := content.Words(bm)
|
||||||
words = append(words, bm.Tags...)
|
words = append(words, bm.Tags...)
|
||||||
log.Printf("index for %d %s (%d words)", bm.ID, bm.URL, len(words))
|
|
||||||
m.db.UpdateIndexForWordsByID(words, bm.ID)
|
m.db.UpdateIndexForWordsByID(words, bm.ID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user