1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[29101],{62735:(s,e,a)=>{a.r(e),a.d(e,{assets:()=>c,contentTitle:()=>m,default:()=>d,frontMatter:()=>t,metadata:()=>n,toc:()=>r});const n=JSON.parse('{"id":"database/Milvus/\u57fa\u7840/\u5411\u91cf\u6570\u636e\u5e93","title":"\u5411\u91cf\u6570\u636e\u5e93","description":"\u4ec0\u4e48\u662f\u5411\u91cf\u6570\u636e\u5e93","source":"@site/docs/database/Milvus/\u57fa\u7840/\u5411\u91cf\u6570\u636e\u5e93.md","sourceDirName":"database/Milvus/\u57fa\u7840","slug":"/database/Milvus/\u57fa\u7840/\u5411\u91cf\u6570\u636e\u5e93","permalink":"/docs/database/Milvus/\u57fa\u7840/\u5411\u91cf\u6570\u636e\u5e93","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"dbSidebar","previous":{"title":"milvus\u672f\u8bed","permalink":"/docs/database/Milvus/\u57fa\u7840/milvus\u672f\u8bed"},"next":{"title":"\u67b6\u6784","permalink":"/docs/database/Milvus/\u57fa\u7840/\u67b6\u6784"}}');var l=a(74848),i=a(28453);const t={},m=void 0,c={},r=[{value:"\u4ec0\u4e48\u662f\u5411\u91cf\u6570\u636e\u5e93",id:"\u4ec0\u4e48\u662f\u5411\u91cf\u6570\u636e\u5e93",level:2},{value:"\u76f8\u4f3c\u5ea6",id:"\u76f8\u4f3c\u5ea6",level:2}];function h(s){const e={annotation:"annotation",code:"code",h2:"h2",math:"math",mi:"mi",mn:"mn",mo:"mo",mrow:"mrow",msqrt:"msqrt",msub:"msub",msup:"msup",munderover:"munderover",p:"p",path:"path",semantics:"semantics",span:"span",svg:"svg",...(0,i.R)(),...s.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(e.h2,{id:"\u4ec0\u4e48\u662f\u5411\u91cf\u6570\u636e\u5e93",children:"\u4ec0\u4e48\u662f\u5411\u91cf\u6570\u636e\u5e93"}),"\n",(0,l.jsx)(e.p,{children:"\u5047\u8bbe\u73b0\u5728\u9700\u8981\u5b58\u50a8\u548c\u63cf\u8ff0\u4e00\u4e2a\u4eba\u7684\u5bf9\u8c61\u5b9e\u4f53\uff0c\u5728\u4f20\u7edf\u5173\u7cfb\u578b\u6570\u636e\u5e93\u4e2d\u8be5\u600e\u4e48\u8bbe\u8ba1\uff1f\u4e00\u822c\u6765\u8bf4\uff0c\u4f1a\u8bbe\u7f6e\u5982\u4e0b\u5b57\u6bb5\uff1a\u59d3\u540d\uff08\u6709\u7684\u8fd8\u4f1a\u62c6\u5206\u4e3alast name\u548cfirst name\uff09\u3001\u5e74\u9f84\u3001\u6027\u522b\u3001\u8eab\u9ad8\u3001\u4f53\u91cd\u3001 \u51fa\u751f\u5730\u70b9\u3001\u51fa\u751f\u5e74\u6708\u3001\u8054\u7cfb\u7535\u8bdd\u3001\u90ae\u7bb1\u3001\u7231\u597d ...... \u5982\u679c\u9700\u8981\u5c3d\u91cf\u7cbe\u786e\u63cf\u8ff0\u4e00\u4e2a\u4eba\uff0c\u5b57\u6bb5\u53ef\u80fd\u4f1a\u975e\u5e38\u591a\uff0c\u63cf\u8ff0\u4eba\u4e0e\u4eba\u4e4b\u95f4\u7684\u5173\u8054\u4e5f\u4f1a\u6781\u5176\u590d\u6742\u3002\u5728\u673a\u5668\u5b66\u4e60\u9886\u57df\uff0c\u8fd9\u79cd\u6784\u5efa\u5bf9\u8c61property\u7684\u8fc7\u7a0b\u53eb\u505a\u7279\u5f81\u5de5\u7a0b(\u5c31\u662f\u7ebf\u6027\u4ee3\u6570\u91cc\u9762\u7684\u6982\u5ff5)\u3002\u4e4d\u4e00\u542c\u4f3c\u4e4e\u4e5f\u6ca1\u4ec0\u4e48\u95ee\u9898\uff0c\u4f46\u5728\u6d77\u91cf\u6570\u636e\u7684\u60c5\u51b5\u4e0b\uff0c\u8d85\u7ea7\u5bbd\u8868\u5bf9\u4f20\u7edf\u884c\u5f0f\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7684\u6027\u80fd\u8981\u6c42\u4f1a\u7279\u522b\u9ad8\uff0c\u800c\u4e14\u5b9e\u9645\u751f\u6d3b\u4e2d\u5f88\u591a\u4e8b\u7269\u96be\u4ee5\u7ed3\u6784\u5316\u63cf\u8ff0\uff0c\u6bd4\u5982\u81ea\u7136\u8bed\u8a00\u3001\u56fe\u7247\u3001\u89c6\u9891\u3002"}),"\n",(0,l.jsxs)(e.p,{children:["\u4e3a\u6b64\u79d1\u5b66\u5bb6\u4eec\u63d0\u51fa\u4e86Embedding\uff0c\u5c06\u4e00\u4e2a\u5bf9\u8c61\u8868\u8fbe\u6210N\u7ef4\u7684\u5411\u91cf ",(0,l.jsx)(e.code,{children:"[0.1, 0.2, 0.3, ...]"}),"\u3002\u8fd9\u4e2aN\u7ef4\u5411\u91cf\u662f\u7ecf\u8fc7\u795e\u7ecf\u7f51\u7edc\u591a\u4e2alayer\u7ec4\u5408\u540e\u8ba1\u7b97\u51fa\u6765\u7684\uff0c\u800c\u8fd9\u4e2a\u8ba1\u7b97\u51fa\u6765\u7684\u5411\u91cf\u7ed3\u679c\u5bf9\u5e38\u4eba\u662f\u4e0d\u5177\u5907\u53ef\u89e3\u91ca\u6027\u7684\uff0c\u4f46\u5bf9\u673a\u5668\u6765\u8bf4\u662f\u6709\u610f\u4e49\u7684\u3002\u4e00\u4e2a\u5411\u91cf\u4ee3\u8868\u4e00\u4e2a\u5bf9\u8c61\u7684\u9ad8\u7ef4\u8bed\u4e49\u4fe1\u606f\uff0c\u6bcf\u4e2a\u5bf9\u8c61\u4e4b\u95f4\u7684\u76f8\u4f3c\u6027\u5c31\u662f\u5bf9\u5e94\u5411\u91cf\u5728\u5411\u91cf\u7a7a\u95f4\u7684\u8fd1\u4f3c\u5ea6\uff0c\u4e5f\u5c31\u662f\u5411\u91cf\u4e4b\u95f4\u7684\u8ddd\u79bb\u3002"]}),"\n",(0,l.jsx)(e.p,{children:"\u800c\u5411\u91cf\u6570\u636e\u5e93(Vector Database)\u5c31\u662f\u4e13\u95e8\u7528\u6765\u5b58\u50a8\u8fd9\u4e9bvector embedding\u7684\u4e00\u79cd\u6570\u636e\u5e93\uff0c\u65e8\u5
1728\u63d0\u9ad8\u5bf9vector embedding\u7684\u5229\u7528\u6548\u7387\u3002"}),"\n",(0,l.jsx)(e.h2,{id:"\u76f8\u4f3c\u5ea6",children:"\u76f8\u4f3c\u5ea6"}),"\n",(0,l.jsx)(e.p,{children:"\u6b27\u6c0f\u8ddd\u79bb\u516c\u5f0f"}),"\n",(0,l.jsx)(e.span,{className:"katex-display",children:(0,l.jsxs)(e.span,{className:"katex",children:[(0,l.jsx)(e.span,{className:"katex-mathml",children:(0,l.jsx)(e.math,{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block",children:(0,l.jsxs)(e.semantics,{children:[(0,l.jsxs)(e.mrow,{children:[(0,l.jsx)(e.mi,{children:"d"}),(0,l.jsx)(e.mo,{stretchy:"false",children:"("}),(0,l.jsx)(e.mi,{children:"x"}),(0,l.jsx)(e.mo,{separator:"true",children:","}),(0,l.jsx)(e.mi,{children:"y"}),(0,l.jsx)(e.mo,{stretchy:"false",children:")"}),(0,l.jsx)(e.mo,{children:"="}),(0,l.jsx)(e.msqrt,{children:(0,l.jsxs)(e.mrow,{children:[(0,l.jsxs)(e.munderover,{children:[(0,l.jsx)(e.mo,{children:"\u2211"}),(0,l.jsxs)(e.mrow,{children:[(0,l.jsx)(e.mi,{children:"i"}),(0,l.jsx)(e.mo,{children:"="}),(0,l.jsx)(e.mn,{children:"1"})]}),(0,l.jsx)(e.mi,{children:"n"})]}),(0,l.jsx)(e.mo,{stretchy:"false",children:"("}),(0,l.jsxs)(e.msub,{children:[(0,l.jsx)(e.mi,{children:"x"}),(0,l.jsx)(e.mi,{children:"i"})]}),(0,l.jsx)(e.mo,{children:"\u2212"}),(0,l.jsxs)(e.msub,{children:[(0,l.jsx)(e.mi,{children:"y"}),(0,l.jsx)(e.mi,{children:"i"})]}),(0,l.jsxs)(e.msup,{children:[(0,l.jsx)(e.mo,{stretchy:"false",children:")"}),(0,l.jsx)(e.mn,{children:"2"})]})]})})]}),(0,l.jsx)(e.annotation,{encoding:"application/x-tex",children:"d(x,y)=\\sqrt{\\sum_{i=1}^n(x_i-y_i)^2}"})]})})}),(0,l.jsxs)(e.span,{className:"katex-html","aria-hidden":"true",children:[(0,l.jsxs)(e.span,{className:"base",children:[(0,l.jsx)(e.span,{className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}}),(0,l.jsx)(e.span,{className:"mord mathnormal",children:"d"}),(0,l.jsx)(e.span,{className:"mopen",children:"("}),(0,l.jsx)(e.span,{className:"mord mathnormal",children:"x"}),(0,l.jsx)(e.span,{className:"mpunct",children:","}),(0,l.jsx)(e.span,{className:"mspace",style:{marginRight:"0.1667em"}}),(0,l.jsx)(e.span,{className:"mord mathnormal",style:{marginRight:"0.03588em"},children:"y"}),(0,l.jsx)(e.span,{className:"mclose",children:")"}),(0,l.jsx)(e.span,{className:"mspace",style:{marginRight:"0.2778em"}}),(0,l.jsx)(e.span,{className:"mrel",children:"="}),(0,l.jsx)(e.span,{className:"mspace",style:{marginRight:"0.2778em"}})]}),(0,l.jsxs)(e.span,{className:"base",children:[(0,l.jsx)(e.span,{className:"strut",style:{height:"3.1568em",verticalAlign:"-1.2777em"}}),(0,l.jsx)(e.span,{className:"mord sqrt",children:(0,l.jsxs)(e.span,{className:"vlist-t vlist-t2",children:[(0,l.jsxs)(e.span,{className:"vlist-r",children:[(0,l.jsxs)(e.span,{className:"vlist",style:{height:"1.8791em"},children:[(0,l.jsxs)(e.span,{className:"svg-align",style:{top:"-5.1168em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"5.1168em"}}),(0,l.jsxs)(e.span,{className:"mord",style:{paddingLeft:"1.056em"},children:[(0,l.jsx)(e.span,{className:"mop op-limits",children:(0,l.jsxs)(e.span,{className:"vlist-t vlist-t2",children:[(0,l.jsxs)(e.span,{className:"vlist-r",children:[(0,l.jsxs)(e.span,{className:"vlist",style:{height:"1.6514em"},children:[(0,l.jsxs)(e.span,{style:{top:"-1.8723em",marginLeft:"0em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"3.05em"}}),(0,l.jsx)(e.span,{className:"sizing reset-size6 size3 mtight",children:(0,l.jsxs)(e.span,{className:"mord mtight",children:[(0,l.jsx)(e.span,{className:"mord mathnormal mtight",children:"i"}),(0,l.jsx)(e.span,{className:"mrel mtight",children:"="}),(0,l.jsx)(e.span,{className:"mord mtight",children:"1"})]})})]}),(0,l.jsxs)(e.span,{style:{top:"-3.05em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"3.05em"}}),(0,l.jsx)(e.span,{children:(0,l.jsx)(e.span,{className:"mop op-symbol large-op",children:"\u2211"})})]}),(0,l.jsxs)(e.span,{style:{top:"-4.3em",marginLeft:"0em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"3.05em"}}),(0,l.jsx)(e.span,{className:"sizing reset-size6 size3 mtight",children:(0,l.jsx)(e.span,{className:"mord mathnormal mtight",children:"n"})})]})]}),(0,l.jsx)(e.span,{className:"vlist-s",children:"\u200b"})]}),(0,l.jsx)(e.span,{className:"vlist-r",children:(0,l.jsx)(e.span,{className:"vlist",style:{height:"1.2777em"},children:(0,l.jsx)(e.span,{})})})]})}),(0,l.jsx)(e.span,{className:"mopen",children:"("}),(0,l.jsxs)(e.span,{className:"mord",children:[(0,l.jsx)(e.span,{className:"mord mathnormal",children:"x"}),(0,l.jsx)(e.span,{className:"msupsub",children:(0,l.jsxs)(e.span,{className:"vlist-t vlist-t2",children:[(0,l.jsxs)(e.span,{className:"vlist-r",children:[(0,l.jsx)(e.span,{className:"vlist",style:{height:"0.311
17em"},children:(0,l.jsxs)(e.span,{style:{top:"-2.55em",marginLeft:"0em",marginRight:"0.05em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"2.7em"}}),(0,l.jsx)(e.span,{className:"sizing reset-size6 size3 mtight",children:(0,l.jsx)(e.span,{className:"mord mathnormal mtight",children:"i"})})]})}),(0,l.jsx)(e.span,{className:"vlist-s",children:"\u200b"})]}),(0,l.jsx)(e.span,{className:"vlist-r",children:(0,l.jsx)(e.span,{className:"vlist",style:{height:"0.15em"},children:(0,l.jsx)(e.span,{})})})]})})]}),(0,l.jsx)(e.span,{className:"mspace",style:{marginRight:"0.2222em"}}),(0,l.jsx)(e.span,{className:"mbin",children:"\u2212"}),(0,l.jsx)(e.span,{className:"mspace",style:{marginRight:"0.2222em"}}),(0,l.jsxs)(e.span,{className:"mord",children:[(0,l.jsx)(e.span,{className:"mord mathnormal",style:{marginRight:"0.03588em"},children:"y"}),(0,l.jsx)(e.span,{className:"msupsub",children:(0,l.jsxs)(e.span,{className:"vlist-t vlist-t2",children:[(0,l.jsxs)(e.span,{className:"vlist-r",children:[(0,l.jsx)(e.span,{className:"vlist",style:{height:"0.3117em"},children:(0,l.jsxs)(e.span,{style:{top:"-2.55em",marginLeft:"-0.0359em",marginRight:"0.05em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"2.7em"}}),(0,l.jsx)(e.span,{className:"sizing reset-size6 size3 mtight",children:(0,l.jsx)(e.span,{className:"mord mathnormal mtight",children:"i"})})]})}),(0,l.jsx)(e.span,{className:"vlist-s",children:"\u200b"})]}),(0,l.jsx)(e.span,{className:"vlist-r",children:(0,l.jsx)(e.span,{className:"vlist",style:{height:"0.15em"},children:(0,l.jsx)(e.span,{})})})]})})]}),(0,l.jsxs)(e.span,{className:"mclose",children:[(0,l.jsx)(e.span,{className:"mclose",children:")"}),(0,l.jsx)(e.span,{className:"msupsub",children:(0,l.jsx)(e.span,{className:"vlist-t",children:(0,l.jsx)(e.span,{className:"vlist-r",children:(0,l.jsx)(e.span,{className:"vlist",style:{height:"0.7401em"},children:(0,l.jsxs)(e.span,{style:{top:"-2.989em",marginRight:"0.05em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"2.7em"}}),(0,l.jsx)(e.span,{className:"sizing reset-size6 size3 mtight",children:(0,l.jsx)(e.span,{className:"mord mtight",children:"2"})})]})})})})})]})]})]}),(0,l.jsxs)(e.span,{style:{top:"-3.8391em"},children:[(0,l.jsx)(e.span,{className:"pstrut",style:{height:"5.1168em"}}),(0,l.jsx)(e.span,{className:"hide-tail",style:{minWidth:"0.742em",height:"3.1968em"},children:(0,l.jsx)(e.svg,{xmlns:"http://www.w3.org/2000/svg",width:"400em",height:"3.1968em",viewBox:"0 0 400000 3196",preserveAspectRatio:"xMinYMin slice",children:(0,l.jsx)(e.path,{d:"M702 80H40000040\nH742v3062l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v40H742z"})})})]})]}),(0,l.jsx)(e.span,{className:"vlist-s",children:"\u200b"})]}),(0,l.jsx)(e.span,{className:"vlist-r",children:(0,l.jsx)(e.span,{className:"vlist",style:{height:"1.2777em"},children:(0,l.jsx)(e.span,{})})})]})})]})]})]})})]})}function d(s={}){const{wrapper:e}={...(0,i.R)(),...s.components};return e?(0,l.jsx)(e,{...s,children:(0,l.jsx)(h,{...s})}):h(s)}},28453:(s,e,a)=>{a.d(e,{R:()=>t,x:()=>m});var n=a(96540);const l={},i=n.createContext(l);function t(s){const e=n.useContext(i);return n.useMemo((function(){return"function"==typeof s?s(e):{...e,...s}}),[e,s])}function m(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(l):s.components||l:t(s.components),n.createElement(i.Provider,{value:e},s.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.