mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
77c12cba8d
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>
58 lines
728 B
Text
58 lines
728 B
Text
# Visual Studio Code
|
|
/.vscode
|
|
!/.vscode/extensions.json
|
|
|
|
# Intelij-IDEA
|
|
/.idea
|
|
packages/backend/.idea/backend.iml
|
|
packages/backend/.idea/modules.xml
|
|
packages/backend/.idea/vcs.xml
|
|
|
|
# Node.js
|
|
node_modules
|
|
report.*.json
|
|
|
|
# Cypress
|
|
cypress/screenshots
|
|
cypress/videos
|
|
|
|
# Coverage
|
|
coverage
|
|
|
|
# config
|
|
/.config/*
|
|
!/.config/example.yml
|
|
!/.config/docker_example.env
|
|
|
|
#docker dev config
|
|
/dev/docker-compose.yml
|
|
|
|
# misskey
|
|
built
|
|
db
|
|
elasticsearch
|
|
redis
|
|
npm-debug.log
|
|
*.pem
|
|
run.bat
|
|
api-docs.json
|
|
*.log
|
|
*.code-workspace
|
|
.DS_Store
|
|
files
|
|
ormconfig.json
|
|
packages/backend/assets/instance.css
|
|
packages/backend/assets/sounds/None.mp3
|
|
|
|
!packages/backend/src/db
|
|
|
|
# blender backups
|
|
*.blend1
|
|
*.blend2
|
|
*.blend3
|
|
*.blend4
|
|
*.blend5
|
|
|
|
# old yarn
|
|
.yarn
|
|
yarn*
|