MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / migrateTypeSenseSchema

Function migrateTypeSenseSchema

cmd/server.go:95–107  ·  view source on GitHub ↗

* migrateTypeSenseSchema ensures that the necessary TypeSense schema is migrated for all required collections. It takes a TypesenseClient and a context as parameters. This function loops through the predefined collections and migrates their schema in TypeSense. */

(ctx context.Context, t *search.TypesenseClient)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initializeTypeSenseFunction · 0.85

Calls 1

Tested by

no test coverage detected