Skip to content

Commit

Permalink
fix(search): onboarding console bulk import code
Browse files Browse the repository at this point in the history
  • Loading branch information
TattdCodeMonkey committed Nov 8, 2024
1 parent 3c976c0 commit fc8ace0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const ConsoleVectorsIngestDataExample: IngestDataCodeDefinition = {
let result = 'POST /_bulk?pretty\n';
sampleDocuments.forEach((document) => {
result += `{ "index": { "_index": "${indexName}" } }
${JSON.stringify(document)}`;
${JSON.stringify(document)}\n`;
});
result += '\n';
return result;
Expand Down

0 comments on commit fc8ace0

Please sign in to comment.