diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 13:03:04 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 13:03:04 +0100 |
commit | 85cf121bd14b0e0564ea1bee5dafce175a1bbf2e (patch) | |
tree | 809a0b46f518bb6b4a6ad37d323ad89af21b8964 /source/mongodb.py | |
parent | Restored favicon. (diff) | |
download | newspipe-85cf121bd14b0e0564ea1bee5dafce175a1bbf2e.tar.gz newspipe-85cf121bd14b0e0564ea1bee5dafce175a1bbf2e.tar.bz2 newspipe-85cf121bd14b0e0564ea1bee5dafce175a1bbf2e.zip |
In and Post order depth traversal.
Diffstat (limited to 'source/mongodb.py')
-rw-r--r-- | source/mongodb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mongodb.py b/source/mongodb.py index 38081780..9e64fe4f 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) |