aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/search.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-30 10:40:38 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-30 10:40:38 +0100
commit0af83751908aac66029848d7464c332008f47b72 (patch)
treea362437d6b4a62fdb97fd964975d61263f7edbf3 /pyaggr3g470r/search.py
parentDatabase is now indexed in background. (diff)
downloadnewspipe-0af83751908aac66029848d7464c332008f47b72.tar.gz
newspipe-0af83751908aac66029848d7464c332008f47b72.tar.bz2
newspipe-0af83751908aac66029848d7464c332008f47b72.zip
Minor changes (comment and logging).
Diffstat (limited to 'pyaggr3g470r/search.py')
-rw-r--r--pyaggr3g470r/search.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyaggr3g470r/search.py b/pyaggr3g470r/search.py
index b9e0ade7..2c065fb3 100644
--- a/pyaggr3g470r/search.py
+++ b/pyaggr3g470r/search.py
@@ -62,10 +62,8 @@ def create_index(user_id):
os.makedirs(indexdir)
ix = create_in(indexdir, schema)
writer = ix.writer()
- logger.info("Starting now.")
- logger.info("Test: "+ user.nickname)
for feed in user.feeds:
- logger.info("Indexing " +feed.title)
+ logger.info("Indexing " + feed.title)
for article in feed.articles:
writer.add_document(title=article.title,
content=utils.clear_string(article.content),
bgstack15