You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/core/basics.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ An indexing flow, once set up, maintains a long-lived relationship between data
72
72
***One time update**: Once triggered, CocoIndex updates the target data to reflect the version of source data up to the current moment.
73
73
***Live update**: CocoIndex continuously reacts to changes of source data and updates the target data accordingly, based on various **change capture mechanisms** for the source.
74
74
75
-
See more details in the [build / update target data](flow_methods#build--update-target-data) section.
75
+
See more details in the [build / update target data](flow_methods#buildupdate-target-data) section.
76
76
77
77
3. CocoIndex intelligently reprocesses to propagate source changes to target by:
78
78
@@ -101,4 +101,4 @@ As an indexing flow is long-lived, it needs to store intermediate data to keep t
101
101
CocoIndex uses internal storage for this purpose.
102
102
103
103
Currently, CocoIndex uses Postgres database as the internal storage.
104
-
See [Settings](settings#databaseconnectionspec) for configuring its location. The internal storage is managed by CocoIndex, see [Setup / drop flow](/docs/core/flow_methods#setup--drop-flow) for more details.
104
+
See [Settings](settings#databaseconnectionspec) for configuring its location. The internal storage is managed by CocoIndex, see [Setup / drop flow](/docs/core/flow_methods#setupdrop-flow) for more details.
Copy file name to clipboardExpand all lines: docs/docs/core/flow_def.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ After it's called, `demo_flow` becomes an invalid object, and you should not cal
57
57
:::note
58
58
59
59
This only removes states of the flow from the current process, and it won't affect the persistent states.
60
-
See [Setup / drop flow](/docs/core/flow_methods#setup--drop-flow) if you want to clean up the persistent states.
60
+
See [Setup / drop flow](/docs/core/flow_methods#setupdrop-flow) if you want to clean up the persistent states.
61
61
62
62
:::
63
63
@@ -271,7 +271,7 @@ Export must happen at the top level of a flow, i.e. not within any child scopes
271
271
*`target_spec`: the target spec as the export target.
272
272
*`setup_by_user` (optional):
273
273
whether the export target is setup by user.
274
-
By default, CocoIndex is managing the target setup (see [Setup / drop flow](/docs/core/flow_methods#setup--drop-flow)), e.g. create related tables/collections/etc. with compatible schema, and update them upon change.
274
+
By default, CocoIndex is managing the target setup (see [Setup / drop flow](/docs/core/flow_methods#setupdrop-flow)), e.g. create related tables/collections/etc. with compatible schema, and update them upon change.
275
275
If `True`, the export target will be managed by users, and users are responsible for creating the target and updating it upon change.
276
276
* Fields to configure [storage indexes](#storage-indexes). `primary_key_fields` is required, and all others are optional.
The target is managed by CocoIndex, i.e. it'll be created or dropped when [setup / drop flow](/docs/core/flow_methods#setup--drop-flow), and the data will be automatically updated (including stale data removal) when updating the index.
296
+
The target is managed by CocoIndex, i.e. it'll be created or dropped when [setup / drop flow](/docs/core/flow_methods#setupdrop-flow), and the data will be automatically updated (including stale data removal) when updating the index.
297
297
The `name` for the same target should remain stable across different runs.
298
298
If it changes, CocoIndex will treat it as an old target removed and a new one created, and perform setup changes and reindexing accordingly.
299
299
@@ -441,7 +441,7 @@ Operation spec is the default way to configure sources, functions and targets. B
441
441
442
442
* The spec isn't supposed to contain secret information, and it's frequently shown in various places, e.g. `cocoindex show`.
443
443
* For targets, once an operation is removed after flow definition code change, the spec is also gone.
444
-
But we still need to be able to drop the persistent backend (e.g. a table) when [setup / drop flow](/docs/core/flow_methods#setup--drop-flow).
444
+
But we still need to be able to drop the persistent backend (e.g. a table) when [setup / drop flow](/docs/core/flow_methods#setupdrop-flow).
445
445
446
446
Auth registry is introduced to solve the problems above.
0 commit comments