An open API service indexing awesome lists of open source software.

https://github.com/pouchdb/pouchdb-search

Search plugin for PouchDB.
https://github.com/pouchdb/pouchdb-search

Last synced: 9 months ago
JSON representation

Search plugin for PouchDB.

Awesome Lists containing this project

README

          

pouchdb search
===

```
$ npm install pouchdb-search
```

```javascript
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