Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error in Milvus Search Method: Incorrect Vector Score Returned #23546

Closed
1 task done
ggKe opened this issue Apr 19, 2023 · 11 comments
Closed
1 task done

[Bug]: Error in Milvus Search Method: Incorrect Vector Score Returned #23546

ggKe opened this issue Apr 19, 2023 · 11 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/needs-information Indicates an issue needs more information in order to work on it.
Milestone

Comments

@ggKe
Copy link

ggKe commented Apr 19, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:2.2.3
- Deployment mode(standalone or cluster):cluster
- MQ type(rocksmq, pulsar or kafka):  kafka  
- SDK version(e.g. pymilvus v2.0.0rc2):v2.2
- OS(Ubuntu or CentOS): CentOS
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

The data size is 3.3 million, with 512 dimensions and an ivf-flat index with nlist 1024.
When using the search method to query, the returned vector score is 0.999, while the actual vector score should be 0.68.
We changed the flat index and hnsw index later, but the problem still persists.

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@ggKe ggKe added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 19, 2023
@xiaofan-luan
Copy link
Collaborator

is this for L2 or IP distance?

@yanliang567
Copy link
Contributor

@ggKe one more question, could you please share the search vector and the result vector for us?
/assign @ggKe

@yanliang567 yanliang567 added triage/needs-information Indicates an issue needs more information in order to work on it. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 20, 2023
@ggKe
Copy link
Author

ggKe commented Apr 20, 2023

IP

@ggKe
Copy link
Author

ggKe commented Apr 20, 2023

@ggKe one more question, could you please share the search vector and the result vector for us? /assign @ggKe

1-8-1275767-0
[-0.0053710938,-0.021270752,-0.00806427,0.025665283,-0.012077332,0.0032253265,0.014785767,0.005924225,-0.029052734,0.04083252,0.042114258,-0.010360718,0.09899902,-0.017044067,0.040496826,0.036468506,0.007511139,-0.0045547485,0.012901306,-0.017593384,-0.014022827,0.060058594,0.010269165,-0.053009033,0.01096344,-0.0026760101,0.017730713,-0.039855957,-0.016708374,-0.013786316,-0.039123535,0.0066566467,-0.000808239,-0.004047394,0.019439697,0.028839111,0.009712219,0.047973633,0.012016296,0.11187744,0.026748657,0.0104904175,-0.061431885,0.003791809,0.030303955,0.0042915344,0.007896423,-0.016571045,-0.0033035278,-0.024276733,-0.010261536,0.044891357,0.007751465,0.015991211,0.009796143,-0.031982422,-0.0007457733,-0.025756836,-0.01928711,0.015213013,-0.09197998,-0.011054993,-0.021240234,0.06274414,-0.025299072,-0.029754639,0.02281189,0.0048179626,0.024612427,-0.013870239,-0.012626648,0.024383545,-0.000035762787,-0.04095459,-0.0013599396,0.02671814,-0.027008057,-0.013061523,-0.025802612,-0.0025978088,-0.012138367,0.06591797,-0.017822266,-0.07696533,-0.009796143,0.02696228,0.03805542,-0.0073547363,-0.003929138,-0.07043457,0.02720642,-0.026153564,-0.54833984,0.044433594,-0.008850098,-0.015792847,-0.03274536,0.029663086,0.08001709,-0.050811768,0.04156494,0.017745972,-0.03781128,0.012306213,-0.044799805,0.017684937,-0.23522949,-0.010887146,-0.024612427,0.02848816,0.043182373,-0.012641907,-0.02217102,-0.0027179718,0.028213501,-0.019927979,0.016571045,0.027511597,0.010910034,0.047607422,0.01979065,-0.005138397,-0.039398193,-0.00356102,-0.044952393,-0.02168274,-0.0104522705,-0.008148193,-0.0065727234,-0.01927185,0.0014448166,-0.023529053,0.0104522705,0.08111572,0.03552246,-0.050598145,0.007987976,0.020965576,0.0044822693,-0.039978027,0.029846191,0.0015125275,-0.009811401,-0.037139893,-0.022109985,-0.0024223328,-0.015777588,0.08215332,-0.010231018,0.008529663,0.014556885,0.014831543,0.049560547,-0.007911682,-0.0063934326,-0.0368042,0.0005311966,-0.02017212,0.009178162,-0.0017051697,0.012107849,-0.003490448,-0.04751587,0.05822754,0.0053253174,0.002500534,0.034942627,0.012039185,0.0077781677,0.0034751892,0.023864746,0.013641357,-0.013298035,-0.022155762,-0.04031372,0.005970001,0.010063171,-0.008956909,0.022079468,0.009742737,0.022033691,-0.036590576,0.0040664673,0.0259552,0.017684937,0.04244995,-0.008552551,-0.01701355,-0.02331543,-0.023208618,-0.013687134,0.00006121397,-0.0038032532,0.001619339,-0.11315918,0.023605347,-0.0033550262,0.053100586,0.034332275,-0.004611969,0.0024700165,0.05126953,0.008171082,-0.017425537,0.005970001,-0.027374268,-0.05114746,-0.07324219,0.054107666,0.03152466,0.04248047,-0.09301758,-0.0073127747,0.060424805,-0.032104492,-0.00019955635,0.05734253,0.0028057098,-0.06286621,-0.05456543,-0.014587402,0.033569336,-0.021209717,-0.018875122,-0.00055646896,0.019012451,-0.039520264,0.011993408,-0.02218628,0.0023212433,-0.027709961,-0.029541016,-0.039520264,0.1081543,0.01335907,0.03543091,-0.006248474,0.0262146,0.042144775,0.038482666,0.033416748,0.0067634583,-0.019012451,-0.002527237,-0.034301758,0.022994995,0.016342163,0.010971069,-0.022354126,0.11047363,0.024841309,0.030548096,0.044067383,0.024871826,0.02571106,-0.035064697,-0.05682373,0.009963989,0.17785645,-0.034301758,-0.008598328,0.005130768,0.04397583,0.19189453,0.045715332,-0.059326172,-0.017364502,0.029037476,0.059692383,-0.038848877,0.006793976,0.037353516,0.02507019,-0.012893677,0.004322052,-0.008171082,-0.027709961,-0.021408081,-0.005077362,0.01235199,-0.01953125,-0.008651733,-0.035736084,0.009559631,0.0061302185,0.005001068,0.019958496,-0.033996582,-0.0024776459,0.010658264,0.014755249,0.026367188,-0.018615723,-0.041107178,-0.022521973,0.002822876,0.017120361,-0.047332764,0.029800415,0.026550293,-0.00003260374,-0.004283905,-0.008865356,-0.009712219,0.027236938,-0.050079346,-0.022155762,0.04272461,0.06378174,0.013809204,-0.008575439,0.00415802,0.08111572,-0.0023670197,0.029083252,0.008178711,-0.029968262,0.03552246,-0.051727295,-0.046661377,0.015045166,0.039642334,-0.030700684,0.0045280457,0.0023918152,-0.027130127,-0.013519287,-0.026290894,-0.016143799,-0.027175903,-0.04748535,0.027282715,0.02255249,0.03189087,-0.019989014,-0.012077332,-0.044830322,0.0033111572,0.03137207,0.025741577,-0.02230835,-0.041229248,0.0073928833,-0.0020046234,-0.011909485,-0.031036377,0.032165527,0.039916992,-0.011390686,0.016174316,-0.017074585,-0.069885254,0.0259552,-0.03488159,0.00017213821,-0.048583984,-0.09503174,0.0051193237,0.0077285767,0.044677734,0.04925537,-0.05392456,-0.0143966675,-0.038360596,-0.02407837,-0.014526367,0.05609131,-0.043518066,0.029663086,0.026870728,-0.00026988983,-0.022369385,-0.04550171,-0.01335907,0.0078048706,0.062683105,0.09899902,-0.024627686,0.023223877,0.028823853,0.05807495,0.012939453,-0.043304443,-0.023513794,-0.0073547363,0.010177612,-0.0030651093,0.021057129,0.011672974,-0.0052986145,-0.05239868,0.014579773,-0.024612427,0.01751709,-0.029830933,-0.051574707,0.008773804,-0.010139465,0.04849243,0.028121948,0.021026611,0.0043678284,0.040618896,0.04824829,0.008560181,0.015014648,0.0021743774,0.0055885315,0.021896362,-0.030090332,-0.08465576,-0.026290894,-0.04135132,0.017501831,-0.010406494,0.039855957,0.037261963,0.0038070679,-0.032562256,-0.00060892105,-0.036224365,-0.0024871826,0.0067100525,0.033081055,-0.026321411,-0.008262634,0.03692627,0.060760498,-0.16540527,0.015396118,-0.0077819824,0.045806885,-0.04949951,-0.025909424,-0.029296875,-0.029754639,-0.015777588,0.00333786,0.008720398,0.033172607,0.009712219,0.08001709,0.048065186,-0.045562744,0.052246094,-0.0034255981,-0.0236969,-0.0009202957,-0.0158844,-0.021072388,0.019073486,0.03781128,-0.03314209,-0.027496338,-0.058929443,-0.001619339,0.018493652,-0.013504028,-0.02130127,-0.013916016,-0.015380859,-0.027908325,-0.03793335,-0.012878418,-0.008598328,0.074645996,-0.022903442,-0.030532837,-0.00024962425,0.012962341,0.019683838,-0.031173706,0.014625549,-0.009353638,0.02520752,0.0030441284,0.010383606,-0.005531311,-0.018585205,-0.04510498,0.013313293,-0.061676025,-0.022216797,0.0647583,0.022491455,-0.008361816,0.032226562,0.030258179,-0.009025574,-0.03869629,0.04940796,-0.06616211,-0.0076904297,-0.07513428,-0.013793945,-0.01838684,0.0073661804,0.0066070557,0.010749817,-0.00894165,0.021484375,-0.012687683,-0.02633667,0.03768921,-0.018218994,-0.037475586,-0.0024986267,-0.038116455,0.014541626,0.0947876,0.012672424,0.006385803]
1-8-1275767-1
[-0.01449585,0.03363037,0.005405426,-0.021774292,0.028839111,-0.015052795,-0.00022768974,-0.006034851,0.00289917,-0.038360596,-0.0052833557,0.033355713,0.11602783,-0.032958984,0.051574707,0.003648758,0.011001587,0.020965576,0.023223877,0.0030498505,0.03945923,0.03604126,0.005382538,-0.06335449,-0.015472412,0.0053634644,-0.0039978027,-0.008460999,-0.0107421875,-0.035705566,-0.018066406,-0.009117126,0.026748657,0.008865356,0.02381897,0.06451416,-0.005256653,0.0073394775,0.0064353943,0.16101074,0.027572632,0.042785645,-0.008560181,-0.024993896,0.052459717,-0.12060547,0.017578125,-0.03375244,0.053955078,-0.013389587,-0.023010254,0.049987793,0.01826477,0.035827637,-0.018737793,0.012275696,-0.00041341782,-0.0073051453,-0.011474609,-0.02293396,-0.08959961,-0.048675537,-0.008293152,0.014579773,0.05166626,-0.0066947937,0.0054092407,0.017410278,0.013587952,-0.0028419495,0.019378662,0.0016613007,-0.053649902,0.0030498505,-0.025436401,0.055541992,-0.022033691,-0.0034618378,-0.02520752,-0.0063705444,0.048065186,0.03289795,0.030532837,-0.03164673,0.0023097992,0.04815674,0.07763672,-0.04522705,-0.028396606,-0.045074463,0.02293396,-0.054748535,-0.5126953,0.0016889572,-0.009017944,0.022399902,-0.036956787,-0.037017822,0.009384155,-0.025634766,0.018661499,0.040985107,0.040893555,0.046142578,-0.055999756,0.0016345978,-0.1517334,-0.028549194,-0.0113220215,-0.0064582825,0.046844482,0.0074157715,-0.0012578964,0.01637268,0.009788513,-0.015975952,0.010940552,-0.0289917,0.006576538,-0.016448975,0.055480957,0.03250122,-0.081604004,0.029785156,-0.015174866,-0.025680542,0.028274536,0.03060913,-0.017959595,0.020996094,0.015388489,-0.03491211,-0.02507019,0.07141113,0.074401855,0.008087158,0.0006175041,0.040924072,-0.031982422,-0.0031223297,0.03591919,-0.024093628,-0.024658203,-0.045776367,0.008483887,-0.023086548,-0.0068130493,0.05734253,-0.0063972473,0.007904053,-0.009788513,0.049957275,0.066345215,-0.021728516,0.001408577,-0.019180298,0.01600647,-0.061706543,0.06341553,0.029953003,-0.07543945,-0.023803711,0.0022735596,0.030426025,0.040618896,0.019699097,0.04675293,0.015075684,0.029220581,-0.021347046,0.019165039,0.014259338,-0.018310547,-0.07702637,-0.029632568,-0.023513794,-0.02230835,0.02558899,-0.030334473,-0.055877686,0.03918457,-0.0284729,0.013038635,0.03466797,0.0037670135,0.013801575,-0.026062012,-0.066101074,0.027816772,-0.008300781,-0.014137268,-0.016830444,-0.018463135,0.0013875961,-0.10461426,0.011749268,0.010231018,0.03945923,-0.011116028,-0.016677856,-0.03967285,-0.04449463,0.06311035,0.033050537,-0.017730713,-0.018676758,-0.030532837,-0.086120605,-0.008102417,0.054595947,-0.0021152496,-0.0074691772,-0.007537842,0.026809692,-0.08325195,-0.030212402,0.033325195,0.032989502,0.038879395,0.05480957,-0.041412354,-0.026153564,-0.0013465881,-0.030288696,0.027252197,0.0024719238,-0.07763672,-0.010604858,0.0062217712,0.038116455,0.015960693,-0.064453125,-0.033416748,0.13110352,-0.011795044,-0.022125244,0.014297485,0.025268555,0.0066566467,0.0064964294,-0.0038604736,0.042388916,0.018630981,-0.040893555,-0.06719971,-0.022140503,0.040771484,-0.036712646,-0.029510498,0.023986816,0.01096344,0.04043579,0.02470398,0.021011353,0.04425049,-0.0357666,0.009277344,0.022262573,0.088012695,-0.06384277,-0.0065345764,0.0048675537,-0.0034217834,0.052520752,0.011672974,0.03125,0.024459839,0.042938232,0.008384705,-0.055633545,0.023849487,0.012817383,-0.014335632,0.024475098,0.021606445,0.029937744,-0.03353882,-0.035980225,0.00065898895,-0.016647339,0.01234436,0.030975342,-0.02848816,-0.003107071,-0.048217773,0.041015625,0.110961914,0.032165527,0.018493652,-0.008956909,-0.0010929108,-0.041656494,0.04309082,-0.017791748,-0.062927246,0.013908386,0.008628845,-0.0335083,-0.014831543,0.016479492,0.0071487427,0.017333984,0.015960693,-0.0435791,0.032104492,-0.009597778,-0.03414917,0.02583313,0.066711426,-0.018341064,0.02482605,0.012069702,0.07122803,-0.008773804,0.034423828,0.00349617,-0.040374756,0.029708862,0.03253174,-0.03475952,0.009925842,0.03363037,-0.028167725,-0.009841919,-0.011436462,-0.0013790131,0.06188965,-0.02607727,0.026947021,-0.03439331,0.0038814545,0.039093018,0.03955078,0.022537231,-0.008331299,0.001876831,0.016586304,-0.0032081604,0.0076560974,-0.016860962,-0.0018758774,-0.0637207,-0.029876709,-0.01576233,-0.004764557,0.02003479,-0.009223938,0.013412476,-0.04147339,0.016174316,-0.0791626,-0.0035266876,0.0011730194,0.0007419586,-0.013908386,0.008018494,-0.02330017,-0.016860962,0.022537231,0.01108551,0.09173584,0.00217247,0.013427734,0.010932922,-0.02204895,0.01361084,-0.008178711,-0.09552002,0.03692627,0.07836914,-0.051086426,-0.005908966,0.0064964294,-0.026550293,0.014518738,-0.020462036,0.09680176,0.018859863,0.027877808,0.06347656,0.023864746,0.06640625,-0.0056266785,0.022460938,0.07885742,0.03414917,-0.023544312,-0.03982544,0.012573242,0.014175415,-0.047210693,0.010604858,-0.040924072,-0.014633179,-0.020874023,-0.016662598,0.021591187,-0.030349731,-0.021270752,0.028793335,0.07458496,0.046173096,0.039611816,-0.015670776,-0.0073165894,0.024475098,0.052459717,-0.015075684,0.034942627,0.013069153,-0.010215759,-0.027145386,0.0030841827,0.020309448,-0.012184143,0.03878784,0.020706177,0.0050239563,-0.02748108,0.053253174,0.009880066,0.0181427,0.054138184,0.017700195,-0.03942871,0.019500732,0.0259552,0.049713135,-0.26831055,0.02357483,-0.015823364,0.028442383,-0.015731812,0.038360596,-0.015991211,-0.02079773,0.031097412,0.064819336,0.018356323,0.044403076,-0.035247803,0.04296875,0.013000488,-0.060150146,0.017105103,0.0061531067,0.01953125,-0.009666443,-0.010101318,-0.023254395,-0.0006046295,0.02923584,-0.029434204,-0.02355957,-0.041748047,-0.01953125,0.031311035,0.015541077,-0.011054993,0.017852783,0.033203125,0.0051994324,-0.017547607,-0.0446167,-0.020874023,0.050811768,-0.0067367554,0.009056091,0.013137817,0.03463745,-0.010574341,0.02178955,-0.0069236755,0.0075149536,0.011360168,-0.040374756,-0.03652954,-0.03756714,-0.004600525,-0.039855957,-0.011604309,-0.0368042,-0.030883789,0.06689453,0.022155762,0.033325195,-0.02168274,-0.018127441,0.002878189,0.004558563,0.016220093,-0.037719727,-0.013534546,-0.06939697,-0.053741455,-0.070251465,-0.026229858,-0.020568848,-0.022155762,-0.029785156,0.0029144287,0.008705139,-0.035217285,0.031463623,-0.016540527,-0.011505127,-0.04107666,-0.00141716,-0.024154663,0.08868408,-0.019165039,-0.001411438]
1-8-1275767-2
[0.010055542,0.022323608,-0.010215759,-0.012634277,-0.010009766,0.028213501,-0.0181427,-0.002035141,0.0030784607,0.026763916,0.04458618,-0.0012226105,0.06756592,0.039764404,0.035217285,-0.01663208,0.05114746,0.050445557,-0.047088623,0.022537231,0.003993988,0.017807007,0.011047363,0.029052734,-0.0053100586,0.023376465,0.015205383,0.009979248,0.001748085,-0.036254883,-0.0010251999,-0.021835327,0.02720642,0.031555176,-0.01637268,0.025619507,0.009895325,0.014564514,0.016708374,0.047546387,0.00573349,0.030914307,-0.0064888,-0.013092041,0.03704834,0.059661865,0.004989624,-0.0020503998,0.0029716492,-0.028533936,-0.028427124,-0.025390625,-0.04940796,-0.02796936,-0.05441284,-0.02142334,0.0050354004,0.021713257,0.008239746,-0.028427124,0.012451172,-0.023544312,0.017456055,0.048583984,0.036254883,0.012306213,-0.019424438,0.00440979,0.024139404,-0.0036773682,-0.0067977905,0.042114258,0.010261536,-0.0046806335,-0.006214142,0.07397461,-0.008583069,-0.0018177032,0.00027441978,-0.017684937,0.012672424,0.036865234,0.040252686,-0.0031757355,-0.013038635,0.064819336,0.05355835,0.033721924,0.029785156,-0.03363037,0.018447876,-0.048675537,-0.54345703,-0.03302002,0.014930725,-0.002714157,-0.001996994,0.008300781,0.03050232,-0.011413574,0.01928711,0.035003662,-0.0035076141,0.045928955,0.02909851,0.011650085,-0.3623047,-0.031677246,-0.0041275024,-0.01637268,0.009849548,-0.022872925,-0.03237915,0.00856781,0.076538086,-0.024230957,0.01777649,0.034606934,0.032470703,0.02798462,0.027160645,-0.021118164,-0.037261963,0.03265381,-0.012969971,-0.002401352,-0.008323669,0.040893555,0.026138306,-0.03375244,-0.0053215027,-0.011962891,-0.029724121,0.07489014,-0.00242424,-0.007637024,0.03265381,-0.0015897751,-0.03024292,-0.036987305,-0.021209717,0.0158844,-0.02696228,-0.037963867,0.01322937,-0.0034503937,0.020828247,0.048919678,-0.026046753,0.0692749,0.007167816,0.0062713623,0.09277344,-0.021438599,0.028259277,-0.016555786,0.0031909943,-0.011421204,0.020690918,0.022506714,-0.00021314621,-0.029220581,-0.030288696,-0.0151901245,0.0044670105,0.008476257,-0.045928955,-0.0011463165,0.026443481,-0.003156662,0.014633179,0.022155762,0.012275696,-0.048217773,-0.023788452,-0.010314941,-0.045074463,0.037841797,0.010917664,0.005176544,-0.025039673,-0.039794922,-0.008834839,0.0049858093,0.022781372,0.03878784,0.056396484,0.02027893,0.0060691833,-0.034057617,0.0076522827,-0.017181396,-0.025253296,-0.00054883957,-0.07019043,0.022994995,-0.015304565,0.031463623,-0.026229858,-0.020477295,-0.04321289,0.016174316,0.0056419373,-0.034362793,-0.02558899,0.0209198,-0.026000977,-0.01890564,-0.033447266,0.050231934,0.06341553,-0.0049057007,-0.0036373138,0.014129639,-0.08508301,-0.004432678,0.015731812,0.02508545,-0.033813477,-0.055847168,0.020980835,-0.040527344,-0.0051498413,0.0034275055,-0.008239746,0.015296936,-0.026550293,-0.03741455,-0.016448975,0.030456543,-0.021331787,-0.032104492,0.020477295,0.071899414,0.0041275024,0.032928467,0.0012521744,-0.0044174194,-0.029281616,0.030548096,0.057159424,0.0345459,-0.0011825562,-0.056610107,-0.031066895,0.033203125,0.02168274,-0.053649902,-0.015777588,0.02935791,-0.02861023,0.025405884,-0.0021896362,0.028839111,0.00315094,-0.004524231,-0.02418518,-0.015235901,0.12298584,-0.0039520264,-0.009506226,-0.0059776306,0.007843018,0.1776123,0.00004696846,-0.05154419,-0.014701843,0.011108398,0.022201538,-0.052734375,-0.020019531,0.04031372,-0.041137695,0.016830444,-0.04144287,0.03427124,0.013557434,-0.01322937,-0.043670654,0.013343811,0.009925842,0.019821167,-0.01676941,0.013801575,0.025756836,-0.009613037,-0.018951416,-0.010345459,-0.006591797,0.0053367615,-0.032470703,0.022445679,0.005458832,0.015525818,-0.045654297,0.029724121,-0.037353516,-0.026321411,0.059570312,0.035980225,0.0014238358,-0.0028934479,-0.007297516,-0.03427124,0.028793335,-0.00023400784,-0.030426025,0.009048462,0.037994385,0.022766113,0.044891357,-0.000065505505,0.07495117,-0.016021729,0.014892578,0.034362793,-0.022842407,0.043914795,0.010826111,0.008346558,-0.0031051636,-0.06210327,-0.06378174,-0.0041923523,0.010276794,0.027297974,-0.016708374,-0.0040130615,-0.02696228,-0.015556335,0.0031757355,0.022598267,0.05810547,0.07171631,-0.026046753,-0.004070282,0.007835388,0.02406311,-0.0074691772,-0.025848389,-0.0007019043,-0.0070648193,-0.007980347,0.0060920715,0.011207581,-0.011268616,0.068115234,0.017654419,-0.012748718,0.040618896,-0.048187256,0.01927185,0.030090332,-0.012557983,-0.02255249,-0.018753052,-0.053649902,0.043273926,0.02659607,0.02684021,-0.021133423,-0.033477783,-0.030410767,-0.0046043396,0.0008454323,-0.029327393,-0.005519867,-0.070373535,0.0748291,-0.012863159,0.0013380051,0.0001912117,-0.010574341,-0.009742737,-0.018859863,-0.010894775,0.08886719,-0.02558899,0.05569458,0.019485474,-0.015571594,0.054595947,-0.032714844,-0.028701782,0.011077881,0.03164673,0.007888794,-0.028839111,-0.042816162,-0.028656006,0.009681702,-0.00017094612,-0.017120361,0.04916382,0.022918701,-0.012046814,0.025314331,-0.019256592,-0.008522034,0.025024414,-0.005268097,0.024612427,0.04598999,-0.0014982224,-0.0034179688,-0.020263672,-0.052642822,-0.016967773,0.0005283356,-0.043182373,-0.09301758,-0.022781372,0.02456665,-0.037719727,0.007095337,0.0143966675,-0.039794922,-0.043670654,-0.013023376,0.009155273,-0.033691406,-0.012832642,0.02507019,0.058288574,-0.025344849,0.025390625,0.011772156,-0.004760742,-0.28173828,-0.015571594,-0.005142212,0.053955078,-0.0013303757,0.009513855,-0.017745972,-0.0023097992,-0.013137817,0.0006284714,0.026046753,0.0034732819,0.01210022,0.037017822,0.009895325,-0.043304443,0.063964844,0.0063972473,0.020584106,-0.042541504,-0.009857178,-0.04458618,0.012908936,-0.056030273,0.000034809113,-0.039886475,-0.022109985,-0.014190674,0.050445557,0.03149414,-0.052001953,0.015838623,0.0013751984,0.0075912476,0.014930725,-0.027374268,0.021697998,0.061035156,0.008033752,-0.0026950836,-0.0011863708,0.011642456,0.015052795,-0.010292053,-0.013038635,0.017028809,0.038330078,-0.012123108,-0.047302246,-0.022903442,-0.029220581,-0.03201294,-0.010749817,-0.011207581,-0.04269409,0.02192688,-0.01914978,-0.020462036,0.011703491,0.0030517578,0.030319214,-0.029083252,0.010475159,-0.010643005,0.022369385,-0.03933716,0.0053482056,-0.0390625,-0.030975342,-0.0033397675,0.04446411,-0.009559631,0.073913574,0.029083252,-0.024139404,0.023468018,-0.007881165,-0.0071640015,0.019134521,-0.012512207,-0.0012197495,0.054779053,0.0035648346,-0.01676941]

