Skip to content

Conversation

@seanbarclay
Copy link
Contributor

@rajrsingh @bradley-holt @bradnoble. Please review and test to make sure docs are coming back in proper order. Thanks!

@isc-rsingh
Copy link
Contributor

having trouble with this. I got an error, modified app.js line 386 to get back a more verbose error message, and see this: "err: {"error":"no_usable_index","reason":"No index exists for this sort, try indexing by the sort fields."}".
@seanbarclay is there some index you created manually that needs to be added to the couchapp in some way?

@seanbarclay
Copy link
Contributor Author

@rajrsingh I believe this was the index I created:

{
"index": {
"fields": ["properties.timestamp"]
}
}

here's what the doc looks like in my location tracker DB:
https://gist.github.com/seanbarclay/9ee118740df594e7d82d

At some point, I recommend updating the tutorial with the reference to CQ and creating the index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants