From 3c010414c31fc93ccd5f40c4ae98c585e444bb86 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 1 Feb 2013 10:57:40 +0100 Subject: Updated README with just information about the required modules for the language detection. --- source/mongodb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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() -- cgit