@xiaofan-luan
Copy link
Collaborator

/assign @cydrain

@yanliang567 yanliang567 added this to the 2.2.7 milestone Apr 20, 2023
@yanliang567 yanliang567 removed their assignment Apr 20, 2023
@cydrain
Copy link
Contributor

cydrain commented Apr 20, 2023

check with knowhere, the result is correct

/assign @congqixia

@xiaofan-luan
Copy link
Collaborator

/assign @bigsheeper

@xiaofan-luan
Copy link
Collaborator

is there a way we can reproduce the issue?

@cydrain cydrain removed their assignment Apr 21, 2023
@bigsheeper
Copy link
Contributor

bigsheeper commented Apr 21, 2023

is there a way we can reproduce the issue?

@xiaofan-luan, @wg1026688210 from Autohome is attempting to verify if there are any duplicated primary keys in the collection. He's trying to remove the primary key deduplication logic in reduce and then query the issues primary key to see if there are multiple query results for the same primary key.

@wg1026688210 Please let me know if you encounter any problems in this process. :)

@congqixia
Copy link
Contributor

@wg1026688210 just add one command to probe primary key location
if duplicated pks allocate in different segment, this command can detect this behavior
milvus-io/birdwatcher#140

@congqixia
Copy link
Contributor

After after confirmation that this problem is caused by duplicated pk in different segments. We can close this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

6 participants