Commit dbdf963
committed
Change Typesense action mode to emplace when import documents
This PR changes the action mode to emplace when importing documents to Typesense. This is useful to make sure data will not be overwritten when user have other fields in Typesense that is managed seperately (like externally generated embeddings).
Related documentation:
https://typesense.org/docs/29.0/api/documents.html#action-modes-create-upsert-update-emplace1 parent e0be30e commit dbdf963
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments