@lunora/server 1.0.0-alpha.82 → 1.0.0-alpha.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1757,7 +1757,8 @@ interface TableBuilder<Shape extends Record<string, Validator> = Record<string,
1757
1757
  * `filterFields` (at most 16) lists the columns `.eq()` may narrow by inside
1758
1758
  * the search. `language` selects the text analysis (accent folding always,
1759
1759
  * plus that language's stopwords). `staged: true` skips the migration-time
1760
- * backfill on a large existing table. `strategy: "native"` uses the engine's
1760
+ * backfill on a large existing table pre-existing rows stay unsearchable
1761
+ * until `__lunora_admin__:backfillSearch` is run against the deployment. `strategy: "native"` uses the engine's
1761
1762
  * own full-text index where it has one (Postgres) — faster on large corpora,
1762
1763
  * at the cost of the engine ranking rather than the shared scorer.
1763
1764
  */
package/dist/index.d.ts CHANGED
@@ -1757,7 +1757,8 @@ interface TableBuilder<Shape extends Record<string, Validator> = Record<string,
1757
1757
  * `filterFields` (at most 16) lists the columns `.eq()` may narrow by inside
1758
1758
  * the search. `language` selects the text analysis (accent folding always,
1759
1759
  * plus that language's stopwords). `staged: true` skips the migration-time
1760
- * backfill on a large existing table. `strategy: "native"` uses the engine's
1760
+ * backfill on a large existing table pre-existing rows stay unsearchable
1761
+ * until `__lunora_admin__:backfillSearch` is run against the deployment. `strategy: "native"` uses the engine's
1761
1762
  * own full-text index where it has one (Postgres) — faster on large corpora,
1762
1763
  * at the cost of the engine ranking rather than the shared scorer.
1763
1764
  */
package/dist/types.d.mts CHANGED
@@ -199,7 +199,13 @@ interface SearchIndexDefinition {
199
199
  * added to a populated table works immediately. On a very large table that
200
200
  * scan is expensive to run inside a deploy: `staged: true` maintains the
201
201
  * index on write only and leaves the initial population to an out-of-band
202
- * `backfillSearchIndexes`.
202
+ * run.
203
+ *
204
+ * That run is mandatory, not optional — until it happens, every row written
205
+ * BEFORE the deploy is unsearchable. Drive it against a deployment with
206
+ * `lunora run '__lunora_admin__:backfillSearch' --args '{"maxPages":20}'`,
207
+ * repeating until the response reports `done: true`; progress is durable, so
208
+ * each call resumes where the last stopped.
203
209
  */
204
210
  staged?: boolean;
205
211
  /**
package/dist/types.d.ts CHANGED
@@ -199,7 +199,13 @@ interface SearchIndexDefinition {
199
199
  * added to a populated table works immediately. On a very large table that
200
200
  * scan is expensive to run inside a deploy: `staged: true` maintains the
201
201
  * index on write only and leaves the initial population to an out-of-band
202
- * `backfillSearchIndexes`.
202
+ * run.
203
+ *
204
+ * That run is mandatory, not optional — until it happens, every row written
205
+ * BEFORE the deploy is unsearchable. Drive it against a deployment with
206
+ * `lunora run '__lunora_admin__:backfillSearch' --args '{"maxPages":20}'`,
207
+ * repeating until the response reports `done: true`; progress is durable, so
208
+ * each call resumes where the last stopped.
203
209
  */
204
210
  staged?: boolean;
205
211
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/server",
3
- "version": "1.0.0-alpha.82",
3
+ "version": "1.0.0-alpha.83",
4
4
  "description": "Server primitives for Lunora: defineSchema, defineTable, query, mutation, and action",
5
5
  "keywords": [
6
6
  "backend",
@@ -66,9 +66,9 @@
66
66
  "access": "public"
67
67
  },
68
68
  "dependencies": {
69
- "@lunora/errors": "1.0.0-alpha.22",
70
- "@lunora/scheduler": "1.0.0-alpha.37",
71
- "@lunora/values": "1.0.0-alpha.27",
69
+ "@lunora/errors": "1.0.0-alpha.23",
70
+ "@lunora/scheduler": "1.0.0-alpha.38",
71
+ "@lunora/values": "1.0.0-alpha.28",
72
72
  "drizzle-orm": "^0.45.2",
73
73
  "hono": "^4.13.1"
74
74
  },