diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/mongodb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/mongodb.py b/source/mongodb.py index 93894154..1c5ddf2a 100644 --- a/source/mongodb.py +++ b/source/mongodb.py @@ -45,7 +45,7 @@ class Articles(object): Creates a new collection for a new feed. """ collection = self.db[new_collection["feed_id"]] - collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) + #collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False}) collection.ensure_index('article_content', pymongo.ASCENDING) collection.insert(new_collection) @@ -281,4 +281,4 @@ if __name__ == "__main__": # Drop the database - #articles.drop_database()
\ No newline at end of file + #articles.drop_database() |