npm.io
1.0.1 • Published 12 years ago

pouchdb-search

Licence
MIT
Version
1.0.1
Deps
3
Vulns
0
Weekly
0
$ npm install pouchdb-search
var Pouch = require('pouchdb');
Pouch.plugin({'search': require('pouchdb-search')});

var db = Pouch('name');
db.search(func,options,callback);
db.search('design/name',options,callback);

In prgress, known issues:

  • like the pouch mapreduce and spatial plugins it does reindex with each query
  • only supports default indexes at the moment. Only supports queries from one index at a time

Keywords