Skip to content

Added code ensuring indices exist on all collections #53

Merged
merged 3 commits into from Apr 1, 2014

2 participants

@fccoelho
Núcleo de Análise e Modelagem de Dados member
fccoelho commented Mar 9, 2014

@turicas please check and see if that is enough.

@turicas

We may use the same syntax for creating indexes just for the sake of consistency.
I'd replace this line with: FEEDS.ensure_index([("subtitle_detail.base": pymongo.ASCENDING)]).

@turicas

Same here about consistency: ARTICLES.ensure_index([("published": pymongo.DESCENDING)]).

@turicas

Same here (syntax consistency) and on line 52.

@fccoelho fccoelho merged commit 98aeee4 into master Apr 1, 2014
@fccoelho fccoelho deleted the fix/missing_indices branch Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.