diff options
author | isaacs <i@izs.me> | 2011-07-19 07:05:43 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-07-19 07:05:56 +0400 |
commit | 695c8d6e2cb3a2cf339dd83b71eb08e43c70fe69 (patch) | |
tree | 26000103feb9aa08b9d8cfd6feecf9a84e448182 /lib/search.js | |
parent | bc32de8e9bbdbc86a6be7ce3daa31361ff823dfe (diff) |
Make search ridiculously fast.
Mad props to @JasonSmith, @janl, @mikeal, and @maxogden for chipping in
with various CouchDB skillz and insights.
This is really awesome.
Diffstat (limited to 'lib/search.js')
-rw-r--r-- | lib/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.js b/lib/search.js index e5ad155f8..162a1ee3c 100644 --- a/lib/search.js +++ b/lib/search.js @@ -59,7 +59,7 @@ function search (args, silent, staleness, cb_) { } function getFilteredData (staleness, args, notArgs, cb) { - registry.get( "/-/all?stale=update_after", null, staleness, false + registry.get( "/-/all", null, staleness, false , true, function (er, data) { if (er) return cb(er) return cb(null, filter(data, args, notArgs)) |