Where to look when this manual runs out
Relatude.DB is open source, and its code is small and well commented. When this manual does not answer a question, or does not match your build, start with these files in the repository:
| Topic | Where |
|---|---|
| Attributes | src/Relatude.DB.NodeStore/Nodes/Attributes.cs |
| How the datamodel is built from your types | src/Relatude.DB.NodeStore/Datamodels/BuildUtils.cs |
Relations, Reference<T> and References<T> |
src/Relatude.DB.NodeStore/Nodes/Relation.cs, Reference.cs, References.cs |
| Every query method | src/Relatude.DB.NodeStore/Query/IQueryOfNodes.cs |
| The store and transactions | src/Relatude.DB.NodeStore/Nodes/NodeStore.cs, Transaction.cs |
| A working model | src/Relatude.DB.NodeStore/Demo/Models/DemoArticle.cs |
| Server wiring and the admin UI | src/Relatude.DB.NodeServer/, src/Relatude.DB.UI/ |
| The command line tool | src/Relatude.DB.Console/, or run relatude help all |
| GraphQL endpoints | src/Relatude.DB.GraphQL/ |
| AI and Relatude Services | The interfaces in src/Relatude.DB.DataStore/ (AI/, Imaging/, FileToText/, Translation/, IPLookup/, SMS/); the hosted services' clients in src/Relatude.DB.Providers/ |
| Jobs and the scheduler | src/Relatude.DB.DataStore/Tasks/Scheduling/; the built-in jobs in src/Relatude.DB.DataStoreLocal/DataStores/DataStoreLocal.Jobs.cs |
For measured performance, see the vector index benchmarks: the three vector engines compared by corpus size and cache budget, with throughput, recall, restart cost and memory.