Complete documents
Choose where authoritative serialized documents live.
Start with the two backend roles. A DocumentStore owns complete documents; an IndexStore owns the fields used for indexed lookup. After both are configured, the collection API is shared across every pairing.
Choose where authoritative serialized documents live.
Choose where document identifiers and indexed fields are projected.
Set up both backend roles, define a document, and run the first indexed query.
Start the common path →Understand collections, metadata, authoritative documents, indexes, and cursors.
Read Core Concepts →Filter indexed fields, apply one sort, and continue with opaque cursor pagination.
Read Querying →Handle partial failures and rebuild the derived index from authoritative documents.
Read Consistency →dev.nexcraft:r2d1Common API plus R2 and D1 adapters.
Configuration →dev.nexcraft:r2d1-jdbcH2, HSQLDB, and local SQLite index support.
JDBC setup →dev.nexcraft:r2d1-filesystemCanonical local document files.
Filesystem setup →dev.nexcraft:r2d1-micronautMicronaut 5 bean and resource integration.
Micronaut setup →Backend pages explain vendor setup and ownership. The common API pages explain how to define, mutate, query, and recover collections without changing those backend choices.