Skip to content

Feature: integrate meilisearch for searching

Adds support for the use of meilisearch for quick indexing and searching of discuit communities.

Required

  • Move code for updating a communities index used before the API returns info to separate function
  • Rather than placing search code in the core move to internal/search so we can have a package for it and not have to worry about names being the same
  • Integration into the UI for searching (only if it is enabled)
  • When indexing, break up the community name on each capital letter (to fix searching for Dev not matching DiscuitDev, etc)
  • Allow searching on the communities page but default it when blank to the standard API

If Possible

  • Index posts and users
  • Sorting based on members, post creation time, user's account age, etc

General

After this is merged, someone who is better at UI stuff than me should probably make the searching be nice lol

Known Issues

  • When searching for a community while creating a new post, the picture is not used due to it not being included in the data set to meilisearch
Edited by Insidious Fiddler

Merge request reports

Loading