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:
co-authored by
Claude Sonnet 4.6
parent
043520ecc3
commit
5f63bfe8d4
@@ -44,7 +44,7 @@ func main() {
|
||||
|
||||
indexBackend := cfg.Index.Backend
|
||||
if indexBackend == "" {
|
||||
indexBackend = "xapian"
|
||||
indexBackend = "manticore"
|
||||
}
|
||||
batchSize := cfg.Index.BatchSize
|
||||
if batchSize <= 0 {
|
||||
|
||||
@@ -47,7 +47,7 @@ func main() {
|
||||
|
||||
indexBackend := cfg.Index.Backend
|
||||
if indexBackend == "" {
|
||||
indexBackend = "xapian"
|
||||
indexBackend = "manticore"
|
||||
}
|
||||
batchSize := cfg.Index.BatchSize
|
||||
if batchSize <= 0 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -76,7 +76,7 @@ func runImport(args []string) {
|
||||
}
|
||||
backend := cfg.Index.Backend
|
||||
if backend == "" {
|
||||
backend = "xapian"
|
||||
backend = "manticore"
|
||||
}
|
||||
|
||||
var idxMgr index.TenantIndexer
|
||||
|
||||
@@ -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" {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user