chore(PROJ-60): Xapian-Legacy-Backend vollständig aus dem Code entfernt

Xapian war seit der Manticore-Migration (PROJ-30) nur noch ein
build-tag-gatetes, in Produktion nie genutztes Legacy-Backend.
internal/index/xapian.go, xapian_stub.go, xapian_wrapper.cpp/.h entfernt;
index.New() unterstützt jetzt nur noch "manticore". Default-Fallbacks in
Nebenwerkzeugen (archivmail-import/-export, cmd_export/cmd_reindex/...)
von "xapian" auf "manticore" korrigiert, Xapian-spezifische Tests entfernt,
Kommentare bereinigt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sysops
2026-06-25 00:12:06 +02:00
co-authored by Claude Sonnet 4.6
parent 043520ecc3
commit 5f63bfe8d4
15 changed files with 28 additions and 614 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func main() {
indexBackend := cfg.Index.Backend
if indexBackend == "" {
indexBackend = "xapian"
indexBackend = "manticore"
}
batchSize := cfg.Index.BatchSize
if batchSize <= 0 {
+1 -1
View File
@@ -47,7 +47,7 @@ func main() {
indexBackend := cfg.Index.Backend
if indexBackend == "" {
indexBackend = "xapian"
indexBackend = "manticore"
}
batchSize := cfg.Index.BatchSize
if batchSize <= 0 {
+1 -1
View File
@@ -105,7 +105,7 @@ func runExport(args []string) {
}
backend := cfg.Index.Backend
if backend == "" {
backend = "xapian"
backend = "manticore"
}
// The fulltext index is only needed when exporting via search filters.
var idx index.Indexer
+1 -1
View File
@@ -76,7 +76,7 @@ func runImport(args []string) {
}
backend := cfg.Index.Backend
if backend == "" {
backend = "xapian"
backend = "manticore"
}
var idxMgr index.TenantIndexer
+1 -1
View File
@@ -81,7 +81,7 @@ func runImportPiler(args []string) {
}
backend := cfg.Index.Backend
if backend == "" {
backend = "xapian"
backend = "manticore"
}
var idxMgr index.TenantIndexer
if backend == "manticore" {
+1 -1
View File
@@ -44,7 +44,7 @@ func runReindex(args []string) {
indexBackend := cfg.Index.Backend
if indexBackend == "" {
indexBackend = "xapian"
indexBackend = "manticore"
}
batchSize := cfg.Index.BatchSize
if batchSize <= 0 {