git ssb

16+

Dominic / patchbay



Commit 9d6801cb527260d460d4415e80ab09e5534dcc0c

Merge pull request #187 from ssbc/ssb-search

Use ssb-search instead of ssb-fulltext. Super fast!
mix irving authored on 4/1/2018, 3:29:25 AM
GitHub committed on 4/1/2018, 3:29:25 AM
Parent: 574f6c0bba4fe737aa2d99154b42255b8e468848
Parent: f270e45df298136c105532714d821c861d26eea0

Files changed

README.mdchanged
app/page/search.jschanged
background-process.jschanged
package.jsonchanged
README.mdView
@@ -47,9 +47,9 @@
4747
4848 # then in another tab (these must be separate commands)
4949 sbot plugins.install ssb-about
5050 sbot plugins.install ssb-backlinks
51-sbot plugins.install ssb-fulltext # for faster searches
51 +sbot plugins.install ssb-search # for search
5252 sbot plugins.install ssb-chess-db # for chess
5353 sbot plugins.install ssb-private # for private messages
5454
5555 After that you need to make sure that .ssb/config reads: "ssb-chess-db": "ssbChessIndex" for chess to work.
app/page/search.jsView
@@ -126,9 +126,9 @@
126126 Scroller(container, content, renderMsg, true, false)
127127 )
128128
129129 pull(
130- api.sbot.pull.stream(sbot => next(sbot.fulltext.search, {query, reverse: true, limit: 500, live: false})),
130 + api.sbot.pull.stream(sbot => next(sbot.search.query, {query, limit: 500 })),
131131 fallback((err) => {
132132 if (err === true) {
133133 search.fulltext.isDone.set(true)
134134 } else if (/^no source/.test(err.message)) {
background-process.jsView
@@ -16,9 +16,9 @@
1616 .use(require('scuttlebot/plugins/local'))
1717 .use(require('scuttlebot/plugins/logging'))
1818 .use(require('ssb-query'))
1919 .use(require('ssb-about'))
20- .use(require('ssb-fulltext'))
20 + .use(require('ssb-search'))
2121 // .use(require('ssb-ebt'))
2222 .use(require('ssb-ws'))
2323 .use(require('ssb-chess-db'))
2424
package.jsonView
@@ -81,9 +81,9 @@
8181 "ssb-chess": "^2.2.4",
8282 "ssb-chess-db": "^1.0.2",
8383 "ssb-client": "^4.5.2",
8484 "ssb-friends": "^2.2.3",
85- "ssb-fulltext": "^1.0.1",
85 + "ssb-search": "^1.0.1",
8686 "ssb-horcrux": "^0.1.3",
8787 "ssb-keys": "^7.0.13",
8888 "ssb-mentions": "^0.4.1",
8989 "ssb-mutual": "^0.1.0",

Built with git-ssb-web