diff options
Diffstat (limited to 'source')
-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: |