Sakurajima Social now using ElasticSearch for Search

natsumi.jpg
Look what Natsumi found.​
For a while now, Sakurajima Social had inferior search since we did a fall back to the database search, which doesn't give as good results. Before that, we were using Meilisearch, which is the only search that is supported on Sharkey, same as Misskey. We changed search systems because Sonic that is supported on Firefish is not supported with the new software we transitioned to.

While this is okay at first, index size ballooned up to over 60 GB after several months and this became unsustainable. Eventually we had to turn off and switch to database searching. However, that has its share of issues like decreased search quality. We decided to pull in the Elasticsearch patch from Misskey Io fork to restore enhanced search functionality. So far, it works, but there are limitations as you cannot search notes by filetype since it's not implemented in this implementation. I'll see if I can add it to Elastic, but it's not a priority.

For now, older notes may not be available for search that didn't come in today. Additionally, only public notes/posts are indexed, not "Quiet Public." The search service is modified to only index notes from non-silenced/non-suspend users and non-silenced and non-suspended servers to improve safety and have "Quiet Public" do what it says on the tin. .
 
Top