We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aaedd2 commit c0316ebCopy full SHA for c0316eb
milvus/utils/Format.ts
@@ -854,16 +854,11 @@ export const formatSearchResult = (
854
const fieldsDataMap = buildFieldDataMap(fields_data, options.transformers);
855
// build output name array
856
const output_fields = [
857
- 'id',
858
...(!!searchRes.results.output_fields?.length
859
? searchRes.results.output_fields
860
: fields_data.map(f => f.field_name)),
861
];
862
863
- // vector id support int / str id.
864
- const idData = ids ? ids[ids.id_field]!.data : {};
865
- // add id column
866
- fieldsDataMap.set('id', idData as RowData[]);
867
// fieldsDataMap.set('score', scores); TODO: fieldDataMap to support formatter
868
869
/**
0 commit comments