Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 578
    • Issues 578
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Pleroma
  • pleromapleroma
  • Merge requests
  • !3529

Open
Created Oct 08, 2021 by vaartis@vaartisDeveloper
  • Report abuse
Report abuse

Different search backends, in particular meilisearch as an additional one

  • Overview 68
  • Commits 52
  • Pipelines 47
  • Changes 18

The MR introduces a way to have different search backends and implements a way for them to easily index and remove posts from index when they are deleted. Meilisearch seems to work fairly well, and doesn't consume too much resources seemingly. It's certainly more accurate than the built-in postgres search. In the future, additional backends may be added, if somebody wants to. The obvious one would be elasticsearch, but I really would rather not work out how that one works for now.

The MR includes some simple tests and an extension to documentation, concerning the search configuration. Don't know if any additional documentation or description is necessary, but there seems to be more places to put documentation into, so just tell me if I have to add it to more places.

I've been running this for about a month and it seems to work fairly well, the slowest part is going to the database to fetch full posts, since the search index only stores some basic stripped info to save space.

This is also connected in some part to pleroma-fe!1410, actually making the search even more useful.

On the frontend, no changes are actually required, and just swapping the search for the new one works, but the aforementioned MR allows to load more than 20 newest results.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: meilisearch