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/embeddings/configuration/general.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,13 @@ Sets the auto id generation method. When this is not set, an autogenerated numer
66
66
columns:
67
67
text: name of the text column
68
68
object: name of the object column
69
+
store: limit json data fields to this list of columns
69
70
```
70
71
71
72
Sets the `text` and `object` column names. Defaults to `text` and `object` if not provided.
72
73
74
+
`store`sets a list of columns to store in the JSON data field. When this isn't provided, all columns are stored (default). When `store` is set to `None`, no JSON columns are stored. This is useful is a field is only needed at indexing time but not search time.
Copy file name to clipboardExpand all lines: docs/embeddings/indexing.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ As mentioned above, computed vectors are stored in an ANN. There are various ind
23
23
24
24
Embeddings indexes can optionally [store content](../configuration/database#content). When this is enabled, the input content is saved in a database alongside the computed vectors. This enables filtering on additional fields and content retrieval.
25
25
26
+
The columns used for text, object and JSON data storage are set via [column configuration](../configuration/general#columns).
27
+
26
28
## Index vs Upsert
27
29
28
30
Data is loaded into an index with either an [index](../methods#txtai.embeddings.base.Embeddings.index) or [upsert](../methods#txtai.embeddings.base.Embeddings.upsert) call.
0 commit comments