ajdavis / motor-blog

Blog based on Tornado, MongoDB, and Motor. To be used with MarsEdit.
148 stars 40 forks source link

about search posts and option ensure_indexes #37

Closed versionzhang closed 8 years ago

versionzhang commented 8 years ago

I want to search your post by search link, then I should use --ensure_indexes=true to provide your posts indexed, otherwise I will get Error message like this:

    OperationFailure: database error: Can't canonicalize query: IndexNotFound text index required for $text query

I suggest to add README.md about this.

ajdavis commented 8 years ago

Good idea, thanks.