diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 19:28:32 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 19:28:32 +0100 |
commit | 40e7185e8c10c7ef017ef94a3c9189927d3acc39 (patch) | |
tree | 3853c5af3d1f6877cc41e2831db1fc92904e51d7 /source/mongodb.py | |
parent | Search function now using MongoDB indexed fulltext searching. (diff) | |
download | newspipe-40e7185e8c10c7ef017ef94a3c9189927d3acc39.tar.gz newspipe-40e7185e8c10c7ef017ef94a3c9189927d3acc39.tar.bz2 newspipe-40e7185e8c10c7ef017ef94a3c9189927d3acc39.zip |
Removed useless comments.
Diffstat (limited to 'source/mongodb.py')
-rw-r--r-- | source/mongodb.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/mongodb.py b/source/mongodb.py index e91fb90b..9ee3e8ea 100644 --- a/source/mongodb.py +++ b/source/mongodb.py @@ -56,9 +56,6 @@ class Articles(object): Add article(s) in a collection. """ collection = self.db[str(feed_id)] - #collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) - #collection.ensure_index('article_content', pymongo.ASCENDING) - print(collection.index_information()) for article in articles: cursor = collection.find({"article_id":article["article_id"]}) if cursor.count() == 0: |