Skip to content

Commit

Permalink
use proper index field
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Dec 19, 2024
1 parent b97942a commit aa6a811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const getStructuredToolForIndexEntry = ({
}

return {
text: hit.highlight?.content.join(' '),
text: hit.highlight?.[indexEntry.field].join(' '),
};
});

Expand Down

0 comments on commit aa6a811

Please sign in to comment.