Skip to content

Commit

Permalink
Add duration to searcher output_fields (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leslie-Wong-H authored Aug 10, 2023
2 parents c2e3ec8 + 4ecda38 commit 3e6bd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const search = async (hash) => {
topk: 15,
metric_type: MetricType.IP,
params: { nprobe: 10 },
output_fields: ["hash_id", "primary_key"],
output_fields: ["hash_id", "duration", "primary_key"],
});

return results;
Expand Down

0 comments on commit 3e6bd23

Please sign in to comment.