ssb-fulltext
fulltext search for ssb messages
Last updated 4 years ago by cel .
Fair · Repository · Original npm · Tarball · package.json
$ cnpm install ssb-fulltext 
SYNC missed versions from official npm registry.

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: })
  • query (string): The search query
  • values (boolean, default: true): whether the data event should contain 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.

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

5 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (3)

Copyright 2014 - 2017 © taobao.org |