Skip to content

Commit

Permalink
Adds note on reindexing existing data for semantic_text usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kosabogi committed Sep 26, 2024
1 parent 0d275c6 commit 8a95b5f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ Create the embeddings from the text by reindexing the data from the `test-data`
The data in the `content` field will be reindexed into the `content` semantic text field of the destination index.
The reindexed data will be processed by the {infer} endpoint associated with the `content` semantic text field.

[NOTE]
====
This step uses the reindex API to simulate data ingestion. If you have existing data already indexed
(i.e., you’re not using the `test-data` set but your own data), reindexing is required to ensure that
the data is processed by the {infer} endpoint and the necessary embeddings are generated.
====

[source,console]
------------------------------------------------------------
POST _reindex?wait_for_completion=false
Expand Down

0 comments on commit 8a95b5f

Please sign in to comment.