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>
15 lines
238 B
Go
15 lines
238 B
Go
package index_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"archivmail/internal/index"
|
|
)
|
|
|
|
func TestUnknownBackend(t *testing.T) {
|
|
_, err := index.New(t.TempDir(), 10, "elasticsearch")
|
|
if err == nil {
|
|
t.Error("expected error for unknown backend")
|
|
}
|
|
}
|