pouchdb-search

solr search for pouchdb

npm install pouchdb-search
14 downloads in the last week
28 downloads in the last month

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
npm loves you