ssb-threads-index

1.0.1 • Public • Published

ssb-threads-index

This is a example of a ssb plugin that adds indexes for ssb-query. depends on this flumeview-query PR

An index for value.content.root is added, which means queries for threads is now fast:

sbot.query.read({query: [{
  $filter: {
    value: {
      content: {
        root: "%rciFuVmIAi6WxamBNcF+EYSnJtngAbHwxxmtudsz3v4=.sha256"
      }
    }
  }
}]})

License

MIT

/ssb-threads-index/

    Package Sidebar

    Install

    npm i ssb-threads-index

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.54 kB

    Total Files

    4

    Last publish

    Collaborators

    • powersource
    • arj03
    • staltz
    • mixmix
    • cel
    • dominictarr