logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git
commit: fa8799c882f6555606e0a906bd8e0a484bb51398
parent bb934ec49277d4f124d301d7b16f947dfcb17bb7
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 18 Dec 2020 18:16:47 -0500

Update godocs.io post with FTS info

Diffstat:

Mcontent/blog/godocs.io.gmi2++
Mcontent/blog/godocs.io.md5+++++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/content/blog/godocs.io.gmi b/content/blog/godocs.io.gmi @@ -17,3 +17,5 @@ In light of this, godocs.io is now available, running the last version of godoc. I haven’t made any especially interesting changes, but the source code is available on git.sr.ht — feel free to send patches along to sir@cmpwn.com if you want to submit (minor) improvements or bugfixes. One change I will definitely have to make is a new solution for full-text search (probably just Postgres), because I don't want to use AppEngine. If anyone wants to help with this, I would appreciate your patch. => https://git.sr.ht/~sircmpwn/gddo The code + +Update: implemented full-text search on top of Postgres in about 30 minutes with a friend's help. Aside from the dataset (which will grow naturally as the service is used), this should be for all intents and purposes equivalent to pre-pkg.go.dev godoc.org now. Enjoy! diff --git a/content/blog/godocs.io.md b/content/blog/godocs.io.md @@ -44,3 +44,8 @@ appreciate your patch. [^1]: Which have problems of their own, which, when I raised them, where quickly dismissed by the Go team. [^2]: "Useful for intranets" is obviously not the defining reason why FOSS projects are good. + +Update: [implemented full-text search](https://git.sr.ht/~sircmpwn/gddo/commit/c916d5629996d6a4cbd67e48e25af40a966b5d69) +on top of Postgres in about 30 minutes with a friend's help. Aside from the +dataset (which will grow naturally as the service is used), this should be for +all intents and purposes equivalent to pre-pkg.go.dev godoc.org now. Enjoy!