You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/12 14:37:21 UTC

[GitHub] [couchdb-nano] hamedminaee opened a new issue #214: stale ok for partial retrieval while indexing in progress

hamedminaee opened a new issue #214: stale ok for partial retrieval while indexing in progress
URL: https://github.com/apache/couchdb-nano/issues/214
 
 
   Hello team,
   
   I am using nano and this is how I call the design to get data back:
   
   db.search("searchAll", "searchAll", {
         include_docs: true,
         limit: limit >= 0 ? limit : 10,
         bookmark,
         counts,
         query: query && query.length > 0 ? query : "*:*",
         sort,
       })
   
   so now I need to add a stale: ok which tells couch do not care if the indexing is done just return the result partially anytime this is called.
   Does Nano  handle that? 
   how can I pass stale ok to nano ? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [couchdb-nano] glynnbird closed issue #214: stale ok for partial retrieval while indexing in progress

Posted by GitBox <gi...@apache.org>.
glynnbird closed issue #214: stale ok for partial retrieval while indexing in progress
URL: https://github.com/apache/couchdb-nano/issues/214
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

[GitHub] [couchdb-nano] glynnbird commented on issue #214: stale ok for partial retrieval while indexing in progress

Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #214: stale ok for partial retrieval while indexing in progress
URL: https://github.com/apache/couchdb-nano/issues/214#issuecomment-598248005
 
 
   Nano just passes all options you supply to CouchDB. See [this blog](https://blog.cloudant.com/2018/11/06/What-is-stale-update-and-stable.html) on how updates are triggered or not by queries.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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