You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/08/10 09:21:13 UTC
[GitHub] willholley commented on issue #740: Add Bookmark support for mango json queries
willholley commented on issue #740: Add Bookmark support for mango json queries
URL: https://github.com/apache/couchdb/pull/740#issuecomment-321498824
testing a basic case where no results are returned, I get a response:
```
{"warning":"no matching index found, create an index to optimize query time",
"docs":[
],
"bookmark": "nil"}
```
However, passing "nil" back as a bookmark returns an error:
```
$ curl 'http://127.0.0.1:15984/test/_find' -H 'Content-Type:application/json' -d '{"selector":{"id":"willnotmatch"},"bookmark":"nil"}'
{"error":"invalid_bookmark","reason":"Invalid bookmark value: \"nil\""}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services