vearch
vearch copied to clipboard
表中插入数据后,返回成功但库中无向量信息
- 版本:3.2.7
- 建表语句:
{
"name": "image_audit",
"partition_num": 50,
"replica_num": 3,
"engine": {
"name": "gamma",
"index_size": 500000,
"id_type": "long",
"retrieval_type": "IVFPQ",
"retrieval_param": {
"metric_type": "InnerProduct",
"ncentroids": 2048,
"nsubvector": 64
}
},
"properties": {
"vec": {
"type": "vector",
"dimension": 384,
"format": "normalization",
"store_type": "RocksDB",
"store_param": {
"cache_size": 6144
}
},
"img_id": {
"type": "string",
"index": true
}
}
}
插入数据后,返回200,但向量数据为空,标量正常
//插入的向量(但返回结构中没有)
[0.0660228505730629, 0.022292669862508774, 0.008199372328817844, 0.017257651314139366, 0.05071481689810753, 0.03545428812503815, 0.04663693532347679, 0.027400709688663483, 0.025242876261472702, 0.11191194504499435, 0.07399597018957138, 0.0986403226852417, 0.029955578967928886, 0.03201074153184891, 0.008042184635996819, 0.04948444291949272, 0.003907174337655306, 0.08602644503116608, 0.040692251175642014, 0.06224803254008293, 0.01691063493490219, 0.035362426191568375, 0.003325485857203603, 0.021537134423851967, 0.033537786453962326, 0.06332870572805405, 0.012632818892598152, 0.06620506942272186, 0.06101427599787712, 0.016197150573134422, 0.013815024867653847, 0.029683485627174377, 0.004364968277513981, 0.06863585114479065, 0.030481131747364998, 0.057128068059682846, 0.05611889809370041, 0.05225338786840439, 0.012662115506827831, 0.02491086535155773, 0.02004009485244751, 0.06009072810411453, 0.04912637174129486, 0.11513141542673111, 0.03700732812285423, 0.06395325809717178, 0.07506506890058517, 0.017130350694060326, 0.031032007187604904, 0.032050780951976776, 0.032052695751190186, 0.016230326145887375, 0.037417858839035034, 0.036872684955596924, 0.032842982560396194, 0.06100162863731384, 0.03139014169573784, 0.16548432409763336, 0.038171738386154175, 0.038779981434345245, 0.01847037672996521, 0.018336109817028046, 0.04735024645924568, 0.018969878554344177, 0.03350874036550522, 0.02879701368510723, 0.028564972802996635, 0.007594719063490629, 9.811098425416276e-05, 0.008180924691259861, 0.06547270715236664, 0.027406595647335052, 0.08471208810806274, 0.023246215656399727, 0.06227048113942146, 0.006214124616235495, 0.03326082602143288, 0.039334654808044434, 0.034253496676683426, 0.05157524347305298, 0.024214481934905052, 0.03547538444399834, 0.015892354771494865, 0.010920410044491291, 0.0751587450504303, 0.08917340636253357, 0.062023911625146866, 0.022647861391305923, 0.04575277492403984, 0.03543825447559357, 0.056930508464574814, 0.0027244167868047953, 0.03827689588069916, 0.07090664654970169, 0.048301100730895996, 0.02839607186615467, 0.03298359736800194, 0.008360604755580425, 0.02983309142291546, 0.0252334363758564, 0.0338657982647419, 0.007481047417968512, 0.061190344393253326, 0.03324339911341667, 0.06252025067806244, 0.032907884567976, 0.09516683220863342, 0.03601330146193504, 0.046978261321783066, 0.0076131983660161495, 0.004995155613869429, 0.06979643553495407, 0.035444825887680054, 0.04261379316449165, 0.029799193143844604, 0.036467742174863815, 0.03437279909849167, 0.0810888260602951, 0.00391793018206954, 0.02479441650211811, 0.017134683206677437, 0.03462257981300354, 0.03758900985121727, 0.022679639980196953, 0.021743644028902054, 0.0031431447714567184, 0.018940722569823265, 0.044088251888751984, 0.001258454518392682, 0.017578111961483955, 0.04931286722421646, 0.0031122416257858276, 0.057479128241539, 0.05349159240722656, 0.05485936254262924, 0.03319999575614929, 0.07375290244817734, 0.034291572868824005, 0.024073000997304916, 0.03659908100962639, 0.07421458512544632, 0.028732724487781525, 0.014604711905121803, 0.01057472638785839, 0.1251051425933838, 0.04976201802492142, 0.0577334500849247, 0.047447334975004196, 0.036153394728899, 0.0037652207538485527, 0.0546119250357151, 0.1207343265414238, 0.07154402136802673, 0.014644263312220573, 0.07226096838712692, 0.002211544197052717, 0.01566905528306961, 0.0150840412825346, 0.0020143056754022837, 0.02992473728954792, 0.0240786150097847, 0.06345421820878983, 0.02300383150577545, 0.06618738174438477, 0.09627752006053925, 0.05635995417833328, 0.07396192848682404, 0.019492896273732185, 0.056728437542915344, 0.07115857303142548, 0.014028284698724747, 0.04641061648726463, 0.007172956597059965, 0.0042142984457314014, 0.02305140346288681, 0.034528788179159164, 0.052857205271720886, 0.05008139833807945, 0.09003178775310516, 0.036206986755132675, 0.09528925269842148, 0.07532976567745209, 0.11625458300113678, 0.028620880097150803, 0.020785555243492126, 0.005046235863119364, 0.023848768323659897, 0.08195147663354874, 0.007345124613493681, 0.024969369173049927, 0.09974439442157745, 0.015536703169345856, 0.06017563119530678, 0.06350680440664291, 0.06672582775354385, 0.05442250519990921, 0.06764959543943405, 0.028149856254458427, 0.04919375851750374, 0.02609390579164028, 0.039852969348430634, 0.00032247533090412617, 0.05225800722837448, 0.038400761783123016, 0.079613596200943, 0.010096700862050056, 0.035613205283880234, 0.03230556845664978, 0.017268605530261993, 0.03363120183348656, 0.12062382698059082, 0.07104964554309845, 0.10304678231477737, 0.042335499078035355, 0.0736127570271492, 0.030720500275492668, 0.021265720948576927, 0.030616292729973793, 0.011792181991040707, 0.06054423004388809, 0.02297188714146614, 0.0585227832198143, 0.09632492810487747, 0.02010362781584263, 0.0544881671667099, 0.027992546558380127, 0.00019552736193872988, 0.005733853206038475, 0.05336584150791168, 0.026066482067108154, 0.028339723125100136, 0.09435001760721207, 0.008247301913797855, 0.001578952302224934, 0.009507560171186924, 0.019489379599690437, 0.04440758004784584, 0.030136585235595703, 0.011175883933901787, 0.07293550670146942, 0.03353465348482132, 0.10077463090419769, 0.024636609479784966, 0.05575184151530266, 0.10437105596065521, 0.01313148345798254, 0.00801951065659523, 0.019939368590712547, 0.01176601555198431, 0.04903567209839821, 0.15722346305847168, 0.03552394360303879, 0.05789465829730034, 0.06314516067504883, 0.023577047511935234, 0.020058879628777504, 0.051910385489463806, 0.030300386250019073, 0.018219182267785072, 0.011748000048100948, 0.007328529376536608, 0.06535091251134872, 0.17880719900131226, 0.01981564797461033, 0.21788795292377472, 0.01346791721880436, 0.03469975292682648, 0.028584938496351242, 0.02251560427248478, 0.008575079031288624, 0.04150839149951935, 0.012510508298873901, 0.03202107176184654, 0.047408610582351685, 0.009490150958299637, 0.02860168367624283, 0.0693342387676239, 0.043283265084028244, 0.03009290248155594, 0.046519406139850616, 0.00791916437447071, 0.04968127980828285, 0.012044047936797142, 0.003790950868278742, 0.022102952003479004, 0.0675525963306427, 0.0056847380474209785, 0.029623210430145264, 0.02565944939851761, 0.054564930498600006, 0.05925089493393898, 0.04672937095165253, 0.028823794797062874, 0.08140300214290619, 0.0436590239405632, 0.010784261859953403, 0.1546819508075714, 0.03226719796657562, 0.029928602278232574, 0.03362039104104042, 0.061996035277843475, 0.043125927448272705, 0.02872932329773903, 0.048268113285303116, 0.011399976909160614, 0.06417917460203171, 0.026317426934838295, 0.0073837777599692345, 0.011395354755222797, 0.0004885689122602344, 0.000553448568098247, 0.02684292010962963, 0.07995209842920303, 0.012326314114034176, 0.031013688072562218, 0.020918751135468483, 0.04732416942715645, 0.03370138630270958, 0.06507470458745956, 0.010572579689323902, 0.01867843233048916, 0.0151043850928545, 0.05973951518535614, 0.0338321216404438, 0.042476337403059006, 0.0014028435107320547, 0.060987941920757294, 0.014594090171158314, 0.02871295064687729, 0.009506167843937874, 0.0041937753558158875, 0.0018699816428124905, 0.07073981314897537, 0.008424581028521061, 0.0, 0.054602257907390594, 0.0460938885807991, 0.033221688121557236, 0.008095339871942997, 0.01715877652168274, 0.07372517883777618, 0.036473941057920456, 0.006705022417008877, 0.0588662326335907, 0.17506669461727142, 0.0063102771528065205, 0.04444587230682373, 0.06555939465761185, 0.058956462889909744, 0.015932628884911537, 0.005630332510918379, 0.003563452046364546, 0.029928745701909065, 0.05798088386654854, 0.021290412172675133, 0.029717465862631798, 0.023045215755701065, 0.11408387869596481, 0.03439689800143242, 0.002826366340741515, 0.032106056809425354, 0.05069287493824959, 0.0554766021668911, 0.019877202808856964, 0.03938533738255501, 0.1265014111995697, 0.10491009056568146, 0.011487043462693691, 0.0022536376491189003, 0.015290451236069202, 0.028870748355984688, 0.022977445274591446, 0.057696275413036346, 0.015930213034152985, 0.03216614946722984, 0.03634370118379593, 0.04292941838502884, 0.01352614350616932, 0.01713380217552185, 0.08955109864473343, 0.03301304206252098, 0.024716148152947426, 0.06028902158141136, 0.053853463381528854]
//get接口返回的数据
{
"_index": "image_audit",
"_type": "image_audit",
"_id": 479554761,
"found": true,
"_source": {
"img_id": "8139099941_1"
}
}
上周和你们进行了沟通,请问使用新发布的版本测试还存在该现象吗?
上周和你们进行了沟通,请问使用新发布的版本测试还存在该现象吗?
目前已将新改动更新到了线上,还在导存量数据。后续有问题会及时反馈
我也遇到了相似的问题,请问最后解决了吗?我看到英文文档中返回应该是201,我返回的是200