iceshrimp-legacy/packages/backend/src/services
Kaity A 706b4ae602 Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
..
blocking refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
chart no more eslint 2023-01-12 20:54:33 -08:00
drive fix 2023-02-01 11:55:45 -08:00
following fix: 🐛 following issues 2023-02-04 12:37:20 -08:00
i refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
messages refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
note Add sonic full-text search support (#9714) 2023-03-19 08:26:47 +00:00
user-list refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
add-note-to-antenna.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
create-notification.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
create-system-user.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
delete-account.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
detect-sensitive.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
fetch-instance-metadata.ts clean up w/ rome 2023-01-16 11:19:20 -08:00
insert-moderation-log.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
instance-actor.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
logger.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
push-notification.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
register-or-fetch-instance-doc.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
relay.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
send-email-notification.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
send-email.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
stream.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
suspend-user.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
unsuspend-user.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
update-hashtag.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
user-cache.ts invalidate local user cache on user update 2023-02-12 07:54:59 +00:00
validate-email-for-account.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00