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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to