git ssb


3+

cel / ssb-fulltext



Branch:

cel committed 1.0.1Latest: 941d8e1 on 2/7/2017, 1:09:24 AM
📄README.md
📄fulltext.js
📄index.js
📄package.json

ssb-fulltext

Fulltext search for SSB messages.

Uses the full text search engine levi.

Install

With scuttlebot running, install the ssb-fulltext plugin:

sbot plugins.install ssb-fulltext

Then restart scuttlebot. It will take a while for ssb-fulltext to index the database. You will see progress in the form of plusses (+) on the console.

API

search: source

Search the database for text

search {query}
search --query {query} [--values] [--no-values]
search(query)
search({ query:, values: })

The objects in this stream will be of the form:

{ key: MsgID, value: Msg, rank: number }

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.


Built with git-ssb-web