feat: ElasticSearch backend (#6903)

* (do not merge) search test branch

* perf

* fix up search pagination

* more parity and perf work

* expand what parity does

* fix author query

* approach parity even without explicit parity enabled

* remove old parity code

* fix shear

* fix

* fmt
This commit is contained in:
aecsocket
2026-08-03 17:14:07 +00:00
committed by GitHub
parent 2e43f6a42b
commit c3249ee51d
9 changed files with 1711 additions and 8 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ DATABASE_URL=postgresql://labrinth:labrinth@localhost/labrinth
DATABASE_MIN_CONNECTIONS=0
DATABASE_MAX_CONNECTIONS=16
SEARCH_BACKEND=typesense
SEARCH_BACKEND=elasticsearch
# Meilisearch configuration
MEILISEARCH_READ_ADDR=http://localhost:7700
@@ -32,7 +32,7 @@ ELASTICSEARCH_INDEX_PREFIX=labrinth
# MEILISEARCH_READ_ADDR=http://localhost:7710
# MEILISEARCH_WRITE_ADDRS=http://localhost:7700,http://localhost:7701
SEARCH_BACKEND=typesense
SEARCH_BACKEND=elasticsearch
MEILISEARCH_KEY=modrinth
MEILISEARCH_META_NAMESPACE=